RFR: 8304502: Classfile API class hierarchy makes assumptions when class is not resolved [v2]
Adam Sotona
asotona at openjdk.org
Mon Mar 20 14:06:43 UTC 2023
> Classfile API class hierarchy makes assumptions when class is not resolved and that may lead to silent generation of invalid stack maps. Only debug-level log information of case is actually provided.
>
> Proposed patch throws IllegalArgumentException when the class is not resolved instead.
>
> Thanks for review.
>
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
Update src/java.base/share/classes/jdk/internal/classfile/impl/ClassHierarchyImpl.java
Co-authored-by: liach <7806504+liach at users.noreply.github.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13099/files
- new: https://git.openjdk.org/jdk/pull/13099/files/67349d44..8f166bdd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13099&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13099&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13099.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/13099/head:pull/13099
PR: https://git.openjdk.org/jdk/pull/13099
More information about the core-libs-dev
mailing list