git: openjdk/jdk: master: 8345474: Translation for instanceof is not triggered when patterns are not used in the compilation unit

Aggelos Biboudis abimpoudis at openjdk.org
Wed Dec 4 14:37:35 UTC 2024


Changeset: 6c1ed0bb
Branch: master
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Date:      2024-12-04 14:32:47 +0000
URL:       https://git.openjdk.org/jdk/commit/6c1ed0bb6912d8085b98f50b7bdbb467369f3992

8345474: Translation for instanceof is not triggered when patterns are not used in the compilation unit

Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/langtools/tools/javac/patterns/T8345474.java



More information about the jdk-changes mailing list