hg: jdk7/jdk7/langtools: 13 new changesets

lana.steuck at oracle.com lana.steuck at oracle.com
Tue Nov 23 10:30:53 PST 2010


Changeset: f2048d9c666e
Author:    mcimadamore
Date:      2010-11-04 12:57 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/f2048d9c666e

6993963: Project Coin: Use precise exception analysis for effectively final catch parameters
Summary: More precise rethrow analysis should be extended to effectively-final exception parameters. Multicatch parameters should be made implicitly final.
Reviewed-by: jjg, darcy

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
- test/tools/javac/diags/examples/MulticatchMustBeFinal.java
+ test/tools/javac/multicatch/Neg01eff_final.java
+ test/tools/javac/multicatch/Neg01eff_final.out
! test/tools/javac/multicatch/Neg02.java
! test/tools/javac/multicatch/Neg02.out
+ test/tools/javac/multicatch/Neg02eff_final.java
+ test/tools/javac/multicatch/Neg02eff_final.out
! test/tools/javac/multicatch/Neg03.java
! test/tools/javac/multicatch/Neg03.out
+ test/tools/javac/multicatch/Neg04eff_final.java
+ test/tools/javac/multicatch/Neg04eff_final.out
+ test/tools/javac/multicatch/Neg05.java
+ test/tools/javac/multicatch/Neg05.out
+ test/tools/javac/multicatch/Pos06.java
+ test/tools/javac/multicatch/Pos07.java
+ test/tools/javac/multicatch/model/Check.java
+ test/tools/javac/multicatch/model/Member.java
+ test/tools/javac/multicatch/model/Model01.java
+ test/tools/javac/multicatch/model/ModelChecker.java

Changeset: e9e41c88b03e
Author:    mcimadamore
Date:      2010-11-04 12:58 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/e9e41c88b03e

6714835: Safe cast is rejected (with warning) by javac
Summary: Rules for unchecked cast conversion do not take into account type-containment
Reviewed-by: jjg

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

Changeset: e406f0645b7e
Author:    lana
Date:      2010-11-04 15:39 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/e406f0645b7e

Merge


Changeset: 9427a3c795fc
Author:    jjg
Date:      2010-11-06 13:53 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/9427a3c795fc

6998063: new Scope impl to fix Scope performance issues
Reviewed-by: jjg
Contributed-by: per.bothner at oracle.com

! src/share/classes/com/sun/tools/javac/code/Scope.java
+ test/tools/javac/6996626/Main.java
+ test/tools/javac/6996626/pack1/Symbol.java

Changeset: a0d9d642f65b
Author:    jjg
Date:      2010-11-09 17:49 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a0d9d642f65b

6997958: test tools/javac/api/T6412669.java fails in PIT
Reviewed-by: darcy

! test/tools/javac/api/T6412669.java

Changeset: bce19889597e
Author:    mcimadamore
Date:      2010-11-10 12:37 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/bce19889597e

6996914: Diamond inference: problem when accessing protected constructor
Summary: special resolution scheme for diamond inference needs to open up protected constructors in anon inner class creation
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/diamond/6996914/T6996914a.java
+ test/tools/javac/generics/diamond/6996914/T6996914b.java

Changeset: 58ceeff50af8
Author:    mcimadamore
Date:      2010-11-12 12:32 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/58ceeff50af8

6598108: com.sun.source.util.Trees.isAccessible incorrect
Summary: JavacTrees' version of isAccessible should take into account enclosing class accessibility
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/api/6598108/T6598108.java

Changeset: fdc67f5170e9
Author:    mcimadamore
Date:      2010-11-12 12:33 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/fdc67f5170e9

6999067: cast for invokeExact call gets redundant cast to <type> warnings
Summary: Xlint:cast should not report cast used in order to specify target type in polymorphic signature calls
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/meth/XlintWarn.java

Changeset: 6a99b741a1b0
Author:    mcimadamore
Date:      2010-11-12 12:34 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/6a99b741a1b0

6970016: Clean up ARM/try-with-resources implementation
Summary: changed Xlint option name from -Xlint:arm to -Xlint:try
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
- test/tools/javac/TryWithResources/ArmLint.java
- test/tools/javac/TryWithResources/ArmLint.out
! test/tools/javac/TryWithResources/ImplicitFinal.out
+ test/tools/javac/TryWithResources/TwrLint.java
+ test/tools/javac/TryWithResources/TwrLint.out
! test/tools/javac/TryWithResources/TwrOnNonResource.out
! test/tools/javac/diags/examples/ResourceClosed.java
! test/tools/javac/diags/examples/ResourceMayNotBeAssigned.java
! test/tools/javac/diags/examples/ResourceNotApplicableToType.java
! test/tools/javac/diags/examples/ResourceNotReferenced.java
! test/tools/javac/diags/examples/TryResourceNotSupported.java

Changeset: a7faadc252c8
Author:    lana
Date:      2010-11-13 19:00 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a7faadc252c8

Merge


Changeset: 4328728e0409
Author:    darcy
Date:      2010-11-14 07:16 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4328728e0409

6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/util/Names.java
! test/tools/javac/TryWithResources/TwrSuppression.java
! test/tools/javac/TryWithResources/TwrTests.java

Changeset: a7ea58fa3e9a
Author:    mcimadamore
Date:      2010-11-15 13:50 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a7ea58fa3e9a

6985719: Alike methods in interfaces (Inheritance and Overriding)
Summary: javac should report error when interface inherits unrelated method with same erasure
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/6985719/T6985719a.java
+ test/tools/javac/generics/6985719/T6985719a.out
+ test/tools/javac/generics/6985719/T6985719b.java
+ test/tools/javac/generics/6985719/T6985719b.out
+ test/tools/javac/generics/6985719/T6985719c.java
+ test/tools/javac/generics/6985719/T6985719c.out
+ test/tools/javac/generics/6985719/T6985719d.java
+ test/tools/javac/generics/6985719/T6985719d.out
+ test/tools/javac/generics/6985719/T6985719e.java
+ test/tools/javac/generics/6985719/T6985719e.out
+ test/tools/javac/generics/6985719/T6985719f.java
+ test/tools/javac/generics/6985719/T6985719f.out
+ test/tools/javac/generics/6985719/T6985719g.java
+ test/tools/javac/generics/6985719/T6985719g.out
+ test/tools/javac/generics/6985719/T6985719h.java
+ test/tools/javac/generics/6985719/T6985719h.out

Changeset: 1dd813a529cf
Author:    mcimadamore
Date:      2010-11-15 14:41 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/1dd813a529cf

6999635: Multicatch: crash while compiling simple code with a multicatch parameter
Summary: missing erasure when computing stackmaps leads to assertion error
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Code.java
+ test/tools/javac/multicatch/Pos08.java
+ test/tools/javac/multicatch/Pos08eff_final.java



More information about the jdk7-dev mailing list