Issue
OpenJDK is released under the GNU General Public License v2.0 with a classpath exception. If you modify software under such license, you are obliged to release it under the GPL as well. So how come e.g. IBM can charge you for their modified version of the OpenJDK, which mostly includes bugfixes and minor optimizations by changing the existing OpenJDK (which means this doesn't fall under the classpath exception)? Don't they have to release it under the GPL as well which would make it free to use?
The only way I could explain this is, that they release the bug fixes and optimizations to OpenJDK delayed to their payed version, but I didn't find any reference stating this to be allowed.
Solution
There is nothing in the GNU GPL v2 (or v3) license that prohibits you from charging money for the code or the binary files.
Read here for clarification.
The only thing the license does not permit you to do, is limit those you sold the code to from giving it away to others.
Answered By - Lev M.
Answer Checked By - Terry (JavaFixing Volunteer)