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

[TESTBUG] Update tests failing due to changed behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • b96
    • Verified

      Fix of JDK-8129855: -XX:+IgnoreUnrecognizedVMOptions hides out of range VM options
      Changed the behavior of option handling. Now, IgnoreUnrecognizedVMOptions doesn't ignore Locked options.

      As the result all the tests which rely on the previous behavior started failing like:

      Error: VM option 'GuaranteedSafepointInterval' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
      Error: The unlock option must precede 'GuaranteedSafepointInterval'.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      All such tests need to be fixed. Ideally, they must have been fixed along with the JDK-8129855...

      List of tests to update:
      compiler/c2/8004741/Test8004741.java
      compiler/loopopts/TestCastIINoLoopLimitCheck.java
      compiler/runtime/7196199/Test7196199.java
      gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java
      gc/g1/TestLargePageUseForAuxMemory.java

            gziemski Gerard Ziemski
            dfazunen Dmitry Fazunenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: