Changeset: 1eb97b415d28 Author: rfield Date: 2017-01-31 17:01 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/1eb97b415d28
8173652: jshell tool: store history on fatal exit Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java Changeset: f38d10d479c1 Author: jlahoda Date: 2017-02-01 15:03 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/f38d10d479c1 8171294: Slow compilation with long classpaths under JDK 9 Summary: Precompute packages contained in jars, to quickly determine at the lookup time whether a jar contains the given package Reviewed-by: jjg Contributed-by: maurizio.cimadam...@oracle.com ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java Changeset: ca18223ce9ee Author: rfield Date: 2017-02-01 09:10 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/ca18223ce9ee 8173577: JShell tests: Some testng tests check nothing Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/execution/FailOverExecutionControlProvider.java ! src/jdk.jshell/share/classes/jdk/jshell/execution/JdiDefaultExecutionControl.java ! test/jdk/jshell/ExecutionControlTestBase.java ! test/jdk/jshell/FailOverDirectExecutionControlTest.java ! test/jdk/jshell/FailOverExecutionControlDyingLaunchTest.java Changeset: ec4be8a26914 Author: darcy Date: 2017-02-01 11:25 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/ec4be8a26914 8173676: Improvements to javax.annotation.processing and javax.lang.model doc Reviewed-by: anazarov ! src/java.compiler/share/classes/javax/annotation/processing/Filer.java ! src/java.compiler/share/classes/javax/annotation/processing/FilerException.java ! src/java.compiler/share/classes/javax/annotation/processing/Processor.java ! src/java.compiler/share/classes/javax/annotation/processing/RoundEnvironment.java ! src/java.compiler/share/classes/javax/lang/model/AnnotatedConstruct.java ! src/java.compiler/share/classes/javax/lang/model/UnknownEntityException.java ! src/java.compiler/share/classes/javax/lang/model/element/Element.java ! src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java ! src/java.compiler/share/classes/javax/lang/model/element/NestingKind.java ! src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java ! src/java.compiler/share/classes/javax/lang/model/element/Parameterizable.java ! src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java ! src/java.compiler/share/classes/javax/lang/model/element/UnknownAnnotationValueException.java ! src/java.compiler/share/classes/javax/lang/model/element/UnknownElementException.java ! src/java.compiler/share/classes/javax/lang/model/element/package-info.java ! src/java.compiler/share/classes/javax/lang/model/type/IntersectionType.java ! src/java.compiler/share/classes/javax/lang/model/type/UnionType.java ! src/java.compiler/share/classes/javax/lang/model/type/UnknownTypeException.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementFilter.java ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java Changeset: 3163200b0279 Author: ksrini Date: 2017-01-27 10:08 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/3163200b0279 8048628: javadoc strips HTML incorrectly; causes invalid generated HTML files Reviewed-by: jjg ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java + test/com/sun/javadoc/testNonInlineHtmlTagRemoval/C.java + test/com/sun/javadoc/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java + test/jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/C.java + test/jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java Changeset: b44fd58920e0 Author: jjg Date: 2017-02-01 14:38 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/b44fd58920e0 8173789: Fix broken test header Reviewed-by: darcy ! test/tools/javac/modules/ModulesAndModuleSourcePathTest.java Changeset: e9135022bef8 Author: bpatel Date: 2017-02-01 15:16 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/e9135022bef8 8169813: The index pages are sorted in a confusing manner Reviewed-by: jjg, ksrini ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java ! test/jdk/javadoc/doclet/testOrdering/TestOrdering.java Changeset: 23f90afa1006 Author: darcy Date: 2017-02-01 17:04 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/23f90afa1006 8173776: More javax.lang.model improvements to support modules Reviewed-by: jjg, jlahoda ! src/java.compiler/share/classes/javax/lang/model/element/Element.java ! src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java ! src/java.compiler/share/classes/javax/lang/model/type/NoType.java ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java ! test/tools/javac/processing/model/element/TestPackageElement.java Changeset: fed0944bb38a Author: darcy Date: 2017-02-01 19:48 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/fed0944bb38a 8173798: Tests for printing modules Reviewed-by: darcy Contributed-by: bsr...@gmail.com + test/tools/javac/processing/model/util/printing/module-info.java + test/tools/javac/processing/model/util/printing/module-info.out + test/tools/javac/processing/model/util/printing/p/P.java Changeset: 1fee6f0b43ba Author: bpatel Date: 2017-02-01 20:14 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/1fee6f0b43ba 8172528: problem generating JavaFX docs Reviewed-by: ksrini Contributed-by: jonathan.gibb...@oracle.com ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/PropertyWriterImpl.java ! test/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java Changeset: dc59890c8a7e Author: jjg Date: 2017-02-02 11:40 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/dc59890c8a7e 8166675: Latent bug in jar file handling during module path processing. Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java ! test/tools/javac/file/LimitedImage.java Changeset: b281bea7ebe9 Author: ksrini Date: 2017-02-02 10:50 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/b281bea7ebe9 8173667: Update command line help for -public -protected -package -private options Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc.properties Changeset: 0206870ea5af Author: lana Date: 2017-02-02 21:55 +0000 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/0206870ea5af Merge Changeset: fa6d7795efcd Author: jjg Date: 2017-02-02 14:34 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/fa6d7795efcd 8172807: Javac doesn't report errors on duplicate provides with different service implementations Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.jshell/share/classes/module-info.java ! test/tools/javac/diags/examples/DuplicateProvides/module-info.java + test/tools/javac/diags/examples/RepeatedProvidesForService/RepeatedProvides.java + test/tools/javac/diags/examples/RepeatedProvidesForService/modulesourcepath/m/module-info.java + test/tools/javac/diags/examples/RepeatedProvidesForService/modulesourcepath/m/p/A.java + test/tools/javac/diags/examples/RepeatedProvidesForService/modulesourcepath/m/p/B.java + test/tools/javac/diags/examples/RepeatedProvidesForService/modulesourcepath/m/p/I.java ! test/tools/javac/modules/ProvidesTest.java Changeset: 356966a1eed9 Author: bpatel Date: 2017-02-02 14:55 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/356966a1eed9 8173707: Javadoc generated pages should default to no-frames view Reviewed-by: jjg, ksrini ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/FrameOutputWriter.java ! test/jdk/javadoc/doclet/testFramesNoFrames/TestFramesNoFrames.java ! test/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Changeset: 7bb9b0d10b22 Author: vromero Date: 2017-02-03 08:16 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/7bb9b0d10b22 8172240: javac should not need the transitive closure to compile a module Reviewed-by: jjg Contributed-by: jan.lah...@oracle.com ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java + test/tools/javac/modules/MissingModuleTest.java Changeset: 693a87020034 Author: darcy Date: 2017-02-03 22:09 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/693a87020034 8173305: Trial reversion of langtools test changes for limited win32 address space Reviewed-by: jjg, amlu ! test/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java ! test/tools/javac/tree/JavacTreeScannerTest.java ! test/tools/javac/tree/SourceTreeScannerTest.java ! test/tools/javac/tree/TreePosTest.java ! test/tools/javac/varargs/7043922/T7043922.java Changeset: 31f3cfd70930 Author: lancea Date: 2017-02-04 14:05 -0500 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/31f3cfd70930 8173604: Rename module 8173604 java.annotations.common to java.xml.ws.annoations Reviewed-by: dfuchs, alanb, psandoz, mchung ! test/tools/javac/modules/AddLimitMods.java ! test/tools/jdeps/modules/SplitPackage.java Changeset: a9477dca2b57 Author: sadayapalam Date: 2017-02-06 13:12 +0530 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/a9477dca2b57 8173456: com.sun.tools.javac.util.Assert.error during code compilation Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/lambda/MethodReferenceNoThisTest.java + test/tools/javac/lambda/MethodReferenceNoThisTest.out Changeset: d22a3e726157 Author: jlahoda Date: 2017-02-06 11:11 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d22a3e726157 8173653: jshell tool: ctrl-C when in external editor aborts jshell -- history lost Summary: Disable Ctrl-C while running external editors. Reviewed-by: rfield ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java Changeset: ceeaf4cf083f Author: sadayapalam Date: 2017-02-06 18:14 +0530 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/ceeaf4cf083f 8166420: Confusing error message when reading bad module declaration Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ParserFactory.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.jshell/share/classes/jdk/jshell/ReplParserFactory.java + test/tools/javac/diags/examples/UnexpectedTokenInModuleInfo/module-info.java + test/tools/javac/modules/UnexpectedTokenInModuleInfoTest.java ! test/tools/javac/parser/extend/TrialParserFactory.java Changeset: dee2b0b32d77 Author: jlahoda Date: 2017-02-06 15:57 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/dee2b0b32d77 8173636: Results from Processor.getSupportedAnnotationTypes should be intepreted strictly Reviewed-by: darcy, jjg Contributed-by: joe.da...@oracle.com, jan.lah...@oracle.com ! src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java ! src/java.compiler/share/classes/javax/annotation/processing/Processor.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! test/tools/javac/modules/AnnotationProcessing.java Changeset: eb374ab43848 Author: rfield Date: 2017-02-06 09:00 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/eb374ab43848 8173848: JShell: less-than causes: reached end of file while parsing Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/CompletenessAnalyzer.java ! src/jdk.jshell/share/classes/jdk/jshell/Eval.java ! src/jdk.jshell/share/classes/jdk/jshell/ReplParser.java ! src/jdk.jshell/share/classes/jdk/jshell/ReplParserFactory.java ! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/TaskFactory.java ! test/jdk/jshell/SimpleRegressionTest.java ! test/jdk/jshell/ToolSimpleTest.java Changeset: e03fdd8cad0c Author: rfield Date: 2017-02-06 09:25 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/e03fdd8cad0c 8173807: JShell: control characters should be escaped in String values Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/jshell/execution/DirectExecutionControl.java ! test/jdk/jshell/SimpleRegressionTest.java Changeset: 25c52a7a2ef0 Author: jjg Date: 2017-02-06 12:35 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/25c52a7a2ef0 8172901: javac: 'opens' statement cannot specify non observable package Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties - test/tools/javac/diags/examples/PackageEmptyOrNotFound/PackageEmptyOrNotFound.java - test/tools/javac/diags/examples/PackageEmptyOrNotFound/modulesourcepath/m1x/module-info.java + test/tools/javac/diags/examples/PackageEmptyOrNotFoundError/PackageEmptyOrNotFound.java + test/tools/javac/diags/examples/PackageEmptyOrNotFoundError/modulesourcepath/m1x/module-info.java + test/tools/javac/diags/examples/PackageEmptyOrNotFoundWarning/PackageEmptyOrNotFound.java + test/tools/javac/diags/examples/PackageEmptyOrNotFoundWarning/modulesourcepath/m1x/module-info.java ! test/tools/javac/modules/ReportNonExistentPackageTest.java Changeset: a32aa9e380e5 Author: darcy Date: 2017-02-06 16:32 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/a32aa9e380e5 8173944: Reference Origin.MANDATED in getEnclosedElements specs Reviewed-by: jlahoda ! src/java.compiler/share/classes/javax/lang/model/element/Element.java ! src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java Changeset: 9a966d7c4708 Author: jjg Date: 2017-02-06 17:51 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/9a966d7c4708 8174051: fix terminology in javadoc comment Reviewed-by: darcy ! src/jdk.compiler/share/classes/com/sun/source/tree/ImportTree.java Changeset: 6f91e41163bc Author: cushon Date: 2017-02-06 17:19 -0800 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/6f91e41163bc 6388543: improve accuracy of source positions for AnnotationValue param of Messager.printMessage Reviewed-by: jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java ! test/tools/javac/processing/messager/6362067/T6362067.out + test/tools/javac/processing/messager/6388543/T6388543.java + test/tools/javac/processing/messager/6388543/T6388543.out Changeset: b5314160b084 Author: lana Date: 2017-02-09 17:21 +0000 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/b5314160b084 Added tag jdk-9+156 for changeset 6f91e41163bc ! .hgtags Changeset: 487f4f434f62 Author: alanb Date: 2017-02-09 20:53 +0000 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/487f4f434f62 Merge ! .hgtags ! src/java.compiler/share/classes/javax/lang/model/element/Element.java ! src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java ! src/java.compiler/share/classes/javax/lang/model/element/PackageElement.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementFilter.java ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc.properties ! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/TaskFactory.java ! src/jdk.jshell/share/classes/module-info.java ! test/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java ! test/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java - test/tools/javac/diags/examples/PackageEmptyOrNotFound/PackageEmptyOrNotFound.java - test/tools/javac/diags/examples/PackageEmptyOrNotFound/modulesourcepath/m1x/module-info.java + test/tools/javac/diags/examples/PackageEmptyOrNotFoundError/modulesourcepath/m1x/module-info.java + test/tools/javac/diags/examples/PackageEmptyOrNotFoundWarning/modulesourcepath/m1x/module-info.java ! test/tools/javac/modules/AddLimitMods.java ! test/tools/javac/modules/AnnotationProcessing.java ! test/tools/javac/modules/ProvidesTest.java ! test/tools/javac/modules/ReportNonExistentPackageTest.java ! test/tools/jdeps/modules/SplitPackage.java