hg: jdk/sandbox: 8193561: Cyclic hierarchy causes a NullPointerException when setting DEFAULT flag

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Sep 17 10:00:21 UTC 2018


Changeset: d883f528689d
Author:    jlahoda
Date:      2018-09-17 11:49 +0200
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/d883f528689d

8193561: Cyclic hierarchy causes a NullPointerException when setting DEFAULT flag
Summary: When marking interface as having default methods, use .owner as it is always defined.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/langtools/tools/javac/cycle/T8193561.java
+ test/langtools/tools/javac/cycle/T8193561.out



More information about the jdk-sandbox-changes mailing list