hg: jdk7/jdk7/langtools: 17 new changesets
lana.steuck at oracle.com
lana.steuck at oracle.com
Tue Aug 31 13:00:37 PDT 2010
Changeset: 0fe472f4a332
Author: mcimadamore
Date: 2010-08-05 09:44 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/0fe472f4a332
6881115: javac permits nested anno w/o mandatory attrs => IncompleteAnnotationException
Summary: default annotation value is not attributed
Reviewed-by: jjg, darcy
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/annotations/6881115/T6881115.java
+ test/tools/javac/annotations/6881115/T6881115.out
Changeset: 237f3bd52242
Author: mcimadamore
Date: 2010-08-05 09:45 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/237f3bd52242
6857948: Calling a constructor with a doubly bogus argument causes an internal error
Summary: problem when constructor resolution returns an erroneous symbol
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/6857948/T6857948.java
+ test/tools/javac/6857948/T6857948.out
Changeset: a2d8c7071f24
Author: mcimadamore
Date: 2010-08-10 14:52 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a2d8c7071f24
6975275: diamond implementation needs some cleanup
Summary: resolution issues during diamond inference should be reported through Resolve.logResolveError()
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
Changeset: ea1930f4b789
Author: mcimadamore
Date: 2010-08-10 14:53 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ea1930f4b789
6975231: Regression test for 6881115 is failing with compiler output not matching expected output
Summary: missing symbols are collected in an HashSet which doesn't preserve ordering
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/annotations/6881115/T6881115.out
+ test/tools/javac/diags/examples/AnnotationMissingValues1.java
Changeset: c04ae2714f52
Author: lana
Date: 2010-08-12 19:59 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/c04ae2714f52
Merge
Changeset: 27bae58329d5
Author: mcimadamore
Date: 2010-08-16 14:56 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/27bae58329d5
6976649: javac does not enforce required annotation elements in arrays
Summary: type annotation should take advantage of recursive annotation checking
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! test/tools/javac/annotations/6881115/T6881115.java
! test/tools/javac/annotations/6881115/T6881115.out
! test/tools/javac/annotations/pos/TrailingComma.java
Changeset: dc550520ed6f
Author: mcimadamore
Date: 2010-08-16 14:58 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/dc550520ed6f
6369605: Unconstrained type variables fails to include bounds
Summary: unconstrained type-variables with recursive bounds are not inferred properly
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! test/tools/javac/Diagnostics/6862608/T6862608a.out
! test/tools/javac/diags/examples.not-yet.txt
! test/tools/javac/diags/examples/InvalidInferredTypes.java
+ test/tools/javac/generics/inference/6369605/T6369605a.java
+ test/tools/javac/generics/inference/6369605/T6369605b.java
! test/tools/javac/generics/inference/6638712/T6638712a.out
Changeset: a31c511db424
Author: jjg
Date: 2010-08-16 14:59 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a31c511db424
6976833: options included twice in Example SimpleCompiler
Reviewed-by: darcy
! test/tools/javac/diags/Example.java
Changeset: c655e0280bdc
Author: mcimadamore
Date: 2010-08-19 11:50 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/c655e0280bdc
6886247: regression: javac crashes with an assertion error in Attr.java
Summary: capture conversion does not work on nested types
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/wildcards/6886247/T6886247_1.java
+ test/tools/javac/generics/wildcards/6886247/T6886247_2.java
+ test/tools/javac/generics/wildcards/6886247/T6886247_2.out
Changeset: d6fe0ea070aa
Author: mcimadamore
Date: 2010-08-19 11:52 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/d6fe0ea070aa
6885255: Improve usability of raw warnings
Summary: raw warnings should be disabled in (i) instanceof expressions and (ii) when java.lang.Class is not parameterized
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! test/tools/javac/warnings/6747671/T6747671.java
! test/tools/javac/warnings/6747671/T6747671.out
+ test/tools/javac/warnings/6885255/T6885255.java
+ test/tools/javac/warnings/6885255/T6885255.out
Changeset: a75770c0d7f6
Author: mcimadamore
Date: 2010-08-19 11:54 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a75770c0d7f6
6977800: Regression: invalid resolution of supertype for local class
Summary: resolution of superclass/superinterfaces in extends/implements clause skips local classes
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/T6977800.java
! test/tools/javac/generics/typevars/5060485/Compatibility.java
+ test/tools/javac/generics/typevars/5060485/Compatibility.out
+ test/tools/javac/generics/typevars/5060485/Compatibility02.java
+ test/tools/javac/generics/typevars/5060485/Compatibility02.out
Changeset: 995bcdb9a41d
Author: mcimadamore
Date: 2010-08-23 16:59 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/995bcdb9a41d
6932571: Compiling Generics causing Inconvertible types
Summary: Types.rewriteQuantifiers() does not work well with recursive type-variable bounds
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/cast/6270087/T6270087.java
+ test/tools/javac/cast/6270087/T6270087neg.java
+ test/tools/javac/cast/6270087/T6270087neg.out
+ test/tools/javac/cast/6507317/T6507317.java
+ test/tools/javac/cast/6569057/T6569057.java
+ test/tools/javac/cast/6932571/T6932571a.java
+ test/tools/javac/cast/6932571/T6932571b.java
+ test/tools/javac/cast/6932571/T6932571neg.java
+ test/tools/javac/cast/6932571/T6932571neg.out
Changeset: 594b3c2ef585
Author: mcimadamore
Date: 2010-08-23 17:00 +0100
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/594b3c2ef585
6978574: return statement in try block with multi-catch causes ClassFormatError
Summary: Wrong nested loops in Gen.java causes javac to generate bad bytecode
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/multicatch/T6978574.java
Changeset: 6b95dd682538
Author: jjg
Date: 2010-08-23 11:56 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/6b95dd682538
6975005: improve JavacProcessingEnvironment.Round abstraction
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! test/tools/javac/T6358024.java
! test/tools/javac/T6403466.out
! test/tools/javac/processing/filer/TestLastRound.out
Changeset: a626d8c1de6e
Author: jjg
Date: 2010-08-23 15:13 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a626d8c1de6e
6976747: JCDiagnostic: replace "boolean mandatory" with new "Set<JCDiagnostic.Flag>"
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
Changeset: 0c81bff15ced
Author: lana
Date: 2010-08-23 19:14 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/0c81bff15ced
Merge
Changeset: ba774f919ad0
Author: lana
Date: 2010-08-29 22:42 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ba774f919ad0
Merge
More information about the jdk7-dev
mailing list