RFR: 8285914: AppCDS crash when using shared archive with old class file [v3]
Calvin Cheung
ccheung at openjdk.java.net
Fri May 6 05:04:56 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:
comments from David H.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8540/files
- new: https://git.openjdk.java.net/jdk/pull/8540/files/38b2a05c..bfdd3722
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8540&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8540&range=01-02
Stats: 13 lines in 4 files changed: 2 ins; 4 del; 7 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