git: openjdk/jdk: master: 2 new changesets

Chen Liang liach at openjdk.org
Tue Mar 25 19:03:20 UTC 2025


Changeset: 60544a15
Branch: master
Author:    Chen Liang <liach at openjdk.org>
Date:      2025-03-25 19:01:02 +0000
URL:       https://git.openjdk.org/jdk/commit/60544a15d6bd9fc17f362cdfb95f06e733934b05

8164714: Constructor.newInstance creates instance of inner class with null outer class

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
! test/langtools/tools/javac/annotations/typeAnnotations/classfile/AnnotatedExtendsTest.java
! test/langtools/tools/javac/nestmates/CheckNestmateAttrs.java
+ test/langtools/tools/javac/outerThisNull/NoOuterThisNullChecks.java
+ test/langtools/tools/javac/outerThisNull/OuterThisNullChecks.java
! test/langtools/tools/javap/AnnoTest.java
! test/langtools/tools/javap/classfile/T6887895.java

Changeset: f5a0db43
Branch: master
Author:    Chen Liang <liach at openjdk.org>
Date:      2025-03-25 19:01:22 +0000
URL:       https://git.openjdk.org/jdk/commit/f5a0db43b76ea58f54d87c49d97c7d87ee1b4ba6

8315447: Invalid Type Annotation attached to a method instead of a lambda

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/langtools/tools/javac/annotations/typeAnnotations/classfile/CombinationsTargetTest3.java
+ test/langtools/tools/javac/annotations/typeAnnotations/classfile/RepeatableInLambdaTest.java



More information about the jdk-changes mailing list