RFR: 8285914: AppCDS crash when using shared archive with old class file [v4]
Calvin Cheung
ccheung at openjdk.java.net
Fri May 6 06:29:41 UTC 2022
> Please review this change for an additional check before archiving a lambda proxy class. If the nest host of an lambda proxy class implements an old (major version < JDK_6 (50)) interface, the lambda proxy class should not be archived. This avoids accessing a null nest host during runtime while loading the lambda proxy class from the CDS archive.
>
> Passed the test in the bug report.
>
> Passed CI tiers 1 - 4 testing (including the new tests).
Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
exclude lambda proxy class in CleanupDumpTimeLambdaProxyClassTable
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8540/files
- new: https://git.openjdk.java.net/jdk/pull/8540/files/bfdd3722..93f434d7
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8540&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8540&range=02-03
Stats: 29 lines in 2 files changed: 5 ins; 12 del; 12 mod
Patch: https://git.openjdk.java.net/jdk/pull/8540.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8540/head:pull/8540
PR: https://git.openjdk.java.net/jdk/pull/8540
More information about the hotspot-runtime-dev
mailing list