The option parser does not report about errors for some incorrect options. It just silently skip them.
Here are examples:
java -Xcomp-Xms100G
^^^ both options are ignored
java -Xcomprgerger
^^^ no errors is reported, -Xcomp is off
Such behaviour could cuase unevident problems especiallly when jvm is launched from some scripts.
Here are examples:
java -Xcomp-Xms100G
^^^ both options are ignored
java -Xcomprgerger
^^^ no errors is reported, -Xcomp is off
Such behaviour could cuase unevident problems especiallly when jvm is launched from some scripts.
- duplicates
-
JDK-6816203 command-line processing of -Xfoo options is too lax
-
- Closed
-