hg: hsx/hotspot-gc/langtools: 38 new changesets

john.coomes at oracle.com john.coomes at oracle.com
Mon Oct 24 15:20:02 PDT 2011


Changeset: 5304c2a17d4b
Author:    schien
Date:      2011-09-08 16:59 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/5304c2a17d4b

Added tag jdk8-b04 for changeset 5df63fd8fa64

! .hgtags

Changeset: 4e754e4b0a52
Author:    schien
Date:      2011-09-15 18:53 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/4e754e4b0a52

Added tag jdk8-b05 for changeset 5304c2a17d4b

! .hgtags

Changeset: b86277584776
Author:    mcimadamore
Date:      2011-08-31 16:11 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/b86277584776

7085024: internal error; cannot instantiate Foo
Summary: Types.isConvertible does not handle erroneous types correctly
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/7085024/T7085024.java
+ test/tools/javac/7085024/T7085024.out

Changeset: d0257833498e
Author:    mcimadamore
Date:      2011-08-31 16:15 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/d0257833498e

7079713: javac hangs when compiling a class that references a cyclically inherited class
Summary: Types.membersClosure needs to handle pathological cases of cyclic inheritance
Reviewed-by: jjg, jjh

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/7079713/TestCircularClassfile.java

Changeset: f85d980faaf8
Author:    jjg
Date:      2011-08-31 15:39 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/f85d980faaf8

7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/share/classes/javax/tools/JavaCompiler.java
! test/tools/javac/TryWithResources/UnusedResourcesTest.java
! test/tools/javac/diags/Example.java
! test/tools/javac/processing/errors/TestSuppression.java

Changeset: 04f983e3e825
Author:    ksrini
Date:      2011-09-01 09:14 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/04f983e3e825

7073631: (javac) javac parser improvements for error position reporting
Summary: JavacParser improvements for NetBeans, improved by LangTools.
Reviewed-by: mcimadamore, jjg
Contributed-by: jan.lahoda at oracle.com

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/parser/Scanner.java
! src/share/classes/com/sun/tools/javac/util/AbstractLog.java
! test/tools/javac/TryWithResources/BadTwr.out
! test/tools/javac/TryWithResources/DuplicateResourceDecl.out
! test/tools/javac/TryWithResources/ResourceInterface.out
! test/tools/javac/TryWithResources/TwrFlow.out
! test/tools/javac/TryWithResources/TwrLint.out
! test/tools/javac/TryWithResources/TwrOnNonResource.out
! test/tools/javac/diags/examples/EmptyCharLiteral.java
+ test/tools/javac/parser/netbeans/JavacParserTest.java

Changeset: a45d78d26450
Author:    jjh
Date:      2011-09-01 14:35 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/a45d78d26450

7086071: tools/javac/7079713/TestCircularClassfile.java fails on windows
Summary: delete file before renaming another file to it
Reviewed-by: jjg

! test/tools/javac/7079713/TestCircularClassfile.java

Changeset: 02b8381781ab
Author:    ksrini
Date:      2011-09-02 07:54 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/02b8381781ab

7024096: Stack trace has invalid line numbers
Reviewed-by: jjg, darcy
Contributed-by: bruce.chapman.nz at gmail.com

! src/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/jvm/T7024096.java

Changeset: ec27e5befa53
Author:    mcimadamore
Date:      2011-09-02 17:35 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/ec27e5befa53

7086261: javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper
Summary: Missing override for toString() in ClientCodeUnwrapper.DiagnosticSourceUnwrapper
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
+ test/tools/javac/api/7086261/T7086261.java

Changeset: 1ee9f9a91e9c
Author:    jjg
Date:      2011-09-09 17:19 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/1ee9f9a91e9c

7073508: Regression: NullPointerException at com.sun.tools.javac.code.Lint$AugmentVisitor.augment
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/annotations/T7043371.java
+ test/tools/javac/annotations/T7073477.java

Changeset: 9aca3534ddf4
Author:    lana
Date:      2011-09-10 21:31 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/9aca3534ddf4

Merge


Changeset: edd7d9bd32dd
Author:    jjg
Date:      2011-09-12 11:39 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/edd7d9bd32dd

7068451: Regression: javac compiles fixed sources against previous, not current, version of generated sources
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/share/classes/com/sun/tools/javac/nio/PathFileObject.java
! src/share/classes/com/sun/tools/javac/util/BaseFileManager.java
+ test/tools/javac/file/T7068451.java

Changeset: f1431cace56e
Author:    jjg
Date:      2011-09-12 11:40 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/f1431cace56e

Merge


Changeset: d2422276f9da
Author:    lana
Date:      2011-09-19 19:41 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/d2422276f9da

Merge


Changeset: 116980ecec5c
Author:    katleman
Date:      2011-09-22 16:02 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/116980ecec5c

Added tag jdk8-b06 for changeset d2422276f9da

! .hgtags

Changeset: 9268bd271c6f
Author:    katleman
Date:      2011-09-29 18:54 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/9268bd271c6f

Added tag jdk8-b07 for changeset 116980ecec5c

! .hgtags

Changeset: ed338593b0b6
Author:    mcimadamore
Date:      2011-09-13 14:14 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/ed338593b0b6

7086595: Error message bug: name of initializer is 'null'
Summary: Implementation of MethodSymbol.location() should take into account static/instance initializers
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Kinds.java
! src/share/classes/com/sun/tools/javac/code/Printer.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
+ test/tools/javac/7086595/T7086595.java
+ test/tools/javac/7086595/T7086595.out
! test/tools/javac/Diagnostics/6860795/T6860795.out
! test/tools/javac/LocalClasses_2.out
! test/tools/javac/NestedInnerClassNames.out
! test/tools/javac/TryWithResources/BadTwr.out
! test/tools/javac/TryWithResources/DuplicateResourceDecl.out
+ test/tools/javac/diags/examples/AlreadyDefinedClinit.java
+ test/tools/javac/diags/examples/KindnameInstanceInit.java
+ test/tools/javac/diags/examples/KindnameStaticInit.java
! test/tools/javac/generics/6910550/T6910550d.out

Changeset: f595d8bc0599
Author:    mcimadamore
Date:      2011-09-13 14:15 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/f595d8bc0599

7003595: IncompatibleClassChangeError with unreferenced local class with subclass
Summary: Compiler omits unreferenced local inner classes from the InnerClasses attribute
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/tools/javac/7003595/T7003595.java
+ test/tools/javac/7003595/T7003595b.java

Changeset: 3a2200681d69
Author:    mcimadamore
Date:      2011-09-13 14:15 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/3a2200681d69

7086601: Error message bug: cause for method mismatch is 'null'
Summary: Inference error during lub() does not set 'cause' for method resolution diagnostic
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/IncompatibleUpperBounds.java
+ test/tools/javac/generics/inference/7086601/T7086601a.java
+ test/tools/javac/generics/inference/7086601/T7086601a.out
+ test/tools/javac/generics/inference/7086601/T7086601b.java

Changeset: ca2e2b85f437
Author:    mchung
Date:      2011-09-13 16:37 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/ca2e2b85f437

7090297: Remove com.sun.tools.javac.Launcher from tools.jar
Reviewed-by: jjg

- src/share/classes/com/sun/tools/javac/Launcher.java

Changeset: 0f3da6af9799
Author:    jjg
Date:      2011-09-14 12:07 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/0f3da6af9799

7080267: Call to toString() from an ExpressionStatementTree doesn't take in consideration the ";" at the end
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/tree/JCTree.java
+ test/tools/javac/tree/TestToString.java

Changeset: 1807fc3fd33c
Author:    jjg
Date:      2011-09-14 12:14 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/1807fc3fd33c

7090249: IllegalStateException from Trees.getScope when called from JSR 199
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
+ test/tools/javac/api/TestGetScope.java

Changeset: a6e2c1840ea1
Author:    jjg
Date:      2011-09-14 15:49 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/a6e2c1840ea1

7090700: fix for 7080267 breaks two tests
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javac/tree/JCTree.java

Changeset: 826ae6a2f27d
Author:    jjg
Date:      2011-09-14 18:26 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/826ae6a2f27d

7068437: Regression: Filer.getResource(SOURCE_OUTPUT, ...) no longer works in JDK 7 w/o -s
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java
+ test/tools/javac/file/T7068437.java

Changeset: c0835c8489b0
Author:    mcimadamore
Date:      2011-09-16 14:16 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/c0835c8489b0

7086586: Inference producing null type argument
Summary: Inference should fail in 15.12.2.7 when inference variables with 'nulltype' upper bounds are found
Reviewed-by: dlsmith

! src/share/classes/com/sun/tools/javac/code/Types.java
! test/tools/javac/Diagnostics/6862608/T6862608a.out
! test/tools/javac/generics/inference/6638712/T6638712a.out
+ test/tools/javac/generics/inference/7086586/T7086586.java
+ test/tools/javac/generics/inference/7086586/T7086586.out
+ test/tools/javac/generics/inference/7086586/T7086586b.java

Changeset: dea82aa3ca4f
Author:    jjg
Date:      2011-09-16 16:18 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/dea82aa3ca4f

7091528: javadoc attempts to parse .class files
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javadoc/JavadocTool.java
+ test/tools/javadoc/parser/7091528/T7091528.java
+ test/tools/javadoc/parser/7091528/p/C1.java
+ test/tools/javadoc/parser/7091528/p/q/C2.java

Changeset: ac964af3b5e7
Author:    jjg
Date:      2011-09-20 12:08 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/ac964af3b5e7

7030473: Remove dead field JCCompilationUnit.flags
Reviewed-by: dlsmith

! src/share/classes/com/sun/tools/javac/tree/JCTree.java

Changeset: b0d5f00e69f7
Author:    jjg
Date:      2011-09-21 21:56 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/b0d5f00e69f7

7092965: javac should not close processorClassLoader before end of compilation
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/diags/examples.not-yet.txt
+ test/tools/javac/processing/loader/testClose/TestClose.java
+ test/tools/javac/processing/loader/testClose/TestClose2.java

Changeset: 497571d34112
Author:    jjg
Date:      2011-09-22 09:24 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/497571d34112

7075721: javac should have public enum for exit codes
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/Main.java
! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! test/tools/javac/diags/ArgTypeCompilerFactory.java
! test/tools/javac/diags/Example.java
! test/tools/javac/lib/CompileFail.java
! test/tools/javac/util/context/T7021650.java

Changeset: 0c6f79fc8441
Author:    lana
Date:      2011-09-23 23:30 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/0c6f79fc8441

Merge


Changeset: 28573d605b01
Author:    lana
Date:      2011-09-26 14:33 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/28573d605b01

Merge

- src/share/classes/com/sun/tools/javac/Launcher.java

Changeset: e8acc2d6c32f
Author:    lana
Date:      2011-10-03 18:26 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/e8acc2d6c32f

Merge

- src/share/classes/com/sun/tools/javac/Launcher.java

Changeset: b7a7e47c8d3d
Author:    katleman
Date:      2011-10-06 14:01 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/b7a7e47c8d3d

Added tag jdk8-b08 for changeset e8acc2d6c32f

! .hgtags

Changeset: 510d09ddc861
Author:    katleman
Date:      2011-10-13 10:35 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/510d09ddc861

Added tag jdk8-b09 for changeset b7a7e47c8d3d

! .hgtags

Changeset: 47147081d5b4
Author:    mcimadamore
Date:      2011-10-06 18:39 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/47147081d5b4

7090499: missing rawtypes warnings in anonymous inner class
Summary: javac does not detect raw types inside anonymous inner classes
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/warnings/7090499/T7090499.java
+ test/tools/javac/warnings/7090499/T7090499.out

Changeset: 5010ffc61eda
Author:    lana
Date:      2011-10-12 12:26 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/5010ffc61eda

Merge


Changeset: f6c783e18bdf
Author:    lana
Date:      2011-10-17 19:07 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/f6c783e18bdf

Merge


Changeset: 4bf01f1c4e34
Author:    katleman
Date:      2011-10-20 10:32 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/langtools/rev/4bf01f1c4e34

Added tag jdk8-b10 for changeset f6c783e18bdf

! .hgtags



More information about the hotspot-gc-dev mailing list