On Thu, 21 May 2026 11:37:52 GMT, Adam Sotona <[email protected]> wrote:
> Class-File API provides an option to filter unbound labels and optionally > drop related enclosing structures. After performance-related optimizations, > this option started causing a side effect where silently dropped structures > result in a `NullPointerException` instead of the expected > `IllegalArgumentException`. > > This PR narrows that scenario and adds a test for it. > > Please review. > > Thank you, > Adam > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Marked as reviewed by liach (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/31232#pullrequestreview-4336895573
