hg: jdk7/hotspot-gc/langtools: 33 new changesets

john.coomes at oracle.com john.coomes at oracle.com
Fri May 27 01:56:11 PDT 2011


Changeset: bbd053476ec3
Author:    bpatel
Date:      2011-04-18 15:39 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/bbd053476ec3

6758050: javadoc handles nested generic types incorrectly
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
+ test/com/sun/javadoc/testNestedGenerics/TestNestedGenerics.java
+ test/com/sun/javadoc/testNestedGenerics/pkg/NestedGenerics.java

Changeset: 671bb63f3ed5
Author:    mcimadamore
Date:      2011-04-19 13:57 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/671bb63f3ed5

7036906: Scope: CompoundScope.getElements() doesn't pass scope filter to subscopes
Summary: CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Scope.java
! test/tools/javac/scope/7017664/CompoundScopeTest.java

Changeset: fb84cfca28a1
Author:    jjg
Date:      2011-04-25 15:50 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/fb84cfca28a1

7039019: test cannot run standalone
Reviewed-by: dlsmith

! test/tools/javac/processing/model/TestSymtabItems.java

Changeset: 4c5f13798b8d
Author:    jjg
Date:      2011-04-25 15:56 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4c5f13798b8d

7038363: cast from object to primitive should be for source >= 1.7
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/types/CastObjectToPrimitiveTest.java
+ test/tools/javac/types/CastObjectToPrimitiveTest.out

Changeset: a8f5cad1e6bb
Author:    darcy
Date:      2011-04-27 17:03 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a8f5cad1e6bb

7039822: Project Coin: add explicit tests for the lub of an exception parameter
Reviewed-by: mcimadamore, jjg

+ test/tools/javac/multicatch/Neg07.java
+ test/tools/javac/multicatch/Neg07.out
+ test/tools/javac/multicatch/Pos10.java

Changeset: 5c81ba0eddff
Author:    bpatel
Date:      2011-04-27 17:13 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/5c81ba0eddff

7028815: Missing styles for some bulleted items in the new stylesheet
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
! test/com/sun/javadoc/testStylesheet/TestStylesheet.java

Changeset: c7841bbe1227
Author:    mchung
Date:      2011-04-28 08:46 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c7841bbe1227

7037081: Remove com.sun.tracing from NON_CORE_PKGS
Reviewed-by: ohair, jjg, jmasa

! src/share/classes/com/sun/tools/javac/resources/legacy.properties

Changeset: 7ae6c0fd479b
Author:    jjg
Date:      2011-04-28 15:05 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/7ae6c0fd479b

7029150: Project Coin: present union types from the tree API through to javax.lang.model
Reviewed-by: mcimadamore

! src/share/classes/com/sun/source/util/Trees.java
! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/model/JavacTypes.java
! test/tools/javac/multicatch/model/Model01.java
! test/tools/javac/multicatch/model/ModelChecker.java
+ test/tools/javac/multicatch/model/UnionTypeInfo.java
+ test/tools/javac/processing/model/type/TestUnionType.java

Changeset: 4c03383f6529
Author:    mcimadamore
Date:      2011-04-29 16:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4c03383f6529

7040104: javac NPE on Object a[]; Object o = (a=null)[0];
Summary: When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/jvm/Code.java
+ test/tools/javac/T7040104.java

Changeset: 9a847a77205d
Author:    mcimadamore
Date:      2011-04-29 16:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/9a847a77205d

7039937: Improved catch analysis fails to handle a common idiom in the libraries
Summary: Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Flow.java
! test/tools/javac/6558548/T6558548.java
! test/tools/javac/6558548/T6558548_6.out
! test/tools/javac/6558548/T6558548_latest.out
! test/tools/javac/diags/examples/UnreachableCatch1.java

Changeset: 1092b67b3cad
Author:    mcimadamore
Date:      2011-04-29 16:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/1092b67b3cad

7034495: Javac asserts on usage of wildcards in bounds
Summary: Problem with intersection types and wildcards causing javac to crash
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/wildcards/7034495/T7034495.java
+ test/tools/javac/generics/wildcards/7034495/T7034495.out

Changeset: dc3d9ef880a1
Author:    mcimadamore
Date:      2011-04-29 16:06 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/dc3d9ef880a1

6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Summary: Accessing a non-existing enum constant from an annotation whose class is available results in an internal error
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/annotations/6550655/T6550655.java
! test/tools/javac/diags/examples.not-yet.txt

Changeset: 4caf17560ae0
Author:    mcimadamore
Date:      2011-04-30 11:57 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4caf17560ae0

7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
Summary: diamond should be disallowed in cases where explicit generic constructor parameters are specified
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/diags/examples/DiamondAndExplicitParams.java
! test/tools/javac/generics/diamond/7030150/GenericConstructorAndDiamondTest.java
- test/tools/javac/generics/diamond/7030150/Neg01.java
- test/tools/javac/generics/diamond/7030150/Neg01.out
- test/tools/javac/generics/diamond/7030150/Neg02.java
- test/tools/javac/generics/diamond/7030150/Neg02.out
- test/tools/javac/generics/diamond/7030150/Neg03.java
- test/tools/javac/generics/diamond/7030150/Neg03.out
- test/tools/javac/generics/diamond/7030150/Pos01.java
- test/tools/javac/generics/diamond/7030150/Pos02.java

Changeset: 459854f564ed
Author:    lana
Date:      2011-04-30 16:57 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/459854f564ed

Merge


Changeset: 62bc3775d5bb
Author:    bpatel
Date:      2011-05-02 02:13 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/62bc3775d5bb

6492694: @deprecated tag doesn't work in package-info files.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/ClassUseWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/DeprecatedListWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java
! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageUseWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/SourceToHTMLConverter.java
! src/share/classes/com/sun/tools/doclets/formats/html/TreeWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlStyle.java
! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties
! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/DeprecatedTaglet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassDocCatalog.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassTree.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DeprecatedAPIListBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/IndexBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/PackageListWriter.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
+ test/com/sun/javadoc/testPackageDeprecation/C2.java
+ test/com/sun/javadoc/testPackageDeprecation/FooDepr.java
+ test/com/sun/javadoc/testPackageDeprecation/TestPackageDeprecation.java
+ test/com/sun/javadoc/testPackageDeprecation/pkg/A.java
+ test/com/sun/javadoc/testPackageDeprecation/pkg1/ClassUseTest1.java
+ test/com/sun/javadoc/testPackageDeprecation/pkg1/Foo.java
+ test/com/sun/javadoc/testPackageDeprecation/pkg1/Foo2.java
+ test/com/sun/javadoc/testPackageDeprecation/pkg1/package-info.java
! test/com/sun/javadoc/testSubTitle/TestSubTitle.java

Changeset: 384ea9a98912
Author:    mcimadamore
Date:      2011-05-02 12:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/384ea9a98912

7040883: Compilation error: "length in Array is defined in an inaccessible class or interface"
Summary: Fix of 7034511 (now backed out) is causing spurious accessibility errors
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! test/tools/javac/generics/7034511/T7034511a.java
! test/tools/javac/generics/7034511/T7034511b.java
+ test/tools/javac/generics/typevars/T7040883.java

Changeset: dbc4ced9d171
Author:    bpatel
Date:      2011-05-02 10:10 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/dbc4ced9d171

6553182: Need to modify javadoc doclet for GPL
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties
+ test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java
+ test/com/sun/javadoc/testDocRootLink/pkg1/C1.java
+ test/com/sun/javadoc/testDocRootLink/pkg1/package.html
+ test/com/sun/javadoc/testDocRootLink/pkg2/C2.java
+ test/com/sun/javadoc/testDocRootLink/pkg2/package.html
! test/com/sun/javadoc/testHelpOption/TestHelpOption.java

Changeset: 14ff19ca715f
Author:    jgodinez
Date:      2011-05-03 22:17 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/14ff19ca715f

Merge

- test/tools/javac/generics/diamond/7030150/Neg01.java
- test/tools/javac/generics/diamond/7030150/Neg01.out
- test/tools/javac/generics/diamond/7030150/Neg02.java
- test/tools/javac/generics/diamond/7030150/Neg02.out
- test/tools/javac/generics/diamond/7030150/Neg03.java
- test/tools/javac/generics/diamond/7030150/Neg03.out
- test/tools/javac/generics/diamond/7030150/Pos01.java
- test/tools/javac/generics/diamond/7030150/Pos02.java

Changeset: b72d70f33ee4
Author:    jgodinez
Date:      2011-05-09 12:34 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/b72d70f33ee4

Merge

- test/tools/javac/generics/diamond/7030150/Neg01.java
- test/tools/javac/generics/diamond/7030150/Neg01.out
- test/tools/javac/generics/diamond/7030150/Neg02.java
- test/tools/javac/generics/diamond/7030150/Neg02.out
- test/tools/javac/generics/diamond/7030150/Neg03.java
- test/tools/javac/generics/diamond/7030150/Neg03.out
- test/tools/javac/generics/diamond/7030150/Pos01.java
- test/tools/javac/generics/diamond/7030150/Pos02.java

Changeset: 66956f601f5a
Author:    mfang
Date:      2011-05-10 15:04 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/66956f601f5a

7022005: [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated.
Reviewed-by: yhuang

! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties
! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_zh_CN.properties

Changeset: c60f85f28aa9
Author:    mfang
Date:      2011-05-10 15:07 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c60f85f28aa9

7043548: message drop 3 translation integration
Reviewed-by: yhuang

! src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties
! src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties
! src/share/classes/com/sun/tools/javac/resources/javac_ja.properties
! src/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties
! src/share/classes/com/sun/tools/javadoc/resources/javadoc_ja.properties
! src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties

Changeset: 7476b164194c
Author:    mfang
Date:      2011-05-10 19:58 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/7476b164194c

Merge


Changeset: 4d05949f8d6b
Author:    schien
Date:      2011-05-12 17:17 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4d05949f8d6b

Added tag jdk7-b142 for changeset 7476b164194c

! .hgtags

Changeset: c3e3945cc24f
Author:    alanb
Date:      2011-05-09 01:57 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c3e3945cc24f

Merge


Changeset: 68fde7f5863b
Author:    jjg
Date:      2011-05-10 19:53 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/68fde7f5863b

7043694: printStackTrace call should be removed
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Symbol.java

Changeset: a2d422d480cb
Author:    mcimadamore
Date:      2011-05-11 13:10 +0200
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a2d422d480cb

7042566: Regression: new ambiguity between varargs method
Summary: Erroneous ambiguity error when choosing most specific varargs method
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/varargs/7042566/T7042566.java

Changeset: 95fc7fd39be2
Author:    mcimadamore
Date:      2011-05-11 13:12 +0200
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/95fc7fd39be2

7041730: Regression: compiler accepts invalid cast from int to Byte
Summary: Implementation of cast conversion rules between primitive and boxed types is too liberal
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! test/tools/javac/types/BoxingConversionTest.java
! test/tools/javac/types/CastTest.java

Changeset: bdfa48f80c82
Author:    jjg
Date:      2011-05-11 14:55 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/bdfa48f80c82

7043867: docs/jdk/api/javac have html files that have issues with HTML4 compliance
Reviewed-by: darcy

! src/share/classes/com/sun/source/tree/SynchronizedTree.java

Changeset: 652f0daf74a7
Author:    lana
Date:      2011-05-14 11:29 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/652f0daf74a7

Merge


Changeset: 5faa9eedc44e
Author:    mcimadamore
Date:      2011-05-16 09:38 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/5faa9eedc44e

7043922: Regression: internal compiler error for nested anonymous inner class featuring varargs constructor
Summary: Attributing a constructor call does not clean up the compiler's attribution context
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/varargs/7043922/T7043922.java

Changeset: 8987de9a4ab8
Author:    schien
Date:      2011-05-20 16:04 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/8987de9a4ab8

Added tag jdk7-b143 for changeset 5faa9eedc44e

! .hgtags

Changeset: 8eb952f43b11
Author:    katleman
Date:      2011-05-25 13:32 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/8eb952f43b11

7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims

! src/share/classes/com/sun/source/tree/UnionTypeTree.java
! src/share/classes/com/sun/tools/classfile/ClassTranslator.java
! src/share/classes/com/sun/tools/classfile/Dependencies.java
! src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java
! src/share/classes/javax/lang/model/util/ElementKindVisitor7.java
! test/tools/javac/4241573/T4241573.java
! test/tools/javac/6508981/TestInferBinaryName.java
! test/tools/javac/TryWithResources/DuplicateResource.java
! test/tools/javac/api/6411310/Test.java
! test/tools/javac/api/T6838467.java
! test/tools/javac/api/T6877206.java
! test/tools/javac/api/TestClientCodeWrapper.java
! test/tools/javac/api/TestJavacTask_Lock.java
! test/tools/javac/api/TestJavacTask_Multiple.java
! test/tools/javac/api/TestJavacTask_ParseAttrGen.java
! test/tools/javac/multicatch/model/ModelChecker.java
! test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface1.java
! test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface2.java
! test/tools/javac/processing/model/element/TestMissingElement2/TestMissingInterface.java
! test/tools/javac/processing/model/util/deprecation/TestDeprecation.java
! test/tools/javac/tree/T6963934.java

Changeset: 9f25c6a3ac23
Author:    schien
Date:      2011-05-26 20:20 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/9f25c6a3ac23

Added tag jdk7-b144 for changeset 8eb952f43b11

! .hgtags



More information about the hotspot-gc-dev mailing list