hg: jdk9/jdk9/langtools: 17 new changesets

lana.steuck at oracle.com lana.steuck at oracle.com
Wed Apr 9 18:27:58 UTC 2014


Changeset: 22a7fa780701
Author:    pgovereau
Date:      2014-03-19 11:34 -0400
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/22a7fa780701

6898851: Compiling against this corrupt class file causes a stacktrace from javac
Summary: Added check for index out-of-bounds erros in ClassReader
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/classreader/BadClass.java
! test/tools/javac/diags/examples.not-yet.txt

Changeset: 3b4e7a027fcc
Author:    pgovereau
Date:      2014-03-19 17:39 -0400
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/3b4e7a027fcc

8025505: Constant folding deficiency
Summary: Provide constant folding of equality tests involving constant and null.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/ConstFoldTest.java

Changeset: 57005bdeba6d
Author:    kizune
Date:      2014-03-20 15:13 +0400
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/57005bdeba6d

7118295: javac does not explicitly close -Xstdout file
Reviewed-by: ksrini, jjg

! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/main/Option.java
+ test/tools/javac/StdoutCloseTest.java

Changeset: 2303c31516a8
Author:    lana
Date:      2014-03-25 14:50 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/2303c31516a8

Merge


Changeset: 62256a27aaff
Author:    bpatel
Date:      2014-03-25 22:07 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/62256a27aaff

8031625: javadoc problems referencing inner class constructors
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
! src/share/classes/com/sun/tools/javadoc/SeeTagImpl.java
! test/com/sun/javadoc/testConstructors/TestConstructors.java
! test/com/sun/javadoc/testConstructors/pkg1/Outer.java

Changeset: 545b66f5c82a
Author:    jfranck
Date:      2014-03-26 12:18 +0100
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/545b66f5c82a

8038080: annotation processors don't visit declaration parameter annotations
Reviewed-by: darcy
Contributed-by: cushon at google.com, joel.franck at oracle.com

! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java
+ test/tools/javac/processing/environment/ProcessingEnvAnnoDiscovery.java
+ test/tools/javac/processing/environment/round/Anno.java
+ test/tools/javac/processing/environment/round/ParameterAnnotations.java
! test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java

Changeset: e66d02a089ab
Author:    kizune
Date:      2014-03-26 10:47 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/e66d02a089ab

8035956: javac, incomplete error message
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/OverrideChecks/IncompleteMessageOverride.java
+ test/tools/javac/OverrideChecks/IncompleteMessageOverride.out

Changeset: 9c6a23d6f96c
Author:    jjg
Date:      2014-03-26 17:50 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/9c6a23d6f96c

8035104: reorder class file attributes in javap listing
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/javap/ClassWriter.java
! test/tools/javap/T4975569.java
+ test/tools/javap/T8035104.java

Changeset: fa2bc0a4ac30
Author:    emc
Date:      2014-03-27 18:41 -0400
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/fa2bc0a4ac30

8035768: Move TypeAnnotationPosition from Attribute.Compound to Attribute.TypeCompound
Summary: Move position field into Compound, making Compound into a kind of "proto-annotation", representing the situation before we know what an Annotation's kink is
Reviewed-by: jjg

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

Changeset: 77357bbd6879
Author:    bpatel
Date:      2014-03-29 11:06 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/77357bbd6879

8029143: javadoc standard doclet should add Functional Interface blurb when @FunctionalInterface annotation is present
Reviewed-by: ksrini

! src/share/classes/com/sun/javadoc/ClassDoc.java
! src/share/classes/com/sun/tools/doclets/formats/html/ClassWriterImpl.java
! src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/share/classes/com/sun/tools/javadoc/RootDocImpl.java
! test/com/sun/javadoc/testLambdaFeature/TestLambdaFeature.java
! test/com/sun/javadoc/testLambdaFeature/pkg/A.java
! test/com/sun/javadoc/testLambdaFeature/pkg1/FuncInf.java
+ test/com/sun/javadoc/testLambdaFeature/pkg1/NotAFuncInf.java

Changeset: 2d06980994e0
Author:    jlahoda
Date:      2014-03-31 21:27 +0200
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/2d06980994e0

8035890: jdk8 javac -source 7 compiles test case it should not
Summary: Ensuring source level checks are performed in two additional cases related to type annotations, adding specialized error message for annotations after method type parameters.
Reviewed-by: jfranck, jjg

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateScoping.out
+ test/tools/javac/annotations/typeAnnotations/failures/CheckErrorsForSource7.java
! test/tools/javac/annotations/typeAnnotations/failures/common/arrays/DeclarationAnnotation.out
+ test/tools/javac/diags/examples/AnnotationsAfterTypeParamsNotSupportedInSource.java

Changeset: 6f773742b20f
Author:    kizune
Date:      2014-04-01 10:00 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/6f773742b20f

8031425: Two langtools/javac tests fail by timeout on Windows
Reviewed-by: jjg, vromero

! test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java
! test/tools/javac/lambda/FunctionalInterfaceConversionTest.java

Changeset: fdae9cd99ad8
Author:    lana
Date:      2014-04-01 17:25 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/fdae9cd99ad8

Merge


Changeset: a6ed73c27673
Author:    igerasim
Date:      2014-04-02 10:05 +0400
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/a6ed73c27673

8034044: Class.getModifiers() returns "static" for anonymous classes
Summary: Javac sets ACC_STATIC bit for anonymous classes which contradicts the JLS
Reviewed-by: jfranck

! 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/parser/JavacParser.java
+ test/tools/javac/T8034044.java

Changeset: e9c247637a24
Author:    pgovereau
Date:      2014-04-01 23:52 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/e9c247637a24

8034933: Update documentation for Types.directSupertypes to clarify behavior
Reviewed-by: darcy

! src/share/classes/javax/lang/model/util/Types.java
+ test/tools/javac/processing/model/util/DirectSuperOfInt.java

Changeset: ec1cfd55bf28
Author:    bpatel
Date:      2014-04-01 23:58 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/ec1cfd55bf28

8032066: Serialized form has broken links to non private inner classes of package private
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/SerializedFormWriterImpl.java
! test/com/sun/javadoc/testSerializedForm/TestSerializedForm.java
+ test/com/sun/javadoc/testSerializedForm/pkg1/NestedInnerClass.java
+ test/com/sun/javadoc/testSerializedForm/pkg1/PrivateIncludeInnerClass.java
+ test/com/sun/javadoc/testSerializedForm/pkg1/ProtectedInnerClass.java
+ test/com/sun/javadoc/testSerializedForm/pkg1/PublicExcludeInnerClass.java

Changeset: 9852f4b96d03
Author:    lana
Date:      2014-04-09 09:20 -0700
URL:       http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/9852f4b96d03

Merge




More information about the jdk9-all-changes mailing list