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 ------------- Commit messages: - 8304502: Classfile API class hierarchy makes assumptions when class is not resolved Changes: https://git.openjdk.org/jdk/pull/13099/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13099&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8304502 Stats: 17 lines in 4 files changed: 4 ins; 8 del; 5 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