Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8309303

jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options

XMLWordPrintable

    • b02

        The jdk/internal/misc/VM/RuntimeArguments.java test does not take into account arguments coming from the runtime image. This is how it fails when run on GraalVM:

        Exception in thread "main" java.lang.RuntimeException: [-XX:ThreadPriorityPolicy=1, -XX:+UnlockExperimentalVMOptions, -XX:+EnableJVMCIProduct, -XX:-UnlockExperimentalVMOptions, --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED, --add-exports=java.base/jdk.internal.perf=ALL-UNNAMED, --add-modules=jdk.zipfs] != [--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED, --add-exports=java.base/jdk.internal.perf=ALL-UNNAMED, --add-modules=jdk.zipfs

              mchung Mandy Chung (Inactive)
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: