git: openjdk/jdk: 8278078: Cannot reference super before supertype constructor has been called

Adam Sotona asotona at openjdk.java.net
Thu Dec 2 15:31:43 UTC 2021


Changeset: 8d9cb2ef
Author:    Adam Sotona <asotona at openjdk.org>
Date:      2021-12-02 15:29:26 +0000
URL:       https://git.openjdk.java.net/jdk/commit/8d9cb2efe655cc3945b3fe51a5e7d90f48b688e6

8278078: Cannot reference super before supertype constructor has been called

Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/langtools/tools/javac/8278078/InvalidThisAndSuperInConstructorArgTest.java
+ test/langtools/tools/javac/8278078/InvalidThisAndSuperInConstructorArgTest.out
+ test/langtools/tools/javac/8278078/ValidThisAndSuperInConstructorArgTest.java



More information about the jdk-changes mailing list