hg: jdk/jdk: 8247790: javac shouldn't allow type variable references from local static declarations

vicente.romero at oracle.com vicente.romero at oracle.com
Thu Jul 16 02:40:38 UTC 2020


Changeset: 1f370d0c9893
Author:    vromero
Date:      2020-07-15 22:36 -0400
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/1f370d0c9893

8247790: javac shouldn't allow type variable references from local static declarations
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/langtools/tools/javac/records/RecordCompilationTests.java



More information about the jdk-all-changes mailing list