Name: rlT66838 Date: 03/30/2000
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.orc1-S, mixed mode)
The following source code compiles under jdk 1.1.8, 1.2.2, and 1.3beta but not
under jdk1.3rc1:
//----------
public class Test
implements Test.Inner
{
public static interface Inner
{
}
}
//----------
The following compiler error is reported:
Test.java:4: cyclic inheritance involving Test
public static interface Inner
^
1 error
//----------
The source code is legal Java. The error is spurious.
I submitted this bug report yesterday but made an error in the source code which
prevented compilation using any version. This is a corrected submission.
(Review ID: 103094)
======================================================================
- duplicates
-
JDK-4325152 cyclic inheritance compiling class that implements its own inner interface
-
- Closed
-
- relates to
-
JDK-6863465 javac doesn't detect circular subclass dependencies via qualified names
-
- Closed
-