hg: jdk9/dev/langtools: 8075274: Compilation still depends on the order of imports; ...

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Oct 5 16:32:14 UTC 2015


Changeset: 4914b013c305
Author:    jlahoda
Date:      2015-10-05 18:31 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/4914b013c305

8075274: Compilation still depends on the order of imports
8133235: Compilation depends on order of source files
Summary: When analyzing type hierarchy, HierarchyPhase should process supertypes before subtypes.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
+ test/tools/javac/importscope/T8075274/C.java
+ test/tools/javac/importscope/T8075274/D.java
+ test/tools/javac/importscope/T8075274/Outer.java
+ test/tools/javac/importscope/T8133235/A.java
+ test/tools/javac/importscope/T8133235/B.java
+ test/tools/javac/importscope/T8133235/C.java
+ test/tools/javac/importscope/T8133235/D.java



More information about the jdk9-dev-changes mailing list