hg: jdk7/tl/langtools: 6990136: Cleanup use of Type.clone()

daniel.smith at oracle.com daniel.smith at oracle.com
Wed Feb 16 11:04:18 PST 2011

Changeset: 0c24826853b2
Author:    dlsmith
Date:      2011-02-16 10:27 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/0c24826853b2

6990136: Cleanup use of Type.clone()
Summary: Introduced factory methods in class Types which can be used rather than clone().
Reviewed-by: jjg, mcimadamore

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java

More information about the compiler-dev mailing list