hg: jdk7/tl/langtools: 6 new changesets
maurizio.cimadamore at sun.com
maurizio.cimadamore at sun.com
Thu Oct 9 09:39:03 PDT 2008
Changeset: c0372d1097c0
Author: mcimadamore
Date: 2008-10-09 15:56 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/c0372d1097c0
6751514: Unary post-increment with type variables crash javac during lowering
Summary: Lower.abstractRval should take into account parenthesized expressions
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/T6751514.java
Changeset: 8c098cf64ab5
Author: mcimadamore
Date: 2008-10-09 16:02 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/8c098cf64ab5
6738538: javac crashes when using a type parameter as a covariant method return type
Summary: Capture conversion should be applied when acccessing a member of an intersection type
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/OverrideChecks/6738538/T6738538a.java
+ test/tools/javac/OverrideChecks/6738538/T6738538b.java
Changeset: ac6ce899d007
Author: mcimadamore
Date: 2008-10-09 16:04 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/ac6ce899d007
6724345: incorrect method resolution for enum classes entered as source files
Summary: Enum's abstract methods shouldn't be skipped during method resolution
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/enum/T6724345.java
Changeset: 8eafba4f61be
Author: mcimadamore
Date: 2008-10-09 16:07 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/8eafba4f61be
6406133: JCDiagnostic.getMessage ignores locale argument
Summary: Compiler API should take into account locale settings
Reviewed-by: jjg
! src/share/classes/com/sun/tools/apt/util/Bark.java
! src/share/classes/com/sun/tools/javac/api/Formattable.java
! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/api/JavacTool.java
+ src/share/classes/com/sun/tools/javac/api/Messages.java
! src/share/classes/com/sun/tools/javac/code/Kinds.java
! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/parser/Token.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! 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/JCDiagnostic.java
+ src/share/classes/com/sun/tools/javac/util/JavacMessages.java
! src/share/classes/com/sun/tools/javac/util/Log.java
! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
! test/tools/javac/6457284/T6457284.java
+ test/tools/javac/api/6406133/Erroneous.java
+ test/tools/javac/api/6406133/T6406133.java
Changeset: e4eaddca54b7
Author: mcimadamore
Date: 2008-10-09 16:19 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/e4eaddca54b7
6731573: diagnostic output should optionally include source line
Summary: Added an -XD option to optionally prints out source lines in error messages
Reviewed-by: jjg
! 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/Log.java
! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
+ test/tools/javac/api/6731573/Erroneous.java
+ test/tools/javac/api/6731573/T6731573.java
Changeset: d766e40e49d6
Author: mcimadamore
Date: 2008-10-09 16:21 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/d766e40e49d6
6586091: javac crashes with StackOverflowError
Summary: Types.adapt should avoid infinite loops by exploiting a local cache
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/cast/6586091/T6586091.java
More information about the serviceability-dev
mailing list