diff -r 3439a92526a0 -r 82cacb64e969 jdk/test/tools/jimage/VerifyJimage.java --- a/jdk/test/tools/jimage/VerifyJimage.java Thu Apr 27 17:43:13 2017 -0700 +++ b/jdk/test/tools/jimage/VerifyJimage.java Thu Apr 27 13:07:23 2017 -0700 @@ -195,15 +195,19 @@ .replaceAll("\\.class$", "").replace('/', '.'); } - private static Set DEPLOY_MODULES = - Set.of("javafx.deploy", "jdk.deploy", "jdk.plugin", "jdk.javaws"); + private static Set EXCLUDED_MODULES = + Set.of("javafx.deploy", "jdk.deploy", "jdk.plugin", "jdk.javaws", + // All JVMCI packages other than jdk.vm.ci.services are dynamically + // exported to jdk.internal.vm.compiler and jdk.aot + "jdk.internal.vm.compiler", "jdk.aot" + ); private boolean accept(String entry) { int index = entry.indexOf('/', 1); String mn = index > 1 ? entry.substring(1, index) : ""; // filter deployment modules - if (mn.isEmpty() || DEPLOY_MODULES.contains(mn)) { + if (mn.isEmpty() || EXCLUDED_MODULES.contains(mn)) { return false; } return entry.endsWith(".class") && !entry.endsWith(MODULE_INFO);