The parsing of startup parameters was rewritten in Java in June 2021 (JDK 17) as part of JDK-8265271.
The JVM now passes a String to Java, so it's hard to see how it can crash because some characters in the String are different. The return value for -XX:StartFlightRecording:help is perhaps 100 times larger than anything these tests return so an overflow also seems unlikely.
The JVM now passes a String to Java, so it's hard to see how it can crash because some characters in the String are different. The return value for -XX:StartFlightRecording:help is perhaps 100 times larger than anything these tests return so an overflow also seems unlikely.
- links to
-
Commit(master) openjdk/jdk/53fce38a
-
Review(master) openjdk/jdk/20511