Sun Completes Java Core Tech Open-Sourcing
MsManhattan writes "A year after announcing its plans, Sun Microsystems has made almost all of the core technology in Java available as open-source software under the GNU general public license version 2 (GPLv2). However, some of the code remains 'encumbered'; that is, Sun doesn't have sufficient rights to release it under GPLv2, and the company is requesting the open-source community's help in resolving these issues. Rich Sands, community marketing manager for OpenJDK community at Sun, would not say what percentage of Java's 6.5 million lines of code are encumbered, but explained that it is largely Java 2D graphics technology, such as font and graphics rasterizing."
In case anyone is wondering, this isn't much of a surprise to the Java community. When Sun was creating the latest and greatest Java libraries, they designed the APIs themselves to be generic. However, Sun generally licensed the underlying libraries for their reference implementation rather than developing them in-house. In the case of the Java2D APIs, they used code from Kodak to do all the fancy 2D rasterizations and transformations. This is why many Java coders thought that Sun's reference implementation would never be Open Sourced. (Happy to be wrong, BTW.)
That code by itself could probably be replaced with a modern 2D rasterizer (similar to the types found in SVG and Canvas implementations), but it would need to be heavily overhauled to backport the VolatileImage support added in Java 1.4. (Basically, the JVM is able to manage the video card memory to store images for faster rendering and backbuffering.) I'm thinking that something OpenGL-based would be the best bet.
However, that's not the only major library used. JavaSound also uses Dolby Headspace to render sound. It barely uses a fraction of the library's capabilities, but it would still need to be replaced. I don't know what was used for cryptography, but that would be replacable with a library like Bouncy Castle.
All in all, the final code shouldn't be too hard to replace as long as Open Source equivalents can be found. However, these areas *do* require significant expertise, so don't expect that joe random can jump in the code and make it happen.
Javascript + Nintendo DSi = DSiCade
No, it doesn't. There was quite a deal of work that went into making sure that that was ok.
In addition:
The second part is tenuous given the wording, but could be made to apply given Java's attempt to be the execution platform. However, the former part carries far more weight. Programming to the Java specification does not imply that you are basing it on a GPLed version.
Javascript + Nintendo DSi = DSiCade
GCC is GPL, but my gcc compiled malware program is commercial software.
Sent from my desktop computer
I'm giving up mod points on this article, but given the amount of misinformation you're getting, its better that I post a reply.
s p#g5n
Sun isn't using GPLv2, they are using GPLv2 + the Classpath exception. This is a modification to the GPLv2 pioneered by the GNU Classpath project. It basically makes Java's code GPL, but doesn't require code running on the JVM, or using the J2SE libraries, to be GPLv2 complaint.
Links here:
http://www.sun.com/software/opensource/java/faq.j
http://www.javalobby.org/java/forums/t84256.html
http://en.wikipedia.org/wiki/GPL_linking_exceptio
http://www.mhall119.com
Actually, that's the wrong page. For some crazy reason that's incomprehensible to the average human being, Sun moved the code to a different page. See here:
http://openjdk.java.net/
You'll note that those downloads include all the core libraries that Sun promised to release. Why don't they redirect users looking at http://openjdk.dev.java.net/ to that page? I have no idea, but there you go.
Javascript + Nintendo DSi = DSiCade
*cough* http://openjdk.java.net/ *cough*
The http://openjdk.dev.java.net site is defunct.
The important bits are all there, sans part of the Java2D and JavaSound implementation libs.
Javascript + Nintendo DSi = DSiCade
The term "linking" has actually caused a lot of confusion due to the difference between how Java links to libraries as opposed to C/C++. For C/C++, linking is much closer to a derivative work than in Java since (to my knowledge, I'm not a C programmer) when you "link" to a C/C++ library, you actually need the source code (or at least header files) from that library in order to compile your code, therefore including elements of that library's source in your final binary. In Java, you can "link" your code to a library's binary without including anything from it's source.
http://www.mhall119.com
there's been a rumour for quite a while now that sun will move solaris10 from the CDDL to GPL3 as soon as GPL3 is finished. (one should also mention that duke nukem forever will also be released under the GPL3 according to a similar rumour)
Not to mention JavaFX. It is even to convert Flash files to it.
Spelling/grammar nazis welcome (English is not my first language and I am trying to improve my spelling/grammar)
Speaking as one of the GNU Classpath developers, I agree with that idea. However, there are some issues to be worked out, like the ownership of the code. GNU Classpath's code is copyrighted by the FSF and Sun's code is copyrighted by Sun. Both organizations require that contributors sign a copyright agreement before accepting code. I don't know about details, but I guess Sun and the FSF would have to arrange something before such a thing could happen. Luckily, Dalibor Topic, also a Classpath developer, is in the interim board, and I hope that this would help to arrange for the two projects to merge in some way. OTOH, I and my friends at Classpath will look into the encumbered areas and see how we can help out with the missing pieces.
Roman Kennke
How can you create a derivative work of a piece of GPLed source if you've never seen that source?
The same with the binary.
If I develop a J2SE application now, on Sun's current non GPL Java, and then later run it with a GPLd version, I have no more created a derivative work of the GPLed version than my music collection sitting on the shelf constitutes a derivative work of all the CDs in it.
use is not derivation, and is not copyright infringement, so no license is required, so the GPL does not apply, no matter what the FAQ says.
The GPL is a distribution license, not an EUL.
The OO concept of "derivation" is not the same as the legal concept of a derived work, even though they use the same English word.
Furthermore, the GPL covers distribution, not use.