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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Aug 29 21:22:00 UTC 2014


Changeset: 50b448c5be54
Author:    jjg
Date:      2014-08-22 16:28 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/50b448c5be54

8044859: javac duplicates option processing when using Compiler API
Reviewed-by: mcimadamore, vromero, jlahoda

! make/build.properties
! src/jdk.compiler/share/classes/com/sun/source/util/JavacTask.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/DocLint.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/BasicJavacTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/main/Arguments.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java
! test/tools/javac/6410653/T6410653.java
! test/tools/javac/6457284/T6457284.java
! test/tools/javac/T6358166.java
! test/tools/javac/T6358168.java
! test/tools/javac/T8009640/CheckRejectProfileBCPOptionsIfUsedTogetherTest.java
! test/tools/javac/api/6410643/T6410643.java
! test/tools/javac/api/T6357331.java
! test/tools/javac/api/TestJavacTaskScanner.java
! test/tools/javac/api/TestJavacTask_Lock.java
! test/tools/javac/api/TestResolveError.java
! test/tools/javac/api/taskListeners/CompileEvent.java
! test/tools/javac/api/taskListeners/EventsBalancedTest.java
! test/tools/javac/failover/CheckAttributedTree.java
+ test/tools/javac/options/modes/AtFilesTest.java
+ test/tools/javac/options/modes/DocLintTest.java
+ test/tools/javac/options/modes/FSInfoTest.java
+ test/tools/javac/options/modes/InfoOptsTest.java
+ test/tools/javac/options/modes/NoOperandsTest.java
+ test/tools/javac/options/modes/OutputDirTest.java
+ test/tools/javac/options/modes/ProfileBootClassPathTest.java
+ test/tools/javac/options/modes/ProfileTargetTest.java
+ test/tools/javac/options/modes/SourceTargetTest.java
+ test/tools/javac/options/modes/StdOutTest.java
+ test/tools/javac/options/modes/Tester.java
! test/tools/javac/profiles/ProfileOptionTest.java
! test/tools/javac/versions/Versions.java

Changeset: f2518ce1dabc
Author:    mcimadamore
Date:      2014-08-26 12:45 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/f2518ce1dabc

8056055: IntelliJ source paths broken after modularization of langtools
Summary: Add 'share/classes' prefix to all src roots
Reviewed-by: jfranck

! make/intellij/langtools.iml

Changeset: 8e638f046bf0
Author:    jlahoda
Date:      2014-08-27 07:44 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/8e638f046bf0

8056061: Mark implementations of public interfaces with an annotation
Summary: Adding @DefinedBy annotation to mark methods that implement public API methods; annotating the methods; adding a coding rules analyzer to enforce all such methods are annotated.
Reviewed-by: jjg, mcimadamore, jfranck
Contributed-by: jan.lahoda at oracle.com, jonathan.gibbons at oracle.com

+ make/test/crules/DefinedByAnalyzer/Test.java
+ make/test/crules/DefinedByAnalyzer/Test.out
! make/tools/crules/AbstractCodingRulesAnalyzer.java
! make/tools/crules/CodingRulesAnalyzerPlugin.java
+ make/tools/crules/DefinedByAnalyzer.java
! make/tools/crules/resources/crules.properties
! src/jdk.compiler/share/classes/com/sun/tools/doclint/Checker.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/DocLint.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/BasicJavacTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacScope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/MultiTaskListener.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/WrappingJavaFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/AnnoConstruct.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Attribute.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacFiler.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacMessager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacRoundEnvironment.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocPretty.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/util/DefinedBy.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Name.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Position.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/SharedNameTable.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTool.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/LLNI.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/TypeSignature.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/Util.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/api/JavadocTaskImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/api/JavadocTool.java

Changeset: a75064469e3f
Author:    mcimadamore
Date:      2014-08-27 11:41 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/a75064469e3f

8056075: Add support for dumping inference dependency graphs
Summary: Add option '-XDdumpInferenceGraphTo=<folder>' to dump inference internal dependency graphs
Reviewed-by: jjg, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java

Changeset: 00d021d01485
Author:    ksrini
Date:      2014-08-27 06:25 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/00d021d01485

8038732: [javadoc] NetBeans IDE target does not build doclets
Reviewed-by: jjg, jlahoda

! make/build.properties
! make/build.xml
! make/tools/anttasks/GenStubsTask.java
! make/tools/anttasks/SelectToolTask.java

Changeset: bc4d5d9f30f0
Author:    ksrini
Date:      2014-08-26 08:12 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/bc4d5d9f30f0

8054925: [javadoc] refactor the Doclet start method.
Reviewed-by: jjg

! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java

Changeset: 506a8e26a53e
Author:    ksrini
Date:      2014-08-27 06:56 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/506a8e26a53e

8050031: [javadoc] class-use pages have duplicates and missing entries
Reviewed-by: jjg

! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/ClassUseWriter.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/ClassWriterImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassTree.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassUseMapper.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/Utils.java
! test/com/sun/javadoc/lib/JavadocTester.java
! test/com/sun/javadoc/testOrdering/TestOrdering.java
! test/com/sun/javadoc/testUseOption/TestUseOption.java
+ test/com/sun/javadoc/testUseOption/unique/C1.java
+ test/com/sun/javadoc/testUseOption/unique/UseMe.java

Changeset: 452dd2988607
Author:    alundblad
Date:      2014-08-28 17:38 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/452dd2988607

8054500: Refactor sjavac Main class into ClientMain and ServerMain
Summary: Restructured Main into ClientMain and ServerMain
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/Main.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/ClientMain.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/ServerMain.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java
! test/tools/sjavac/ExclPattern.java
! test/tools/sjavac/IgnoreSymbolFile.java
! test/tools/sjavac/OptionDecoding.java
! test/tools/sjavac/SJavac.java

Changeset: 23a08a5e36d6
Author:    darcy
Date:      2014-08-28 11:29 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/23a08a5e36d6

8056283: @ignore tools/javac/defaultMethods/Assertions.java until JDK-8047675 is fixed
Reviewed-by: ksrini

! test/tools/javac/defaultMethods/Assertions.java

Changeset: 9fbec2de1d14
Author:    sogoel
Date:      2014-08-28 23:42 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/9fbec2de1d14

8049126: golden files for annotations test in tools/java dir
Reviewed-by: jjg

! test/tools/javac/annotations/neg/AnnComma.java
+ test/tools/javac/annotations/neg/AnnComma.out
! test/tools/javac/annotations/neg/ArrayLit.java
+ test/tools/javac/annotations/neg/ArrayLit.out
! test/tools/javac/annotations/neg/Constant.java
+ test/tools/javac/annotations/neg/Constant.out
! test/tools/javac/annotations/neg/Cycle1.java
+ test/tools/javac/annotations/neg/Cycle1.out
! test/tools/javac/annotations/neg/Cycle2.java
+ test/tools/javac/annotations/neg/Cycle2.out
! test/tools/javac/annotations/neg/Cycle3.java
+ test/tools/javac/annotations/neg/Cycle3.out
! test/tools/javac/annotations/neg/Dup.java
+ test/tools/javac/annotations/neg/Dup.out
! test/tools/javac/annotations/neg/DupTarget.java
+ test/tools/javac/annotations/neg/DupTarget.out
! test/tools/javac/annotations/neg/MemberOver.java
+ test/tools/javac/annotations/neg/MemberOver.out

Changeset: 9e6adccdd77f
Author:    sogoel
Date:      2014-08-29 00:42 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/9e6adccdd77f

8055074: Group 9a: golden files for tests in tools/javac dir
Reviewed-by: jjg

! test/tools/javac/Ambig3.java
+ test/tools/javac/Ambig3.out
! test/tools/javac/BadAnnotation.java
+ test/tools/javac/BadAnnotation.out
! test/tools/javac/BadCovar.java
+ test/tools/javac/BadCovar.out
! test/tools/javac/BadHexConstant.java
+ test/tools/javac/BadHexConstant.out
! test/tools/javac/BoundClassError.java
+ test/tools/javac/BoundClassError.out
! test/tools/javac/BreakAcrossClass.java
+ test/tools/javac/BreakAcrossClass.out
! test/tools/javac/ClassIsAbstract.java
+ test/tools/javac/ClassIsAbstract.out
! test/tools/javac/ClassToTypeParm.java
+ test/tools/javac/ClassToTypeParm.out
! test/tools/javac/CompoundBox.java
+ test/tools/javac/CompoundBox.out

Changeset: 9e29021d0d13
Author:    alundblad
Date:      2014-08-29 14:58 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/9e29021d0d13

8056252: Incremental build fails on Windows
Summary: Changed from '/' to File.separatorChar
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/Source.java



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