On Tue, 26 May 2026 12:31:26 GMT, Andrey Turbanov <[email protected]> wrote:

>> Pattern matching `instanceof` is lowered directly into byte code by javac, 
>> it doesn't need bootstrapping like the `switch` variant does.
>
> I understand that. But comment says just "pattern matching". Not "switch 
> pattern matching". That's confusing.

This will be addressed in a separate PR via 
https://bugs.openjdk.org/browse/JDK-8385885

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31275#discussion_r3348492343

Reply via email to