44 points · by based2 · 6y ago · 31 comments
1. "Oracle OpenJDK": free, open source builds of the current version of OpenJDK, at https://jdk.java.net/
2. "Oracle JDK": expensive, licensed builds of several versions of OpenJDK (plus their special patches?), at https://www.oracle.com/java/technologies/javase-downloads.ht...
See:
https://developer.okta.com/blog/2019/01/16/which-java-sdk
You can't get a maintained build of 11, the current LTS, from Oracle for free. Hence, AdoptOpenJDK and some other players provide that.
I keep meaning to look into Corretto, Amazon's patched build of JDK 8 and 11:
https://aws.amazon.com/corretto/
Amazon use it internally, so it is battle tested, and their 8 version has loads of good patches:
https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/pa...
11 is pretty vanilla right now, but could get better with age.
I imagine there could be some risk-averse Java-powered companies out there willing to pay good money to keep their old JVMs patched, to avoid the risks of upgrading.
There millions of them. But if anything I would expect that risk aversion to translate into not back porting discretionary performance fixes. For example, the fix I linked to improves BufferedReader performance by swapping a thread-safe underlying class for a non-thread-safe version. That could introduce race conditions and other synchronization issues into its behavior. Thread safety was never specified in the API so that's fine for prospective versions, but having this land unexpectedly in a minor version update bundled with security patches .... is almost the opposite of what I would want.
https://developers.redhat.com/blog/2018/09/24/the-future-of-...
But that particular bug was backported by someone at Oracle.
> A new system property named jdk.security.allowNonCaAnchor has been introduced to restore the previous behavior, if necessary.
Here the previous greatly detailled one: https://adoptopenjdk.net/release_notes.html
8u265b10 and brew now provides 8u265b01?
[1] https://twitter.com/volker_simonis/status/105261065466907443...