-
Bug
-
Resolution: Fixed
-
P3
-
15, 16
-
b11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8263287 | 16.0.2 | Calvin Cheung | P3 | Resolved | Fixed | b01 |
JDK-8262917 | 16.0.1 | Calvin Cheung | P3 | Resolved | Fixed | b08 |
When creating a dynamic CDS archive with -XX:ArchiveClassesAtExit, if a lambda proxy class P is loaded inside a Shutdown hook, the proxy's nest_host class N may not be properly linked. This causes the N to be missing from the archive.
When P is loaded from the archive at run time, it require that N must also be in the archive. Since this is not the case, the VM crashes in subsequent operations.
When P is loaded from the archive at run time, it require that N must also be in the archive. Since this is not the case, the VM crashes in subsequent operations.
- backported by
-
JDK-8262917 Crash caused by lambda proxy class loaded in Shutdown hook
- Resolved
-
JDK-8263287 Crash caused by lambda proxy class loaded in Shutdown hook
- Resolved
- links to
-
Commit openjdk/jdk16u/b5c5079a
-
Commit openjdk/jdk/78cde648
-
Review openjdk/jdk16u/67
-
Review openjdk/jdk/2634
(1 links to)