hg: jdk9/hs-emb/langtools: 31 new changesets

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Jan 17 23:23:38 PST 2014


Changeset: 0a2edd52d017
Author:    vromero
Date:      2013-12-16 14:32 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/0a2edd52d017

8020216: javac, compile time error isn't shown when final static field is not assigned
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/flow/T8020216/CompileTimeErrorForNonAssignedStaticFieldTest.java
+ test/tools/javac/flow/T8020216/CompileTimeErrorForNonAssignedStaticFieldTest.out

Changeset: cd3f9e77eca4
Author:    vromero
Date:      2013-12-16 15:07 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/cd3f9e77eca4

8028708: TEST_BUG, Tests should pass through VM options, langtools tests
Reviewed-by: jjg, vromero
Contributed-by: andrey.x.nazarov at oracle.com

! test/tools/javac/api/ToolProvider/HelloWorldTest.java
! test/tools/javac/api/ToolProvider/ToolProviderTest1.java
! test/tools/javac/api/ToolProvider/ToolProviderTest2.java
! test/tools/javac/lib/ToolBox.java

Changeset: 27f2ac8ee5b5
Author:    vromero
Date:      2013-12-16 17:33 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/27f2ac8ee5b5

8030214: fix for JDK-8020216 breaks the build
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Flow.java
- test/tools/javac/flow/T8020216/CompileTimeErrorForNonAssignedStaticFieldTest.java
- test/tools/javac/flow/T8020216/CompileTimeErrorForNonAssignedStaticFieldTest.out

Changeset: f52909109e6d
Author:    darcy
Date:      2013-12-16 10:15 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f52909109e6d

8028545: Add -source 9 and -target 9 to javac
8000961: Change javac source and target default to 9
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/jvm/Profile.java
! src/share/classes/com/sun/tools/javac/jvm/Target.java
! test/tools/javac/6330997/T6330997.java
! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java
! test/tools/javac/profiles/ProfileOptionTest.java
! test/tools/javac/versions/check.sh

Changeset: e59a993abd88
Author:    jlahoda
Date:      2013-12-17 10:55 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/e59a993abd88

8029715: test needs bugID added to @bug tag
Summary: Adding forgotten bug number
Reviewed-by: vromero

! test/tools/javac/processing/model/type/IntersectionPropertiesTest.java

Changeset: bc18278c195e
Author:    jlahoda
Date:      2013-12-17 10:55 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/bc18278c195e

8029800: Flags.java uses String.toLowerCase without specifying Locale
Summary: Introducing StringUtils.toLowerCase/toUpperCase independent on the default locale, converting almost all usages of String.toLowerCase/toUpperCase to use the new methods.
Reviewed-by: jjg, bpatel

! src/share/classes/com/sun/tools/classfile/Instruction.java
! 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/MethodWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlAttr.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTag.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/MemberSummaryBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/SerializedFormBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/SimpleTaglet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/TagletManager.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java
! src/share/classes/com/sun/tools/doclint/Checker.java
! src/share/classes/com/sun/tools/doclint/Env.java
! src/share/classes/com/sun/tools/doclint/HtmlTag.java
! src/share/classes/com/sun/tools/doclint/Messages.java
! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/file/Locations.java
! src/share/classes/com/sun/tools/javac/main/Option.java
! src/share/classes/com/sun/tools/javac/parser/DocCommentParser.java
! src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java
+ src/share/classes/com/sun/tools/javac/util/StringUtils.java
! src/share/classes/com/sun/tools/javap/AttributeWriter.java
! src/share/classes/com/sun/tools/javap/TypeAnnotationWriter.java
! src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java
+ test/tools/javac/NoStringToLower.java
+ test/tools/javac/util/StringUtilsTest.java

Changeset: 55e4fd84b317
Author:    jlahoda
Date:      2013-12-17 10:58 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/55e4fd84b317

8028415: TreeMaker.Literal(Object) creates invalid JCLiterals when passed a Character.
Summary: JCLiteral for char must contain an Integer, not the provided Character.
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! test/tools/javac/tree/MakeLiteralTest.java

Changeset: 378aa10645e1
Author:    jlahoda
Date:      2013-12-17 10:58 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/378aa10645e1

8028235: Better error recovery for parsing 'void' as a type of the lambda parameter
Summary: Handle "void" as a primitive type in JavacParser.analyzeParens.
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/lambda/VoidLambdaParameter.java
+ test/tools/javac/lambda/VoidLambdaParameter.out
! test/tools/javac/parser/JavacParserTest.java

Changeset: 744e0f74f7a0
Author:    darcy
Date:      2013-12-17 10:28 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/744e0f74f7a0

8030080: Correct misstatement in JSR 269 MR (in javax.lang.model)
Reviewed-by: jfranck

! src/share/classes/javax/lang/model/type/IntersectionType.java
! src/share/classes/javax/lang/model/util/Types.java

Changeset: 9493a72cf1f5
Author:    emc
Date:      2013-12-17 18:15 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/9493a72cf1f5

8030642: Add golden files to javac/limits
Summary: Add golden files to check output of negative compilation tests in javac/limits
Reviewed-by: jjg, emc
Contributed-by: paul.govereau at oracle.com

! test/tools/javac/limits/ArrayDims2.java
! test/tools/javac/limits/ArrayDims4.java
! test/tools/javac/limits/ArrayDims5.java
! test/tools/javac/limits/CodeSize.java
! test/tools/javac/limits/LongName.java
! test/tools/javac/limits/PoolSize1.java
! test/tools/javac/limits/PoolSize2.java
! test/tools/javac/limits/StringLength.java

Changeset: c34aa8829e0a
Author:    emc
Date:      2013-12-17 19:27 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/c34aa8829e0a

8030687: Add .out files to fix failing tests
Summary: Forgot to hg add golden files in a previous fix
Reviewed-by: jjg

+ test/tools/javac/limits/ArrayDims2.out
+ test/tools/javac/limits/ArrayDims4.out
+ test/tools/javac/limits/ArrayDims5.out
+ test/tools/javac/limits/CodeSize.out
+ test/tools/javac/limits/LongName.out
+ test/tools/javac/limits/PoolSize1.out
+ test/tools/javac/limits/PoolSize2.out
+ test/tools/javac/limits/StringLength.out

Changeset: be07a9f8f5f0
Author:    briangoetz
Date:      2013-12-18 10:29 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/be07a9f8f5f0

8030253: Update langtools to use strings-in-switch
8030262: Update langtools to use foreach loops
8030245: Update langtools to use try-with-resources and multi-catch
Reviewed-by: darcy

! src/share/classes/com/sun/tools/classfile/Attributes.java
! src/share/classes/com/sun/tools/classfile/ClassWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/AbstractExecutableMemberWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/AbstractIndexWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/AllClassesFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ClassUseWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ClassWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/ConstructorWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/MethodWriterImpl.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/ProfilePackageFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ProfilePackageIndexFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/SourceToHTMLConverter.java
! src/share/classes/com/sun/tools/doclets/formats/html/SubWriterHolderWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTree.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ConstantsSummaryBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ConstructorBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/MemberSummaryBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ProfileSummaryBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/SerializedFormBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ParamTaglet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/SimpleTaglet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/TagletManager.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/TagletWriter.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ThrowsTaglet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ValueTaglet.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/ClassUseMapper.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DeprecatedAPIListBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocFile.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocFinder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Extern.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Group.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ImplementedMethods.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/IndexBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MetaKeywords.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MethodFinder.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
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java
! src/share/classes/com/sun/tools/doclint/DocLint.java
! src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/share/classes/com/sun/tools/javac/jvm/JNIWriter.java
! src/share/classes/com/sun/tools/javac/main/CommandLine.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/nio/PathFileObject.java
! src/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/share/classes/com/sun/tools/javac/sym/Profiles.java
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/Convert.java
! src/share/classes/com/sun/tools/javac/util/ListBuffer.java
! src/share/classes/com/sun/tools/javac/util/ServiceLoader.java
! src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/share/classes/com/sun/tools/javadoc/Comment.java
! src/share/classes/com/sun/tools/javadoc/DocLocale.java
! src/share/classes/com/sun/tools/javadoc/DocletInvoker.java
! src/share/classes/com/sun/tools/javadoc/SeeTagImpl.java
! src/share/classes/com/sun/tools/javadoc/SerializedForm.java
! src/share/classes/com/sun/tools/javah/JavahTool.java
! src/share/classes/com/sun/tools/javah/TypeSignature.java
! src/share/classes/com/sun/tools/javap/AnnotationWriter.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/StackMapWriter.java
! src/share/classes/com/sun/tools/sjavac/Log.java
! src/share/classes/com/sun/tools/sjavac/Main.java
! src/share/classes/javax/lang/model/SourceVersion.java

Changeset: aebf9484a765
Author:    ksrini
Date:      2013-12-06 09:07 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/aebf9484a765

8029504: Regression: TestDocRootLink test fails on Windows
Reviewed-by: bpatel, jjg

! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
! test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java

Changeset: 5147975ac108
Author:    vromero
Date:      2013-12-18 19:15 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/5147975ac108

8029569: internal javac cast exception when resolving varargs ambiguity
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/T8029569/VarargsAmbiguityCrashTest.java
+ test/tools/javac/T8029569/VarargsAmbiguityCrashTest.out

Changeset: 6015aabfbe6b
Author:    vromero
Date:      2013-12-18 19:22 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6015aabfbe6b

8029721: javac crash for annotated parameter type of lambda in a field
Reviewed-by: rfield, jfranck

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/tools/javac/annotations/typeAnnotations/newlocations/Lambda.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Lambda.java
! test/tools/javac/lambda/LambdaScope05.out

Changeset: b9bf5b3d5445
Author:    briangoetz
Date:      2013-12-18 16:05 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/b9bf5b3d5445

8030244: Update langtools to use Diamond
Reviewed-by: darcy

! src/share/classes/com/sun/source/doctree/AttributeTree.java
! src/share/classes/com/sun/source/doctree/DocTree.java
! src/share/classes/com/sun/source/tree/LambdaExpressionTree.java
! src/share/classes/com/sun/source/util/TaskEvent.java
! src/share/classes/com/sun/source/util/Trees.java
! src/share/classes/com/sun/tools/classfile/AccessFlags.java
! src/share/classes/com/sun/tools/classfile/Attribute.java
! src/share/classes/com/sun/tools/classfile/Attributes.java
! src/share/classes/com/sun/tools/classfile/CharacterRangeTable_attribute.java
! src/share/classes/com/sun/tools/classfile/Dependencies.java
! src/share/classes/com/sun/tools/classfile/Instruction.java
! src/share/classes/com/sun/tools/classfile/Opcode.java
! src/share/classes/com/sun/tools/classfile/ReferenceFinder.java
! src/share/classes/com/sun/tools/classfile/Signature.java
! src/share/classes/com/sun/tools/classfile/Type.java
! src/share/classes/com/sun/tools/classfile/TypeAnnotation.java
! src/share/classes/com/sun/tools/doclets/formats/html/AbstractMemberWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ClassUseWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/ConstructorWriterImpl.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/PackageUseWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/ContentBuilder.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocument.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlStyle.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTag.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTree.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/RawHtml.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeFieldBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeRequiredMemberBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/BuilderFactory.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ConstantsSummaryBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ConstructorBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/EnumConstantBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/FieldBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/MemberSummaryBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/MethodBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/PropertyBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/XMLNode.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ParamTaglet.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/TagletManager.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ThrowsTaglet.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/ClassUseMapper.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DeprecatedAPIListBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocFileFactory.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocFinder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocPaths.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Extern.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Group.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ImplementedMethods.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/IndexBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MetaKeywords.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/PackageListWriter.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/PathDocFileFactory.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SimpleDocFileFactory.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java
! src/share/classes/com/sun/tools/doclint/DocLint.java
! src/share/classes/com/sun/tools/doclint/Entity.java
! src/share/classes/com/sun/tools/doclint/Env.java
! src/share/classes/com/sun/tools/doclint/HtmlTag.java
! src/share/classes/com/sun/tools/doclint/Messages.java
! src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/share/classes/com/sun/tools/javac/api/DiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/api/MultiTaskListener.java
! src/share/classes/com/sun/tools/javac/api/WrappingJavaFileManager.java
! src/share/classes/com/sun/tools/javac/code/Attribute.java
! src/share/classes/com/sun/tools/javac/code/DeferredLintHandler.java
! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/SymbolMetadata.java
! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! 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/comp/CompileStates.java
! src/share/classes/com/sun/tools/javac/comp/ConstFold.java
! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/share/classes/com/sun/tools/javac/comp/Enter.java
! src/share/classes/com/sun/tools/javac/comp/Env.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/comp/Todo.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/share/classes/com/sun/tools/javac/file/Locations.java
! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/share/classes/com/sun/tools/javac/jvm/CRTable.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Code.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/share/classes/com/sun/tools/javac/jvm/JNIWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/share/classes/com/sun/tools/javac/jvm/Profile.java
! src/share/classes/com/sun/tools/javac/jvm/Target.java
! src/share/classes/com/sun/tools/javac/main/CommandLine.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/main/Option.java
! src/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.java
! src/share/classes/com/sun/tools/javac/model/JavacElements.java
! src/share/classes/com/sun/tools/javac/model/JavacTypes.java
! src/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/share/classes/com/sun/tools/javac/parser/DocCommentParser.java
! src/share/classes/com/sun/tools/javac/parser/JavaTokenizer.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/parser/LazyDocCommentTable.java
! src/share/classes/com/sun/tools/javac/parser/ParserFactory.java
! src/share/classes/com/sun/tools/javac/parser/Scanner.java
! src/share/classes/com/sun/tools/javac/parser/ScannerFactory.java
! src/share/classes/com/sun/tools/javac/parser/Tokens.java
! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java
! src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java
! src/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/share/classes/com/sun/tools/javac/sym/Profiles.java
! src/share/classes/com/sun/tools/javac/tree/DocTreeMaker.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/share/classes/com/sun/tools/javac/tree/TreeCopier.java
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/AbstractLog.java
! src/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/Context.java
! src/share/classes/com/sun/tools/javac/util/DiagnosticSource.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/share/classes/com/sun/tools/javac/util/JavacMessages.java
! src/share/classes/com/sun/tools/javac/util/List.java
! src/share/classes/com/sun/tools/javac/util/ListBuffer.java
! src/share/classes/com/sun/tools/javac/util/Log.java
! src/share/classes/com/sun/tools/javac/util/MandatoryWarningHandler.java
! src/share/classes/com/sun/tools/javac/util/Names.java
! src/share/classes/com/sun/tools/javac/util/Options.java
! src/share/classes/com/sun/tools/javac/util/Pair.java
! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/SharedNameTable.java
! src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/share/classes/com/sun/tools/javadoc/Comment.java
! src/share/classes/com/sun/tools/javadoc/DocEnv.java
! src/share/classes/com/sun/tools/javadoc/ExecutableMemberDocImpl.java
! src/share/classes/com/sun/tools/javadoc/JavadocTool.java
! src/share/classes/com/sun/tools/javadoc/PackageDocImpl.java
! src/share/classes/com/sun/tools/javadoc/RootDocImpl.java
! src/share/classes/com/sun/tools/javadoc/SeeTagImpl.java
! src/share/classes/com/sun/tools/javadoc/SerializedForm.java
! src/share/classes/com/sun/tools/javadoc/Start.java
! src/share/classes/com/sun/tools/javadoc/ToolOption.java
! src/share/classes/com/sun/tools/javah/Gen.java
! src/share/classes/com/sun/tools/javah/JNI.java
! src/share/classes/com/sun/tools/javah/JavahTask.java
! src/share/classes/com/sun/tools/javah/LLNI.java
! src/share/classes/com/sun/tools/javah/Mangle.java
! src/share/classes/com/sun/tools/javah/TypeSignature.java
! src/share/classes/com/sun/tools/javap/CodeWriter.java
! src/share/classes/com/sun/tools/javap/Context.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/LocalVariableTableWriter.java
! src/share/classes/com/sun/tools/javap/LocalVariableTypeTableWriter.java
! src/share/classes/com/sun/tools/javap/Options.java
! src/share/classes/com/sun/tools/javap/SourceWriter.java
! src/share/classes/com/sun/tools/javap/StackMapWriter.java
! src/share/classes/com/sun/tools/javap/TryBlockWriter.java
! src/share/classes/com/sun/tools/javap/TypeAnnotationWriter.java
! src/share/classes/com/sun/tools/jdeps/Analyzer.java
! src/share/classes/com/sun/tools/jdeps/ClassFileReader.java
! src/share/classes/com/sun/tools/jdeps/JdepsTask.java
! src/share/classes/com/sun/tools/sjavac/BuildState.java
! src/share/classes/com/sun/tools/sjavac/CleanProperties.java
! src/share/classes/com/sun/tools/sjavac/CompileChunk.java
! src/share/classes/com/sun/tools/sjavac/CompileProperties.java
! src/share/classes/com/sun/tools/sjavac/CopyFile.java
! src/share/classes/com/sun/tools/sjavac/JavacState.java
! src/share/classes/com/sun/tools/sjavac/Main.java
! src/share/classes/com/sun/tools/sjavac/Module.java
! src/share/classes/com/sun/tools/sjavac/Package.java
! src/share/classes/com/sun/tools/sjavac/Source.java
! src/share/classes/com/sun/tools/sjavac/Util.java
! src/share/classes/com/sun/tools/sjavac/comp/Dependencies.java
! src/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java
! src/share/classes/com/sun/tools/sjavac/server/CompilerPool.java
! src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java
! src/share/classes/com/sun/tools/sjavac/server/JavacServer.java
! src/share/classes/javax/annotation/processing/AbstractProcessor.java
! src/share/classes/javax/lang/model/SourceVersion.java
! src/share/classes/javax/lang/model/type/MirroredTypesException.java
! src/share/classes/javax/lang/model/util/ElementFilter.java
! src/share/classes/javax/tools/DiagnosticCollector.java
! src/share/classes/javax/tools/JavaFileObject.java
! src/share/classes/javax/tools/StandardLocation.java
! src/share/classes/javax/tools/ToolProvider.java

Changeset: c0ebdd10888c
Author:    emc
Date:      2013-12-19 11:38 -0500
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/c0ebdd10888c

8030726: tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
Summary: Fix NoStringToLower test to only enforce ban on String.toLowerCase on langtools classes
Reviewed-by: vromero, jfranck
Contributed-by: paul.govereau at oracle.com

! test/tools/javac/NoStringToLower.java

Changeset: a10c5a27b7be
Author:    vromero
Date:      2013-12-19 20:16 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/a10c5a27b7be

8030807: langtools should still build using jdk 7
Reviewed-by: briangoetz

! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DeprecatedAPIListBuilder.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java
! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java
! src/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/share/classes/com/sun/tools/javac/sym/Profiles.java
! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/share/classes/com/sun/tools/sjavac/JavacState.java
! src/share/classes/javax/tools/DiagnosticCollector.java
! src/share/classes/javax/tools/ToolProvider.java

Changeset: 8af87c6ebafc
Author:    vromero
Date:      2013-12-19 21:58 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/8af87c6ebafc

8030218: javac, compile time error isn't shown when final static field is not assigned, follow-up
Reviewed-by: jjg, jfranck, sundar

! src/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/flow/T8030218/CompileTimeErrorForNonAssignedStaticFieldTest.java
+ test/tools/javac/flow/T8030218/CompileTimeErrorForNonAssignedStaticFieldTest.out

Changeset: 41773f3d520b
Author:    vromero
Date:      2013-12-19 22:24 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/41773f3d520b

8029240: Default methods not always visible under -source 7
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
+ test/tools/javac/T8029240/DefaultMethodsNotVisibileForSource7Test.java
! test/tools/javac/scope/7046348/EagerInterfaceCompletionTest.java

Changeset: 6503222744ea
Author:    rfield
Date:      2013-12-22 21:57 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6503222744ea

8030626: java.lang.VerifyError: Bad return type when lambda's body is in parentheses
Summary: properly type convert the body of a lambda expression (forward port to JDK9 of 8029558)
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/lambda/LambdaParenGeneric.java
+ test/tools/javac/lambda/LambdaParenGenericOrig.java

Changeset: 0d0ca880c22e
Author:    darcy
Date:      2014-01-07 11:43 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/0d0ca880c22e

8028543: Add SourceVersion.RELEASE_9
Reviewed-by: jjg

! src/share/classes/javax/lang/model/SourceVersion.java
! test/tools/javac/api/T6395981.java
! test/tools/javac/processing/model/TestSourceVersion.java

Changeset: 28e6d4668450
Author:    darcy
Date:      2014-01-07 13:47 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/28e6d4668450

8031360: Update langtools code base to use RELEASE_9
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java
! test/tools/javac/lib/JavacTestingAbstractProcessor.java

Changeset: 077c12d527fb
Author:    darcy
Date:      2014-01-07 15:00 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/077c12d527fb

8000962: Update JDK_MINOR_VERSION for JDK 9
Reviewed-by: jjg, ksrini

! test/tools/javac/MethodParameters/AnnotationTest.java
! test/tools/javac/MethodParameters/AnonymousClass.java
! test/tools/javac/MethodParameters/CaptureTest.java
! test/tools/javac/MethodParameters/Constructors.java
! test/tools/javac/MethodParameters/EnumTest.java
! test/tools/javac/MethodParameters/InstanceMethods.java
! test/tools/javac/MethodParameters/LambdaTest.java
! test/tools/javac/MethodParameters/LocalClassTest.java
! test/tools/javac/MethodParameters/MemberClassTest.java
! test/tools/javac/MethodParameters/StaticMethods.java
! test/tools/javac/MethodParameters/UncommonParamNames.java

Changeset: a970979c412a
Author:    alundblad
Date:      2014-01-09 15:00 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/a970979c412a

8006730: remove workaround tests when jtreg updated
Summary: Removed temporary workaround test-files.
Reviewed-by: jjg

- test/tools/doclint/html/AAA.java
- test/tools/doclint/tidy/AAA.java
- test/tools/doclint/tool/AAA.java

Changeset: c1c20e618930
Author:    jlahoda
Date:      2014-01-10 11:31 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/c1c20e618930

8029376: Full attribution of unresolvable annotations
8029161: javac crashing when processing broken annotations
Summary: Attributing values of annotation attributes regardless how broken the annotation is.
Reviewed-by: jjg, jfranck

! src/share/classes/com/sun/tools/javac/comp/Annotate.java
+ test/tools/javac/annotations/neg/8022765/ErroneousAnnotations.java
+ test/tools/javac/annotations/neg/8022765/ErroneousAnnotations.out
! test/tools/javac/annotations/neg/8022765/T8022765.out
+ test/tools/javac/annotations/neg/8022765/VerifyErroneousAnnotationsAttributed.java
! test/tools/javac/annotations/testCrashNestedAnnos/TestCrashNestedAnnos.out
! test/tools/javac/annotations/typeAnnotations/failures/common/parambounds/BrokenAnnotation.out
! test/tools/javac/diags/examples/AnnotationMustBeNameValue.java

Changeset: f5f0872a1b84
Author:    alundblad
Date:      2014-01-10 12:47 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f5f0872a1b84

8028389: NullPointerException compiling annotation values that have bodies
Summary: Made sure anonymous class declarations inside class- and package-level annotations are properly entered.
Reviewed-by: jfranck

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
+ test/tools/javac/annotations/neg/AnonSubclass.java
+ test/tools/javac/annotations/neg/AnonSubclass.out
+ test/tools/javac/annotations/neg/pkg/AnonSubclassOnPkg.java
+ test/tools/javac/annotations/neg/pkg/package-info.java
+ test/tools/javac/annotations/neg/pkg/package-info.out

Changeset: 7163a6b6d8ea
Author:    jlahoda
Date:      2014-01-10 19:02 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/7163a6b6d8ea

8030049: RoundEnvironment.getElementsAnnotatedWith receives wrong elements
Summary: Match the required and actual annotations using Element equivalence rather than TypeMirror equivalence, to avoid trouble with erroneous types.
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java
! test/tools/javac/processing/environment/round/BuriedAnnotations.java
+ test/tools/javac/processing/environment/round/ErroneousAnnotations.java
+ test/tools/javac/processing/environment/round/ErroneousAnnotations.out
! test/tools/javac/processing/environment/round/Part1.java
! test/tools/javac/processing/environment/round/Part2.java
! test/tools/javac/processing/environment/round/SurfaceAnnotations.java
! test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java
! test/tools/javac/processing/environment/round/TypeParameterAnnotations.java

Changeset: 7d3855d1a6c3
Author:    jfranck
Date:      2014-01-15 10:57 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/7d3855d1a6c3

8029690: Move symbol creation from ClassReader to Symtab
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Enter.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/share/classes/com/sun/tools/javadoc/DocEnv.java
! src/share/classes/com/sun/tools/javadoc/JavadocClassReader.java
! test/tools/javac/6889255/T6889255.java

Changeset: c71cb4fbb329
Author:    jlahoda
Date:      2014-01-15 13:49 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/c71cb4fbb329

8028576: Incorrect RuntimeVisibleTypeAnnotations for exception parameters when not generating debuging info
Summary: The exception parameters with type annotations need to be added into the varBuffer even if not generating debug info
Reviewed-by: jjg, emc

! src/share/classes/com/sun/tools/javac/jvm/Code.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Driver.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/ExceptionParameters.java

Changeset: b49771a49320
Author:    darcy
Date:      2014-01-16 18:00 -0800
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/b49771a49320

8031745: Remove unneeded/obsolete -source/-target options in javac tests, part 1
Reviewed-by: jjg, sogoel

! test/tools/apt/Basics/CheckAptIsRemovedTest.java
! test/tools/javac/6341866/T6341866.java
- test/tools/javac/Capture.java
! test/tools/javac/ClassFileModifiers/MemberModifiers.java
! test/tools/javac/ConditionalArgTypes_1.java
- test/tools/javac/Source5.java
! test/tools/javac/T6394563.java
! test/tools/javac/T6394563.warn.out
! test/tools/javac/api/T6306137.java
! test/tools/javac/api/TestGetElementReference.java
! test/tools/javac/lambda/ByteCodeTest.java
! test/tools/javac/processing/environment/TestSourceVersion.java
! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java
- test/tools/javac/processing/warnings/gold_sv_warn_0_2.out
- test/tools/javac/processing/warnings/gold_sv_warn_2_3.out
! test/tools/javac/stackmap/StackMapTest.java
! test/tools/javac/unicode/Unmappable.java
- test/tools/javac/varargs/warning/Warn1.java
! test/tools/javap/output/Tester.java
! test/tools/javap/typeAnnotations/JSR175Annotations.java
! test/tools/javap/typeAnnotations/NewArray.java
! test/tools/javap/typeAnnotations/Presence.java
! test/tools/javap/typeAnnotations/PresenceInner.java
! test/tools/javap/typeAnnotations/TypeCasts.java
! test/tools/javap/typeAnnotations/Visibility.java
! test/tools/javap/typeAnnotations/Wildcards.java



More information about the jdk9-hs-emb-changes mailing list