Reputation: 33
What is the difference between Oracle's source code and openJDK's source code?
I have seen this URL, but what are the differences between the source codes.
Upvotes: 3
Views: 299
Reputation: 102872
There aren't any source differences; there's only one source tree.
The difference lies in the support contract (and occasionally, the Oracle JDK packs in a few more external things, generally because they aren't open source, naturally, you can't find the source tree of these addons, though oracle is working on reducing this to zero.
For example, Flight Recorder was part of Oracle JDK and not OpenJDK originally, but has been part of OpenJDK since Java 11.
Upvotes: 5