Here's a simple sanity test to make sure CDS can archive classes with JVM_CONSTANT_Dynamic entries in their constant pools: http://cr.openjdk.java.net/~iklam/jdk11/8198796-cds-test-case-for-condy.v01/ https://bugs.openjdk.java.net/browse/JDK-8198796 Thanks - Ioi