The java.base module of Oracle JDK 12 contains a few classes which are not part of OpenJDK 12: Listing 6-1: Comparing the modules of OpenJDK 12 and Oracle JDK 12 6.1 Modules with different classes: java.base for i in openjdk-12/jmods/*.jmod do mod=$(basename $i) echo $mod diff -I 'legal.*' <(jar tf openjdk-12/jmods/$mod | sort) <(jar tf oracle-jdk-12/jmods/$mod | sort) echo done The modules themselves are almost identical. OpenJDK 12 and Oracle JDK 12 contain exactly the same list of modules. The header files in OpenJDK are GPL2, the header files in Oracle JDK refer to the proprietary license. The header files differ in the license terms. The technical contents of the header files in the include/ directory are identical. The legal files differ, obviously, because of the different license terms and conditions. That's weird, and this must be a bug in OpenJDK. Listing 2-1: Comparing the release files of OpenJDK 12 and Oracle JDK 12 3 Man Pages This can be seen by looking at the differences between the two implementation's release files: diff openjdk-12/release oracle-jdk-12/release The OpenJDK 12 and Oracle JDK 12 are based on the same commit b67884871b5f in Mercurial. The downloads for OpenJDK 12 and Oracle JDK 12 can be found at and. 6.1 Modules with different classes: java.baseįigure -1: Comparing the file trees of OpenJDK 12 and Oracle JDK 12 1 Downloads.Author: Christian Hujer, Software Crafter and CEO / CTO of Nelkinda Software Craft Private Limited First Published: by Nelkinda Software Craft Private Limited Last Modified: by Christian Hujer Approximate reading time: 3 minutes Table of Contents TL DR: There is no relevant difference other than the license.
0 Comments
Leave a Reply. |