-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b93
Now -XX:+IgnoreUnrecognizedVMOptions hides improperly specified VM options. Example:
JDK 9 b66:
java -XX:MinTLABSize=0
MinTLABSize of 0 is invalid; must be at least 1
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
The same message with -XX:+IgnoreUnrecognizedVMOptions.
New JDK (nightly build):
The same behavior (VM exits with error message) as in previously promoted JDK with new message:
java -XX:-IgnoreUnrecognizedVMOptions -XX:MinTLABSize=0 -version
size_t MinTLABSize=0 is outside the allowed range [ 1 ... 4294967295 ]
Improperly specified VM option 'MinTLABSize=0'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
JDK continues to work with out-of-range message:
java -XX:+IgnoreUnrecognizedVMOptions -XX:MinTLABSize=0 -version
size_t MinTLABSize=0 is outside the allowed range [ 1 ... 4294967295 ]
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150624183527.jesper.main2rt-b00)
Java HotSpot(TM) Server VM (build 1.9.0-internal-fastdebug-20150624183527.jesper.main2rt-b00, mixed mode)
- duplicates
-
JDK-8136387 Exit status is 0 but should be 1 when invalid -XX:TargetSurvivorRatio is specified
-
- Closed
-
- relates to
-
JDK-8144084 [TESTBUG] 1.9 section not unlock flag in runtime/CommandLine/IgnoreUnrecognizedVMOptions test
-
- Resolved
-
-
JDK-8141706 [TESTBUG] Update tests failing due to changed behavior
-
- Closed
-
-
JDK-8140359 get_locked_message_ext() should return Flag::MsgType
-
- Resolved
-
-
JDK-8132545 Provide a better alternative to IgnoreUnrecognizedVMOption that takes provided list of flags
-
- Closed
-
-
JDK-8122937 JEP 245: Validate JVM Command-Line Flag Arguments Implementation
-
- Closed
-
-
JDK-8059557 JEP 245: Validate JVM Command-Line Flag Arguments
-
- Closed
-