git: openjdk/jdk: 8263614: javac allows local variables to be accessed from a static context

Vicente Romero vromero at openjdk.java.net
Mon May 17 15:04:09 UTC 2021


Changeset: b8856b1c
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2021-05-17 15:03:32 +0000
URL:       https://git.openjdk.java.net/jdk/commit/b8856b1c47895eae0a5563ee1a8ac454863ee0a6

8263614: javac allows local variables to be accessed from a static context

Reviewed-by: mcimadamore

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



More information about the jdk-changes mailing list