- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    9
- 
        b96
                    Running runtime/CommandLine/IgnoreUnrecognizedVMOptions test against clean jdk9/dev fails in both local build, and JPRT.
$ rm -rf JT*; jtreg -jdk:/home/shade/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/jdk/ runtime/CommandLine/IgnoreUnrecognizedVMOptions.java
java.lang.RuntimeException: Expected to get exit value of [1]
Apparently fails when trying to do:
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:+FlightRecorder", "-version");
Indeed, running this command line manually produces the zero exit code:
$ /home/shade/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/jdk/bin/java -XX:+IgnoreUnrecognizedVMOptions -XX:-UnlockCommercialFeatures -XX:+FlightRecorder -version
openjdk version "1.9.0-internal"
OpenJDK Runtime Environment (build 1.9.0-internal-shade_2015_11_23_21_41-b00)
OpenJDK 64-Bit Server VM (build 1.9.0-internal-shade_2015_11_23_21_41-b00, mixed mode)
$ echo $?
0
This makes projects in development to always fail JPRT. jdk9/sandbox is synced with jdk9/dev, so many projects there picked up this failure.
$ rm -rf JT*; jtreg -jdk:/home/shade/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/jdk/ runtime/CommandLine/IgnoreUnrecognizedVMOptions.java
java.lang.RuntimeException: Expected to get exit value of [1]
Apparently fails when trying to do:
runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:+FlightRecorder", "-version");
Indeed, running this command line manually produces the zero exit code:
$ /home/shade/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/images/jdk/bin/java -XX:+IgnoreUnrecognizedVMOptions -XX:-UnlockCommercialFeatures -XX:+FlightRecorder -version
openjdk version "1.9.0-internal"
OpenJDK Runtime Environment (build 1.9.0-internal-shade_2015_11_23_21_41-b00)
OpenJDK 64-Bit Server VM (build 1.9.0-internal-shade_2015_11_23_21_41-b00, mixed mode)
$ echo $?
0
This makes projects in development to always fail JPRT. jdk9/sandbox is synced with jdk9/dev, so many projects there picked up this failure.
- relates to
- 
                    JDK-8144084 [TESTBUG] 1.9 section not unlock flag in runtime/CommandLine/IgnoreUnrecognizedVMOptions test -           
- Resolved
 
-