Summary
The UseAppCDS option was made obsolete in JDK 11 via JDK-8193213. The option will be expired in JDK 12.
Problem
The change for JDK-8204563 resulting in a custom warning message if the UseAppCDS option is specified in JDK 11.
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring obsolete option UseAppCDS; AppCDS is automatically enabled
We should have the same warning message for an option which is set to expire in JDK 12.
Solution
Revert the change for JDK-8204563 and remove the UseAppCDS entry in arguments.cpp.
Specification
Unrecognized VM option 'UseAppCDS'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
- csr of
-
JDK-8204591 Expire/remove the UseAppCDS option in JDK 12
- Resolved
- relates to
-
JDK-8209385 CDS runtime classpath checking is too strict when only classes from the system modules are archived
- Resolved