RFR: 8243583: Change 'final' error checks to throw ICCE
Harold Seigel
hseigel at openjdk.java.net
Tue Oct 27 19:56:30 UTC 2020
Please review this small change to throw IncompatibleClassChangeError exceptions instead of VerifyError exceptions for attempts to override Final classes and methods, as described in https://bugs.openjdk.java.net/browse/JDK-8243582.
The fix was tested with tiers 1-2 on Linux, Mac OSX, and Windows, tiers 3-5 on Linux x64, and running the JCK lang, vm, and api tests.
Thanks, Harold
-------------
Commit messages:
- 8243583: Change 'final' error checks to throw ICCE
Changes: https://git.openjdk.java.net/jdk/pull/885/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=885&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8243583
Stats: 29 lines in 4 files changed: 0 ins; 9 del; 20 mod
Patch: https://git.openjdk.java.net/jdk/pull/885.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/885/head:pull/885
PR: https://git.openjdk.java.net/jdk/pull/885
More information about the hotspot-runtime-dev
mailing list