hg: valhalla/valhalla/langtools: Spurious bridges generated depending on compilation order

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed Nov 26 18:36:19 UTC 2014


Changeset: d7d120a4ef8e
Author:    mcimadamore
Date:      2014-11-26 18:35 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d7d120a4ef8e

Spurious bridges generated depending on compilation order
* change desugaring logic so that dependencies between toplevels are detected across 'implements' as well as with 'extends' clauses
* change Attr to recursively attr superinterfaces (not only superclass)
* change SpecializeTypes to translate superinterfaces (not only superclass)
* add hack for dealing with dup local class names (working on cleaner fix)
* add new redundant bridges tests
* fix jdeps to unmangle dependencies on specialized symbols

! src/jdk.compiler/share/classes/com/sun/tools/classfile/Dependencies.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/CompileStates.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! test/tools/javac/6734819/T6734819a.out
! test/tools/javac/6734819/T6734819b.out
! test/tools/javac/6734819/T6734819c.out
! test/tools/javac/generics/bridges/BridgeHarness.java
+ test/tools/javac/generics/bridges/tests/TestNoSpecializedBridges01.java
+ test/tools/javac/generics/bridges/tests/TestNoSpecializedBridges02.java
+ test/tools/javac/generics/bridges/tests/TestNoSpecializedBridges03.java
! test/tools/javac/policy/test2/byfile.AB.out
! test/tools/javac/policy/test2/bytodo.AB.out



More information about the valhalla-dev mailing list