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).

Thank you for the review.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/31232#issuecomment-4517804660

Reply via email to