RFR: 8260928: InitArrayShortSize constraint func should print a helpful error message
Tobias Hartmann
thartmann at openjdk.java.net
Tue Feb 2 11:44:58 UTC 2021
The `InitArrayShortSize` flag requires a value that is a multiple of `BytesPerLong` but no corresponding error message is printed:
java -XX:InitArrayShortSize=7
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Thanks,
Tobias
-------------
Commit messages:
- 8260928: InitArrayShortSize constraint func should print a helpful error message
Changes: https://git.openjdk.java.net/jdk/pull/2351/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2351&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8260928
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/2351.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2351/head:pull/2351
PR: https://git.openjdk.java.net/jdk/pull/2351
More information about the hotspot-compiler-dev
mailing list