Why do "Oracle JDK 10 builds" not support AppCDS?

Volker Simonis volker.simonis at gmail.com
Thu Feb 15 15:48:58 UTC 2018


Hi,

I know that this is an OpenJDK mailing list but maybe this is still
interesting for some of us :)

I'm a little surprised to see that the "Oracle JDK 10" early access
builds from http://jdk.java.net/10 do not support AppCDS:

./jre-10-ea+43/bin/java -version
java version "10" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+43)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+43, mixed mode)

./jre-10-ea+43/bin/java -XX:+UseAppCDS -version
Error: Trying to use 'UseAppCDS', but commercial features are not
available in this VM.

while the OpenJDK builds do support it:

./jdk-10/bin/java -XX:+UseAppCDS -version
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment 18.3 (build 10+43)
OpenJDK 64-Bit Server VM 18.3 (build 10+43, mixed mode)

Is this intentional or a mistake? I thought the goal was that Oracle
and OpenJDK builds should be the same apart from the license under
which they are provided. AppCDS is on the list of JEPs included in
OpenJDK 10 and it seems strange if some of them will not be in Oracle
JDK 10 (until now it was usually t he other way round :)

Regards,
Volker


More information about the jdk-dev mailing list