git: openjdk/jdk: jdk23: 2 new changesets

Vicente Romero vromero at openjdk.org
Wed Jun 19 04:01:30 UTC 2024


Changeset: d9dd2d19
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2024-06-19 04:00:37 +0000
URL:       https://git.openjdk.org/jdk/commit/d9dd2d19b002f0e0345a3399324099bec15fa369

8334258: Compiler erronousely allows access to instance variable in argument expression of a constructor invocation

Reviewed-by: jpai
Backport-of: e227c7e37d4de0656f013f3a936b1acfa56cc2e0

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview1.java
+ test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview1.out
+ test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview2.java
+ test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview2.out
+ test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview3.java
+ test/langtools/tools/javac/SuperInit/EarlyAssignmentNoPreview3.out

Changeset: 12a61bce
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2024-06-19 04:00:58 +0000
URL:       https://git.openjdk.org/jdk/commit/12a61bce8db5e6b152eb101de1662847bebb7997

8334043: VerifyError when inner class is accessed in prologue

Reviewed-by: jpai
Backport-of: d4c13737171b7ab7a8a29a69fa9965f8363c5aee

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/langtools/tools/javac/SuperInit/EarlyAssignments.java
! test/langtools/tools/javac/SuperInit/EarlyAssignments.out



More information about the jdk-changes mailing list