by Alupis · 5y ago · 0 comments
Not quite.
There are many commercial JDK/JVM offerings that are closed source and survive very well with their "secret sauce" (usually GC related), such as Azul's Zing JVM.
Red Hat's customer base that used JavaEE containers (and just Java code in general) was large enough that Red Hat could have easily decided to implement and maintain their own JDK offering - but they didn't.
Probably based on Red Hat's history of being a good open source "netizen", they chose to use the GPL code even though they did not have to.
We're all better off because of Red Hat's contributions to OpenJDK (porting to 64 bit ARM included) - but that's not exactly "Copyleft works!".
Copyleft can't prevent other people from making a clone of your software, but it does redefine the choices to "clone software entirely" or "fork existing software and share changes", it removes the option of "fork existing software and DON'T share changes", i.e. benefiting from the open source nature of the project without giving those same benefits to others.
The person you're replying to already gave you an example of someone who does exactly what you're saying is impossible!
> There are many commercial JDK/JVM offerings that are closed source and survive very well with their "secret sauce" (usually GC related), such as Azul's Zing JVM.
How does that work? Even if code is GPL if you own it you can do what you want with it. That includes licensing it to someone under a _different_ licence. Being available under the GPL does not mean it can't also be available under another licence, such as a proprietary one. Which is what is done in this situation.
> but it does redefine the choices to "clone software entirely" or "fork existing software and share changes" .. it removes the option of "fork existing software and DON'T share changes"
None of this is true.
Oracle could not do that for all of OpenJDK today unless OpenJDL has a super weird CLA that signs away ownership of the code because they do not own all of the code.
They opted-into using it consciously.
Red Hat because they embrace Open Source above all else (or at least did at the time), and Azul as opportunists during the decline of Oracle JDK as a way to get Java users into their ecosystem (and eventually make money).
OpenJDK is wildly popular as the defacto reference implementation of Java, due to moves Oracle made a few years back (on purpose to push Java language development into a more community-driven approach).
OpenJDK is good, but there are reasons people seek out custom implementations (massive heaps, pauseless GC, better tooling and monitoring, re-implemented IO, etc).
All that is to say, contrary to OP's original assertion, it's not that Red Hat "couldn't" release some closed source JDK... they chose to embrace the GPL'ed code.
The notion that "Copyleft Works!" is by compelling companies to open source their GPL'ed code. That's not what happened here.
Because Oracle owns the OpenJDK code, only Oracle and companies that license the OpenJDK source code under a proprietary license from Oracle, like Azul, can release closed-source implementations of the JDK that are based on OpenJDK.
(I work at Oracle on Java, i.e. OpenJDK)
A little over a year ago, Oracle stepped back as the "standard" JDK and became just another JDK vendor.
Anyone is free to take OpenJDK sources, compile and offer prebuilt binaries now.
FOSS and copyleft isn't about requiring anyone to do anything, it's about increasing user freedoms. Users and developers have more choice today in the Java ecosystem thanks to all of JDK distributions. I think it's you who has mistaken OPs comment to mean companies are being required to do something, when in fact everyone is benefiting by playing by the same copyleft rules.