RFR: 8281472: JVM options processing silently truncates large illegal options values
Harold Seigel
hseigel at openjdk.java.net
Thu Feb 17 19:17:34 UTC 2022
Please review this change to fix JDK-8281472. The fix prevents truncation of large illegal option values by rejecting those values if they exceed the range of their type. For example, it rejects values of int options that are not between max_int and min_int.
The fix was tested by running Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and Mach5 tiers 3-5 on Linux-x64 and Windows-x64.
Thanks, Harold
-------------
Commit messages:
- 8281472: JVM options processing silently truncates large illegal options values
Changes: https://git.openjdk.java.net/jdk/pull/7522/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7522&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8281472
Stats: 148 lines in 3 files changed: 145 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/7522.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7522/head:pull/7522
PR: https://git.openjdk.java.net/jdk/pull/7522
More information about the hotspot-dev
mailing list