hg: jdk7/tl/langtools: 4 new changesets

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Thu Mar 5 09:50:50 PST 2009


Changeset: 850869f70213
Author:    mcimadamore
Date:      2009-03-05 17:24 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/850869f70213

6467183: javac fails to raise unchecked warning on cast of parameterized generic subclass
Summary: cleanup code for generating unchecked cast warnings
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/cast/6467183/T6467183a.java
+ test/tools/javac/cast/6467183/T6467183a.out
+ test/tools/javac/cast/6467183/T6467183b.java

Changeset: 84a18d7da478
Author:    mcimadamore
Date:      2009-03-05 17:24 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/84a18d7da478

6804733: javac generates spourious diagnostics for ill-formed type-variable bounds
Summary: fixed algorithm for checking cycles in typevar declarations
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/typevars/6804733/T6804733.java
+ test/tools/javac/generics/typevars/6804733/T6804733.out

Changeset: 9711a6c2db7e
Author:    mcimadamore
Date:      2009-03-05 17:25 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/9711a6c2db7e

6807255: LineNumberTable wrong if enhanced-for-loops are used
Summary: end position of iterable for-each loop was not set properly
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java

Changeset: 86b60aa941c6
Author:    mcimadamore
Date:      2009-03-05 17:25 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/86b60aa941c6

6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
Summary: create new combo type/symbol visitor printer used by all diagnostic formatters
Reviewed-by: jjg

+ src/share/classes/com/sun/tools/javac/code/Printer.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
+ test/tools/javac/Diagnostics/6799605/T6799605.java
+ test/tools/javac/Diagnostics/6799605/T6799605.out
! test/tools/javac/NestedInnerClassNames.out
! test/tools/javac/T6241723.out
! test/tools/javac/depDocComment/SuppressDeprecation.out
! test/tools/javac/mandatoryWarnings/deprecated/Test3.out
! test/tools/javac/mandatoryWarnings/deprecated/Test3b.out
! test/tools/javac/mandatoryWarnings/deprecated/Test4.out
! test/tools/javac/mandatoryWarnings/deprecated/Test4b.out
! test/tools/javac/mandatoryWarnings/deprecated/Test4c.out
! test/tools/javac/mandatoryWarnings/deprecated/Test4d.out
! test/tools/javac/positions/T6253161.out
! test/tools/javac/positions/T6253161a.out
! test/tools/javac/warnings/Deprecation.lintAll.out
! test/tools/javac/warnings/Deprecation.lintDeprecation.out




More information about the net-dev mailing list