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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Jun 27 18:03:11 UTC 2014


Changeset: 6c8c530a1b1b
Author:    vromero
Date:      2014-06-20 20:36 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/6c8c530a1b1b

8044546: Crash on faulty reduce/lambda
Reviewed-by: mcimadamore, dlsmith
Contributed-by: maurizio.cimadamore at oracle.com, vicente.romero at oracle.com

! src/share/classes/com/sun/tools/javac/code/Types.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/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/inference/T8044546/CrashImplicitLambdaTest.java
+ test/tools/javac/generics/inference/T8044546/NestedInvocationsTest.java

Changeset: db0bca6feeb2
Author:    sogoel
Date:      2014-06-20 13:26 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/db0bca6feeb2

8047300: update tools/javadoc/6227454 test for missing <DOCTYPE> tags
Reviewed-by: jjg, ksrini

! test/tools/javadoc/6227454/Test.java

Changeset: 97731dc59ef6
Author:    rfield
Date:      2014-06-24 00:43 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/97731dc59ef6

8037404: javac NPE or VerifyError for code with constructor reference of inner class
8047341: lambda reference to inner class in base class causes LambdaConversionException
8044748: JVM cannot access constructor though ::new reference although can call it directly
8044737: Lambda: NPE while obtaining method reference through lambda expression
Summary: revamp and simplify handling of complex method references
Reviewed-by: dlsmith, vromero

! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/tools/javac/T8019486/WrongLNTForLambdaTest.java

Changeset: f935f27abaef
Author:    mcimadamore
Date:      2014-06-24 16:04 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f935f27abaef

8046451: Add basic IntelliJ support for langtools
Summary: Add new ant target 'idea' to create IntelliJ langtools project
Reviewed-by: jjg

! .hgignore
! make/build.xml
+ make/intellij/ant.xml
+ make/intellij/build.xml
+ make/intellij/compiler.xml
+ make/intellij/inspectionProfiles/langtools.xml
+ make/intellij/inspectionProfiles/profiles_settings.xml
+ make/intellij/langtools.iml
+ make/intellij/misc.xml
+ make/intellij/modules.xml
+ make/intellij/vcs.xml
+ make/intellij/workspace.xml

Changeset: 9fe158562a96
Author:    darcy
Date:      2014-06-24 10:51 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/9fe158562a96

7196160: Project Coin: allow @SafeVarargs on private methods
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Source.java
! 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/VarargsFinalOnly.java
! test/tools/javac/varargs/warning/Warn4.java
! test/tools/javac/varargs/warning/Warn5.java

Changeset: 65ad8ee1ff0f
Author:    ksrini
Date:      2014-06-24 15:15 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/65ad8ee1ff0f

8047157: [javadoc] fixup tests for determinism and add classes uses
Reviewed-by: jjg

! test/com/sun/javadoc/testHtmlTag/TestHtmlTag.java
! test/com/sun/javadoc/testUseOption/TestUseOption.java
! test/com/sun/javadoc/testUseOption/pkg1/C1.java
+ test/com/sun/javadoc/testUseOption/pkg1/C10.java
+ test/com/sun/javadoc/testUseOption/pkg1/C9.java
+ test/com/sun/javadoc/testUseOption/pkg1/UsedInterface.java
+ test/com/sun/javadoc/testUseOption/pkg1/UsedInterfaceA.java

Changeset: 2b6b96ed3878
Author:    rfield
Date:      2014-06-25 11:22 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/2b6b96ed3878

8048121: javac complex method references: revamp and simplify
8038776: VerifyError when running successfully compiled java class
Summary: Add tests missing from the push of 8037404
Reviewed-by: dlsmith, vromero

+ test/tools/javac/lambda/methodReference/MethodRefNewInnerBootstrap.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaNPE1.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaNPE2.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaVerify1.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaVerify2.java
+ test/tools/javac/lambda/methodReference/MethodRefNewInnerInLambdaVerify2simple.java
+ test/tools/javac/lambda/methodReference/MethodRefQualifier1.java
+ test/tools/javac/lambda/methodReference/MethodRefSingleRefEvalBridge.java
+ test/tools/javac/lambda/methodReference/MethodRefToInner.java
+ test/tools/javac/lambda/methodReference/MethodReferenceComplexNullCheckTest.java

Changeset: 3c49a62452a0
Author:    jjg
Date:      2014-06-25 17:58 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/3c49a62452a0

8046613: Fill in missing doc comments
Reviewed-by: darcy

! src/share/classes/com/sun/javadoc/AnnotatedType.java

Changeset: e0e50718a250
Author:    jjg
Date:      2014-06-25 19:04 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/e0e50718a250

8046614: Fill in missing doc comments
Reviewed-by: darcy

! src/share/classes/com/sun/source/doctree/AttributeTree.java
! src/share/classes/com/sun/source/doctree/AuthorTree.java
! src/share/classes/com/sun/source/doctree/BlockTagTree.java
! src/share/classes/com/sun/source/doctree/CommentTree.java
! src/share/classes/com/sun/source/doctree/DeprecatedTree.java
! src/share/classes/com/sun/source/doctree/DocCommentTree.java
! src/share/classes/com/sun/source/doctree/DocTree.java
! src/share/classes/com/sun/source/doctree/DocTreeVisitor.java
! src/share/classes/com/sun/source/doctree/EndElementTree.java
! src/share/classes/com/sun/source/doctree/EntityTree.java
! src/share/classes/com/sun/source/doctree/ErroneousTree.java
! src/share/classes/com/sun/source/doctree/IdentifierTree.java
! src/share/classes/com/sun/source/doctree/InlineTagTree.java
! src/share/classes/com/sun/source/doctree/LinkTree.java
! src/share/classes/com/sun/source/doctree/LiteralTree.java
! src/share/classes/com/sun/source/doctree/ParamTree.java
! src/share/classes/com/sun/source/doctree/ReferenceTree.java
! src/share/classes/com/sun/source/doctree/ReturnTree.java
! src/share/classes/com/sun/source/doctree/SeeTree.java
! src/share/classes/com/sun/source/doctree/SerialDataTree.java
! src/share/classes/com/sun/source/doctree/SerialFieldTree.java
! src/share/classes/com/sun/source/doctree/SerialTree.java
! src/share/classes/com/sun/source/doctree/SinceTree.java
! src/share/classes/com/sun/source/doctree/StartElementTree.java
! src/share/classes/com/sun/source/doctree/TextTree.java
! src/share/classes/com/sun/source/doctree/ThrowsTree.java
! src/share/classes/com/sun/source/doctree/UnknownBlockTagTree.java
! src/share/classes/com/sun/source/doctree/UnknownInlineTagTree.java
! src/share/classes/com/sun/source/doctree/ValueTree.java
! src/share/classes/com/sun/source/doctree/VersionTree.java
! src/share/classes/com/sun/source/tree/AnnotatedTypeTree.java
! src/share/classes/com/sun/source/tree/AnnotationTree.java
! src/share/classes/com/sun/source/tree/ArrayAccessTree.java
! src/share/classes/com/sun/source/tree/ArrayTypeTree.java
! src/share/classes/com/sun/source/tree/AssertTree.java
! src/share/classes/com/sun/source/tree/AssignmentTree.java
! src/share/classes/com/sun/source/tree/BinaryTree.java
! src/share/classes/com/sun/source/tree/BlockTree.java
! src/share/classes/com/sun/source/tree/BreakTree.java
! src/share/classes/com/sun/source/tree/CaseTree.java
! src/share/classes/com/sun/source/tree/CatchTree.java
! src/share/classes/com/sun/source/tree/ClassTree.java
! src/share/classes/com/sun/source/tree/CompilationUnitTree.java
! src/share/classes/com/sun/source/tree/CompoundAssignmentTree.java
! src/share/classes/com/sun/source/tree/ConditionalExpressionTree.java
! src/share/classes/com/sun/source/tree/ContinueTree.java
! src/share/classes/com/sun/source/tree/DoWhileLoopTree.java
! src/share/classes/com/sun/source/tree/EnhancedForLoopTree.java
! src/share/classes/com/sun/source/tree/ErroneousTree.java
! src/share/classes/com/sun/source/tree/ExpressionStatementTree.java
! src/share/classes/com/sun/source/tree/ForLoopTree.java
! src/share/classes/com/sun/source/tree/IdentifierTree.java
! src/share/classes/com/sun/source/tree/IfTree.java
! src/share/classes/com/sun/source/tree/ImportTree.java
! src/share/classes/com/sun/source/tree/InstanceOfTree.java
! src/share/classes/com/sun/source/tree/IntersectionTypeTree.java
! src/share/classes/com/sun/source/tree/LabeledStatementTree.java
! src/share/classes/com/sun/source/tree/LambdaExpressionTree.java
! src/share/classes/com/sun/source/tree/LineMap.java
! src/share/classes/com/sun/source/tree/LiteralTree.java
! src/share/classes/com/sun/source/tree/MemberReferenceTree.java
! src/share/classes/com/sun/source/tree/MemberSelectTree.java
! src/share/classes/com/sun/source/tree/MethodInvocationTree.java
! src/share/classes/com/sun/source/tree/MethodTree.java
! src/share/classes/com/sun/source/tree/ModifiersTree.java
! src/share/classes/com/sun/source/tree/NewArrayTree.java
! src/share/classes/com/sun/source/tree/NewClassTree.java
! src/share/classes/com/sun/source/tree/PackageTree.java
! src/share/classes/com/sun/source/tree/ParameterizedTypeTree.java
! src/share/classes/com/sun/source/tree/ParenthesizedTree.java
! src/share/classes/com/sun/source/tree/PrimitiveTypeTree.java
! src/share/classes/com/sun/source/tree/ReturnTree.java
! src/share/classes/com/sun/source/tree/Scope.java
! src/share/classes/com/sun/source/tree/SwitchTree.java
! src/share/classes/com/sun/source/tree/SynchronizedTree.java
! src/share/classes/com/sun/source/tree/ThrowTree.java
! src/share/classes/com/sun/source/tree/Tree.java
! src/share/classes/com/sun/source/tree/TreeVisitor.java
! src/share/classes/com/sun/source/tree/TryTree.java
! src/share/classes/com/sun/source/tree/TypeCastTree.java
! src/share/classes/com/sun/source/tree/TypeParameterTree.java
! src/share/classes/com/sun/source/tree/UnaryTree.java
! src/share/classes/com/sun/source/tree/UnionTypeTree.java
! src/share/classes/com/sun/source/tree/VariableTree.java
! src/share/classes/com/sun/source/tree/WhileLoopTree.java
! src/share/classes/com/sun/source/tree/WildcardTree.java
! src/share/classes/com/sun/source/util/DocSourcePositions.java
! src/share/classes/com/sun/source/util/DocTreePath.java
! src/share/classes/com/sun/source/util/DocTreePathScanner.java
! src/share/classes/com/sun/source/util/DocTreeScanner.java
! src/share/classes/com/sun/source/util/DocTrees.java
! src/share/classes/com/sun/source/util/JavacTask.java
! src/share/classes/com/sun/source/util/Plugin.java
! src/share/classes/com/sun/source/util/SimpleDocTreeVisitor.java
! src/share/classes/com/sun/source/util/SimpleTreeVisitor.java
! src/share/classes/com/sun/source/util/SourcePositions.java
! src/share/classes/com/sun/source/util/TaskEvent.java
! src/share/classes/com/sun/source/util/TaskListener.java
! src/share/classes/com/sun/source/util/TreePath.java
! src/share/classes/com/sun/source/util/TreePathScanner.java
! src/share/classes/com/sun/source/util/TreeScanner.java
! src/share/classes/com/sun/source/util/Trees.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ProfileIndexFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ProfilePackageIndexFrameWriter.java
! src/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/share/classes/com/sun/tools/javac/parser/DocCommentParser.java
! src/share/classes/com/sun/tools/javac/util/JavacMessages.java
! src/share/classes/com/sun/tools/javac/util/MandatoryWarningHandler.java
! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javah/NativeHeaderTool.java
! src/share/classes/com/sun/tools/javap/DisassemblerTool.java
! src/share/classes/javax/tools/Diagnostic.java
! src/share/classes/javax/tools/DiagnosticCollector.java
! src/share/classes/javax/tools/DocumentationTool.java
! src/share/classes/javax/tools/FileObject.java
! src/share/classes/javax/tools/JavaCompiler.java
! src/share/classes/javax/tools/JavaFileManager.java
! src/share/classes/javax/tools/JavaFileObject.java
! src/share/classes/javax/tools/StandardJavaFileManager.java
! src/share/classes/javax/tools/StandardLocation.java
! src/share/classes/javax/tools/Tool.java
! src/share/classes/javax/tools/ToolProvider.java

Changeset: 0099245e979a
Author:    jjg
Date:      2014-06-25 19:15 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/0099245e979a

8048162: Restrict catch type from Throwable to ReflectiveOperationException
Reviewed-by: darcy

! src/share/classes/com/sun/source/util/Trees.java

Changeset: 0518710873ff
Author:    pgovereau
Date:      2014-06-26 13:48 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/0518710873ff

8042345: getDocComment fails for doc comments on PackageElement found in package-info.java
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
+ test/tools/javac/processing/model/util/elements/doccomments/TestPackageInfoComments.java
+ test/tools/javac/processing/model/util/elements/doccomments/p/package-info.java

Changeset: 020679d7393f
Author:    jjg
Date:      2014-06-26 11:31 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/020679d7393f

8047183: JDK build fails with sjavac enabled
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java
! src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java
+ test/tools/sjavac/IgnoreSymbolFile.java

Changeset: 72b438e9500a
Author:    jjg
Date:      2014-06-26 11:45 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/72b438e9500a

8007307: DPrinter: support the DocTree API
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! test/tools/javac/lib/DPrinter.java

Changeset: 2a83edbd9e4c
Author:    sogoel
Date:      2014-06-26 15:21 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/2a83edbd9e4c

8047303: update com/sun/javadoc/DocRootSlash/DocRootSlash for unexpected </a>
Reviewed-by: jjg, ksrini

! test/com/sun/javadoc/DocRootSlash/overview.html
! test/com/sun/javadoc/DocRootSlash/p1/package.html

Changeset: 197330877ece
Author:    sogoel
Date:      2014-06-26 15:30 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/197330877ece

8047743: update com/sun/javadoc/testHref for unrecognized <action>
Reviewed-by: jjg, ksrini

- test/com/sun/javadoc/testHref/pkg/C3.java

Changeset: 30107d3a97b2
Author:    sogoel
Date:      2014-06-26 15:41 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/30107d3a97b2

8047744: update 2 javadoc tests for nested emphasis <code>
Reviewed-by: jjg, ksrini

! test/com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
! test/com/sun/javadoc/testHtmlDefinitionListTag/pkg1/C2.java
! test/com/sun/javadoc/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java
! test/com/sun/javadoc/testSerializedFormDeprecationInfo/pkg1/C2.java

Changeset: e95a75d1098c
Author:    sogoel
Date:      2014-06-26 15:47 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/e95a75d1098c

8048168: update 2 javadoc tests to add summary attribute for table tag
Reviewed-by: jjg, ksrini

! test/com/sun/javadoc/testHtmlTableStyles/TestHtmlTableStyles.java
! test/com/sun/javadoc/testHtmlTableStyles/pkg1/TestTable.java
! test/com/sun/javadoc/testLegacyTaglet/TestLegacyTaglet.java
! test/com/sun/javadoc/testLegacyTaglet/ToDoTaglet.java

Changeset: 0ae21b11d85b
Author:    sogoel
Date:      2014-06-26 16:07 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/0ae21b11d85b

8047316: update javadoc tests to fix tidy warning for incorrect html comment
Reviewed-by: jjg, ksrini

! test/com/sun/javadoc/DocRootSlash/overview.html
! test/com/sun/javadoc/DocRootSlash/p1/C1.java
! test/com/sun/javadoc/DocRootSlash/p1/package.html

Changeset: 18e2c22d5c2e
Author:    sogoel
Date:      2014-06-26 16:39 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/18e2c22d5c2e

8048293: update tools/javadoc/6227454 to have missing <head> tag
Reviewed-by: jjg, bpatel

! test/tools/javadoc/6227454/Test.java



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