hg: jdk7/tl/langtools: 5 new changesets
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Mon Jan 24 08:00:33 PST 2011
Changeset: 19c900c703c6
Author: mcimadamore
Date: 2011-01-24 15:44 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/19c900c703c6
6943278: spurious error message for inference and type-variable with erroneous bound
Summary: type-inference should ignore erroneous bounds
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/6943278/T6943278.java
+ test/tools/javac/generics/inference/6943278/T6943278.out
Changeset: ce6175cfe11e
Author: mcimadamore
Date: 2011-01-24 15:44 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/ce6175cfe11e
6968793: issues with diagnostics
Summary: several diagnostic improvements
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/6304921/T6304921.out
! test/tools/javac/6330920/T6330920.out
! test/tools/javac/6717241/T6717241a.out
! test/tools/javac/6717241/T6717241b.out
! test/tools/javac/6857948/T6857948.out
! test/tools/javac/6863465/T6863465c.out
! test/tools/javac/6863465/T6863465d.out
! test/tools/javac/T6247324.out
! test/tools/javac/TryWithResources/ResourceOutsideTry.out
! test/tools/javac/diags/examples.not-yet.txt
! test/tools/javac/diags/examples/CantResolve.java
! test/tools/javac/diags/examples/CantResolveArgsParams.java
! test/tools/javac/diags/examples/CantResolveLocation.java
! test/tools/javac/diags/examples/CantResolveLocationArgs.java
! test/tools/javac/diags/examples/CantResolveLocationArgsParams.java
- test/tools/javac/diags/examples/EnumConstRequired.java
! test/tools/javac/diags/examples/ForeachNotApplicable.java
! test/tools/javac/diags/examples/KindnameClass.java
! test/tools/javac/diags/examples/KindnameMethod.java
! test/tools/javac/diags/examples/KindnameVariable.java
+ test/tools/javac/diags/examples/Location.java
+ test/tools/javac/diags/examples/Location1.java
! test/tools/javac/diags/examples/OperatorCantBeApplied.java
+ test/tools/javac/diags/examples/OperatorCantBeApplied1.java
! test/tools/javac/diags/examples/StaticImportOnlyClassesAndInterfaces/StaticImportOnlyClassesAndInterfaces.java
! test/tools/javac/failover/FailOver01.out
! test/tools/javac/failover/FailOver02.out
! test/tools/javac/failover/FailOver04.out
! test/tools/javac/generics/6711619/T6711619a.out
! test/tools/javac/generics/diamond/neg/Neg01.out
! test/tools/javac/generics/diamond/neg/Neg02.out
! test/tools/javac/generics/diamond/neg/Neg03.out
! test/tools/javac/generics/diamond/neg/Neg04.out
! test/tools/javac/generics/diamond/neg/Neg11.out
! test/tools/javac/generics/inference/6943278/T6943278.out
! test/tools/javac/generics/typevars/5060485/Compatibility.out
! test/tools/javac/generics/typevars/5060485/Compatibility02.out
+ test/tools/javac/generics/typevars/6968793/T6968793.java
+ test/tools/javac/generics/typevars/6968793/T6968793.out
! test/tools/javac/policy/test1/byfile.ABD.out
! test/tools/javac/policy/test1/bytodo.ABD.out
! test/tools/javac/policy/test1/simple.ABD.out
Changeset: 02e6e7dd1a64
Author: mcimadamore
Date: 2011-01-24 15:45 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/02e6e7dd1a64
6510286: Wording of javac error for inner classes
Summary: 'inner classes cannot have static declarations' message needs to be reworked
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/InnerNamedConstant_2.out
Changeset: 812c6251ea78
Author: mcimadamore
Date: 2011-01-24 15:45 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/812c6251ea78
6569633: Varargs: parser error when varargs element type is an array
Summary: explicit error message when old-style array syntax is mixed with varargs
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/VarargsAndOldArraySyntax.java
+ test/tools/javac/varargs/6569633/T6569633.java
+ test/tools/javac/varargs/6569633/T6569633.out
Changeset: 57e3b9bc7fb8
Author: mcimadamore
Date: 2011-01-24 15:45 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/57e3b9bc7fb8
7013865: varargs: javac crashes during overload resolution with generic varargs
Summary: fixed regression with varargs overload resolution that leads javac to crash
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/varargs/T7013865.java
More information about the compiler-dev
mailing list