Test test/jdk/java/lang/management/RuntimeMXBean/InputArgument.java#id4 failed

XMLWordPrintable

    • master

      The test explicitly configures a GC after JDK-8378110, which doesn't play well when selecting another GC. We should likely move the requirement to a @requires statement instead. E.g., running the test with JTREG="JAVA_OPTIONS=-XX:+UseSerialGC" doesn't work.

      /*
       * @test
       * @bug 8378110
       * @summary RuntimeMXBean.getInputArguments() handling of flags from settings file.
       *
       * @run driver InputArgument generateFlagsFile
       * @run main/othervm -XX:+UseFastJNIAccessors -XX:Flags=InputArgument.flags InputArgument
       * -XX:+UseFastJNIAccessors -XX:-UseG1GC -XX:+UseParallelGC -XX:MaxHeapSize=100M
       */

      Error occurred during initialization of VM
      Multiple garbage collectors selected

            Assignee:
            Oli Gillespie
            Reporter:
            Joel Sikström
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: