# HG changeset patch # User dholmes # Date 1448347032 0 # Node ID 49c7439351d696a6e39711e35fc248db845d9c8d # Parent 39efc18275da1373fa80557e13ffd51e5327aba5# Parent 425c08df6f21cf0dde37197c1d7ca0193408e3fe Merge diff -r 39efc18275da -r 49c7439351d6 hotspot/test/runtime/CommandLine/IgnoreUnrecognizedVMOptions.java --- a/hotspot/test/runtime/CommandLine/IgnoreUnrecognizedVMOptions.java Tue Nov 24 04:46:03 2015 +0000 +++ b/hotspot/test/runtime/CommandLine/IgnoreUnrecognizedVMOptions.java Tue Nov 24 06:37:12 2015 +0000 @@ -131,47 +131,41 @@ /* #1.7 locked flag: - diagnostic & locked experimental & locked commercial & locked - -XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions -XX:-UnlockCommercialFeatures - -XX:+PrintInlining -XX:+AlwaysSafeConstructors -XX:+FlightRecorder - -IgnoreUnrecognizedVMOptions ERR ERR ERR - +IgnoreUnrecognizedVMOptions ERR ERR ERR + diagnostic & locked experimental & locked + -XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions + -XX:+PrintInlining -XX:+AlwaysSafeConstructors + -IgnoreUnrecognizedVMOptions ERR ERR + +IgnoreUnrecognizedVMOptions ERR ERR */ runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:+PrintInlining", "-version"); runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:+AlwaysSafeConstructors", "-version"); - runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:+FlightRecorder", "-version"); runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:+PrintInlining", "-version"); runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:+AlwaysSafeConstructors", "-version"); - runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:+FlightRecorder", "-version"); /* #1.8 malformed locked flag: - diagnostic & locked experimental & locked commercial & locked - -XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions -XX:-UnlockCommercialFeatures - -XX:PrintInlining -XX:AlwaysSafeConstructors -XX:FlightRecorder - -IgnoreUnrecognizedVMOptions ERR ERR ERR - +IgnoreUnrecognizedVMOptions ERR ERR ERR + diagnostic & locked experimental & locked + -XX:-UnlockDiagnosticVMOptions -XX:-UnlockExperimentalVMOptions + -XX:PrintInlining -XX:AlwaysSafeConstructors + -IgnoreUnrecognizedVMOptions ERR ERR + +IgnoreUnrecognizedVMOptions ERR ERR */ runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version"); runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version"); - runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version"); runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version"); runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version"); - runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version"); /* #1.9 malformed unlocked flag: - diagnostic & locked experimental & locked commercial & locked - -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UnlockCommercialFeatures - -XX:PrintInlining -XX:AlwaysSafeConstructors -XX:FlightRecorder - -IgnoreUnrecognizedVMOptions ERR ERR ERR - +IgnoreUnrecognizedVMOptions ERR ERR ERR + diagnostic & locked experimental & locked + -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions + -XX:PrintInlining -XX:AlwaysSafeConstructors + -IgnoreUnrecognizedVMOptions ERR ERR + +IgnoreUnrecognizedVMOptions ERR ERR */ runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version"); runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version"); - runJavaAndCheckExitValue(false, "-XX:-IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version"); runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockDiagnosticVMOptions", "-XX:PrintInlining", "-version"); runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockExperimentalVMOptions", "-XX:AlwaysSafeConstructors", "-version"); - runJavaAndCheckExitValue(false, "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UnlockCommercialFeatures", "-XX:FlightRecorder", "-version"); } }