changeset 17081:e91c7b2a4481

8179434: test/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java fails due to JDK-8177845 Reviewed-by: mchung
author dnsimon
date Fri, 28 Apr 2017 12:22:53 -0700
parents 087d92ca9617
children e78da9db6299
files test/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java	Mon May 01 11:48:16 2017 -0700
+++ b/test/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java	Fri Apr 28 12:22:53 2017 -0700
@@ -286,7 +286,11 @@
          * Filter deployment modules
          */
         static Set<String> systemModules() {
-            Set<String> mods = Set.of("javafx.deploy", "jdk.deploy", "jdk.plugin", "jdk.javaws");
+            Set<String> mods = 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"
+            );
             return ModuleFinder.ofSystem().findAll().stream()
                                .map(mref -> mref.descriptor().name())
                                .filter(mn -> !mods.contains(mn))