Changeset: fd398d3bb56a Author: mcimadamore Date: 2016-05-16 12:03 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/fd398d3bb56a
8157030: langtools dev build broken after classfile version bump Summary: fix build to use different source/target version when compiling build tools Reviewed-by: jlahoda ! make/build.properties ! make/build.xml Changeset: 5c3dfebefa4a Author: mcimadamore Date: 2016-05-16 13:05 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/5c3dfebefa4a 8153884: Expression lambda erroneously compatible with void-returning descriptor Summary: Fix lambda compatibility check for void returning expressions Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/Diagnostics/compressed/T8012003b.out + test/tools/javac/diags/examples/StatExprExpected.java + test/tools/javac/lambda/8153884/T8153884.java + test/tools/javac/lambda/8153884/T8153884.out ! test/tools/javac/lambda/LambdaExpr10.out ! test/tools/javac/lambda/LambdaExprNotVoid.out Changeset: a81036905c63 Author: mcimadamore Date: 2016-05-16 13:07 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/a81036905c63 8156180: javac accepts code that violates JLS chapter 16 Summary: DA/DU analysis should skip parenthesis around variable references Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java + test/tools/javac/DefiniteAssignment/8156180/T8156180.java + test/tools/javac/DefiniteAssignment/8156180/T8156180.out Changeset: 047fbc74ebaa Author: jlahoda Date: 2016-05-16 15:41 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/047fbc74ebaa 8054562: document skip results in RunCodingRules.java Summary: Documenting when RunCodingRules gets skipped; adding a short description of AssertCheckAnalyzer and MutableFieldsAnalyzer Reviewed-by: jjg ! make/tools/crules/AssertCheckAnalyzer.java ! make/tools/crules/MutableFieldsAnalyzer.java ! test/tools/all/RunCodingRules.java Changeset: 97132c765562 Author: jlahoda Date: 2016-05-16 15:41 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/97132c765562 8078559: Update error message to indicate illegal character when encoding set to ascii Summary: When an input character cannot be decoded, include it in the produced error Reviewed-by: jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileManager.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/unicode/Unmappable.java ! test/tools/javac/unicode/Unmappable.out Changeset: b00a838598ab Author: mcimadamore Date: 2016-05-16 14:51 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/b00a838598ab 8154180: Regression: stuck expressions do not behave correctly Summary: ArgumentAttr should not cache stuck trees Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java + test/tools/javac/lambda/speculative/8154180/T8154180a.java + test/tools/javac/lambda/speculative/8154180/T8154180b.java + test/tools/javac/lambda/speculative/8154180/T8154180b.out Changeset: 7e067140b496 Author: rfield Date: 2016-05-16 21:25 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/7e067140b496 8154812: jshell tool: value printing truncation Reviewed-by: vromero ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties ! test/jdk/jshell/ToolFormatTest.java Changeset: d59aae1fe07b Author: rfield Date: 2016-05-16 21:46 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d59aae1fe07b 8153920: jshell tool: allow a parameter on the /vars /methods /classes commands Reviewed-by: vromero ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties ! test/jdk/jshell/CommandCompletionTest.java ! test/jdk/jshell/EditorTestBase.java ! test/jdk/jshell/ReplToolTesting.java ! test/jdk/jshell/ToolBasicTest.java ! test/jdk/jshell/ToolReloadTest.java ! test/jdk/jshell/ToolSimpleTest.java Changeset: 3f0c6071b611 Author: redestad Date: 2016-05-17 01:35 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/3f0c6071b611 8157102: Avoid exceptional control flow in Configuration.getText Reviewed-by: jjg ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/MessageRetriever.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Configuration.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/MessageRetriever.java Changeset: d671601a2f2e Author: mcimadamore Date: 2016-05-17 17:53 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d671601a2f2e 8156954: javac incorrectly complains of incompatible types Summary: Add heuristics to pick best stuck constraint as per JLS 18.5.2 Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java + test/tools/javac/generics/inference/8156954/T8156954.java Changeset: cf467a017641 Author: jjg Date: 2016-05-17 10:11 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/cf467a017641 8149599: Update Minefield test Reviewed-by: martin ! test/ProblemList.txt ! test/tools/javac/Paths/MineField.sh ! test/tools/javac/Paths/Util.sh Changeset: 0edb0950d500 Author: jjg Date: 2016-05-17 10:13 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/0edb0950d500 Merge Changeset: e0bc2c27ecf3 Author: sadayapalam Date: 2016-05-18 11:38 +0530 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/e0bc2c27ecf3 8154997: Add examples for jigsaw diagnostics Reviewed-by: jjg, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/diags/Example.java ! test/tools/javac/diags/examples.not-yet.txt + test/tools/javac/diags/examples/AddmodsAllModulePathInvalid/module-info.java + test/tools/javac/diags/examples/CantFindModule/CantFindModule.java + test/tools/javac/diags/examples/CyclicRequires/CyclicRequires.java + test/tools/javac/diags/examples/CyclicRequires/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/CyclicRequires/modulesourcepath/m2/module-info.java + test/tools/javac/diags/examples/DirPathElementNotDirectory/DirPathElementNotDirectory.java + test/tools/javac/diags/examples/DirPathElementNotDirectory/modulesourcepath + test/tools/javac/diags/examples/DuplicateExports/exported/Class.java + test/tools/javac/diags/examples/DuplicateExports/module-info.java + test/tools/javac/diags/examples/DuplicateModule/DuplicateModule.java + test/tools/javac/diags/examples/DuplicateModule/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/DuplicateModule/modulesourcepath/m2/module-info.java + test/tools/javac/diags/examples/DuplicateProvides/exported/Service.java + test/tools/javac/diags/examples/DuplicateProvides/impl/ServiceImplementation.java + test/tools/javac/diags/examples/DuplicateProvides/module-info.java + test/tools/javac/diags/examples/DuplicateRequires/module-info.java + test/tools/javac/diags/examples/DuplicateUses/exported/Service.java + test/tools/javac/diags/examples/DuplicateUses/module-info.java + test/tools/javac/diags/examples/IllegalArgumentForOption/IllegalArgumentForOption.java + test/tools/javac/diags/examples/InvalidArgForXPatch/InvalidArgForXpatch.java + test/tools/javac/diags/examples/ModuleDeclSbInModuleInfoJava.java + test/tools/javac/diags/examples/ModuleInfoWithXModuleSourcePath/Extra.java + test/tools/javac/diags/examples/ModuleInfoWithXModuleSourcePath/module-info.java + test/tools/javac/diags/examples/ModuleInfoWithXmoduleClasspath/ModuleInfoWithXmoduleClasspath.java + test/tools/javac/diags/examples/ModuleInfoWithXmoduleClasspath/additional/module-info.java + test/tools/javac/diags/examples/ModuleInfoWithoutModule/ModuleInfoWithoutModule.java + test/tools/javac/diags/examples/ModuleInfoWithoutModule/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/ModuleNameMismatch/ModuleNameMismatch.java + test/tools/javac/diags/examples/ModuleNameMismatch/modulesourcepath/m/module-info.java + test/tools/javac/diags/examples/ModuleNotFound/module-info.java + test/tools/javac/diags/examples/ModuleNotFoundInModuleSourcePath/ModuleNotFoundInModuleSourcePath.java + test/tools/javac/diags/examples/ModuleSourcePathMustWithDashM/ModuleSourcePathMustWithDashM.java + test/tools/javac/diags/examples/ModulesNotSupportedInSource/module-info.java + test/tools/javac/diags/examples/MultiModuleOutputCannotBeExplodedModule/MultiModuleOutputCannotBeExplodedModule.java + test/tools/javac/diags/examples/MultiModuleOutputCannotBeExplodedModule/additional/m1/module-info.java + test/tools/javac/diags/examples/MultiModuleOutputCannotBeExplodedModule/modulesourcepath/m2/module-info.java + test/tools/javac/diags/examples/NotDefAccessClassPackageCantAccess/NotDefAccessClassPackageCantAccess.java + test/tools/javac/diags/examples/NotDefAccessClassPackageCantAccess/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/NotDefAccessClassPackageCantAccess/modulesourcepath/m1/p1/C1.java + test/tools/javac/diags/examples/NotDefAccessClassPackageCantAccess/modulesourcepath/m2/module-info.java + test/tools/javac/diags/examples/NotDefAccessClassPackageCantAccess/modulesourcepath/m2/p2/C2.java + test/tools/javac/diags/examples/PackageClashFromRequires/PackageClashFromRequires.java + test/tools/javac/diags/examples/PackageClashFromRequires/modulesourcepath/lib1/exported/Api1.java + test/tools/javac/diags/examples/PackageClashFromRequires/modulesourcepath/lib1/module-info.java + test/tools/javac/diags/examples/PackageClashFromRequires/modulesourcepath/lib2/exported/Api2.java + test/tools/javac/diags/examples/PackageClashFromRequires/modulesourcepath/lib2/module-info.java + test/tools/javac/diags/examples/PackageClashFromRequires/modulesourcepath/use/module-info.java + test/tools/javac/diags/examples/PackageEmptyOrNotFound/PackageEmptyOrNotFound.java + test/tools/javac/diags/examples/PackageEmptyOrNotFound/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/PackageInOtherModule/PackageInOtherModule.java + test/tools/javac/diags/examples/ProcessorPathNoProcessorModulePath/ProcessorPathNoProcessorModulePath.java + test/tools/javac/diags/examples/ServiceDefinitionInner/ServiceDefinitionInner.java + test/tools/javac/diags/examples/ServiceDefinitionInner/modulesourcepath/m/module-info.java + test/tools/javac/diags/examples/ServiceDefinitionInner/modulesourcepath/m/p1/C1.java + test/tools/javac/diags/examples/ServiceDefinitionInner/modulesourcepath/m/p2/C2.java + test/tools/javac/diags/examples/ServiceDefinitionIsEnum/module-info.java + test/tools/javac/diags/examples/ServiceDefinitionIsEnum/pkg/EnumST.java + test/tools/javac/diags/examples/ServiceImplementationDoesntHaveANoArgsConstructor/exported/Service.java + test/tools/javac/diags/examples/ServiceImplementationDoesntHaveANoArgsConstructor/impl/ServiceImplementation.java + test/tools/javac/diags/examples/ServiceImplementationDoesntHaveANoArgsConstructor/module-info.java + test/tools/javac/diags/examples/ServiceImplementationIsAbstract/exported/Service.java + test/tools/javac/diags/examples/ServiceImplementationIsAbstract/impl/ServiceImplementation.java + test/tools/javac/diags/examples/ServiceImplementationIsAbstract/module-info.java + test/tools/javac/diags/examples/ServiceImplementationIsInner/exported/Service.java + test/tools/javac/diags/examples/ServiceImplementationIsInner/impl/ServiceImplementation.java + test/tools/javac/diags/examples/ServiceImplementationIsInner/module-info.java + test/tools/javac/diags/examples/ServiceImplementationNoArgsConstructorNotPublic/exported/Service.java + test/tools/javac/diags/examples/ServiceImplementationNoArgsConstructorNotPublic/impl/ServiceImplementation.java + test/tools/javac/diags/examples/ServiceImplementationNoArgsConstructorNotPublic/module-info.java + test/tools/javac/diags/examples/ServiceImplementationNotInRightModule/ServiceImplementationNotInRightModule.java + test/tools/javac/diags/examples/ServiceImplementationNotInRightModule/modulesourcepath/m1/exported/Service.java + test/tools/javac/diags/examples/ServiceImplementationNotInRightModule/modulesourcepath/m1/exported/ServiceImplementation.java + test/tools/javac/diags/examples/ServiceImplementationNotInRightModule/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/ServiceImplementationNotInRightModule/modulesourcepath/m2/module-info.java + test/tools/javac/diags/examples/ServiceProvidedButNotExportedOrUsed/ServiceProvidedButNotExportedOrUsed.java + test/tools/javac/diags/examples/ServiceProvidedButNotExportedOrUsed/modulesourcepath/m/module-info.java + test/tools/javac/diags/examples/ServiceProvidedButNotExportedOrUsed/modulesourcepath/m/p1/C1.java + test/tools/javac/diags/examples/ServiceProvidedButNotExportedOrUsed/modulesourcepath/m/p2/C2.java + test/tools/javac/diags/examples/TooManyModules/TooManyModules.java + test/tools/javac/diags/examples/TooManyModules/p1/module-info.java + test/tools/javac/diags/examples/TooManyModules/p2/module-info.java + test/tools/javac/diags/examples/UnnamedPackageInNamedModule/UnnamedPackageInNamedModule.java + test/tools/javac/diags/examples/UnnamedPackageInNamedModule/modulesourcepath/m1/UnnamedPackageInNamedModule.java + test/tools/javac/diags/examples/UnnamedPackageInNamedModule/modulesourcepath/m1/module-info.java + test/tools/javac/diags/examples/XModuleWithModulePath/XModuleWithModulePath.java + test/tools/javac/diags/examples/XaddexportsMalformedEntry.java + test/tools/javac/diags/examples/XaddexportsTooMany.java + test/tools/javac/diags/examples/XaddreadsMalformedEntry.java + test/tools/javac/diags/examples/XaddreadsTooMany.java Changeset: 3c09f576196a Author: rfield Date: 2016-05-18 11:35 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/3c09f576196a 8157185: jshell tool: ambiguous format -- distinguished arguments should be options Reviewed-by: vromero ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties ! test/jdk/jshell/CommandCompletionTest.java ! test/jdk/jshell/ToolBasicTest.java ! test/jdk/jshell/ToolFormatTest.java ! test/jdk/jshell/ToolLocaleMessageTest.java ! test/jdk/jshell/ToolReloadTest.java ! test/jdk/jshell/ToolSimpleTest.java Changeset: d4aea0c5ec6e Author: jlahoda Date: 2016-05-18 21:00 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d4aea0c5ec6e 8133549: Generalize jshell's EditingHistory Summary: EditingHistory moved to jdk.internal.le Reviewed-by: rfield ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java - src/jdk.jshell/share/classes/jdk/internal/jshell/tool/EditingHistory.java ! test/jdk/jshell/HistoryTest.java Changeset: 0b233e7be137 Author: mcimadamore Date: 2016-05-19 17:57 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/0b233e7be137 8157326: Intellij langtools project should use shared run configurations Summary: Turn langtools run configurations into shared configurations. Fix minor addExport issues. Reviewed-by: jlahoda ! make/build.xml + make/intellij/runConfigurations/javac.xml + make/intellij/runConfigurations/javadoc.xml + make/intellij/runConfigurations/javah.xml + make/intellij/runConfigurations/javap.xml + make/intellij/runConfigurations/jshell.xml + make/intellij/runConfigurations/jtreg__debug_.xml + make/intellij/runConfigurations/jtreg__run_.xml + make/intellij/runConfigurations/sjavac.xml ! make/intellij/workspace.xml Changeset: 19972d5af5ab Author: mchung Date: 2016-05-19 10:55 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/19972d5af5ab 8153481: tools/jdeps/modules/GenModuleInfo.java and ModuleTest.java fails intermittently Reviewed-by: dfuchs ! src/jdk.jdeps/share/classes/com/sun/tools/classfile/Dependencies.java ! test/ProblemList.txt Changeset: 878e51dad07c Author: mchung Date: 2016-05-19 10:55 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/878e51dad07c 8156680: jdeps implementation refresh Reviewed-by: dfuchs ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Analyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Archive.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ClassFileReader.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/DependencyFinder.java + src/jdk.jdeps/share/classes/com/sun/tools/jdeps/DepsAnalyzer.java + src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Graph.java + src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsConfiguration.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsFilter.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsTask.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Module.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleAnalyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleInfoBuilder.java - src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModulePaths.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Profile.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdkinternals.properties ! test/tools/jdeps/APIDeps.java ! test/tools/jdeps/Basic.java - test/tools/jdeps/CompilerUtils.java ! test/tools/jdeps/DotFileTest.java + test/tools/jdeps/lib/CompilerUtils.java + test/tools/jdeps/lib/JdepsUtil.java ! test/tools/jdeps/m/Foo.java + test/tools/jdeps/modules/CheckModuleTest.java ! test/tools/jdeps/modules/GenModuleInfo.java + test/tools/jdeps/modules/ModuleMetaData.java ! test/tools/jdeps/modules/ModuleTest.java + test/tools/jdeps/modules/SplitPackage.java + test/tools/jdeps/modules/TransitiveDeps.java + test/tools/jdeps/modules/patches/javax/annotation/NonNull.java ! test/tools/jdeps/modules/src/m4/module-info.java ! test/tools/jdeps/modules/src/m4/p4/internal/Impl.java + test/tools/jdeps/modules/src/m5/module-info.java + test/tools/jdeps/modules/src/m5/p5/Main.java + test/tools/jdeps/modules/src/m5/p5/internal/T.java + test/tools/jdeps/modules/src/m6/module-info.java + test/tools/jdeps/modules/src/m6/p6/indirect/UnsafeRef.java + test/tools/jdeps/modules/src/m6/p6/safe/Lib.java + test/tools/jdeps/modules/src/m7/module-info.java + test/tools/jdeps/modules/src/m7/p7/Main.java + test/tools/jdeps/modules/src/m8/module-info.java + test/tools/jdeps/modules/src/m8/p8/Main.java + test/tools/jdeps/modules/src/unsafe/module-info.java + test/tools/jdeps/modules/src/unsafe/org/indirect/UnsafeRef.java + test/tools/jdeps/modules/src/unsafe/org/safe/Lib.java + test/tools/jdeps/modules/src/unsafe/org/unsafe/UseUnsafe.java ! test/tools/jdeps/unsupported/JDKUnsupportedTest.java Changeset: 292a9489d20a Author: mchung Date: 2016-05-19 11:01 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/292a9489d20a 8156575: Add jdeps -addmods, -system, -inverse options Reviewed-by: dfuchs + src/jdk.jdeps/share/classes/com/sun/tools/jdeps/InverseDepsAnalyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsConfiguration.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsTask.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties ! test/tools/jdeps/lib/JdepsUtil.java + test/tools/jdeps/modules/InverseDeps.java Changeset: 2a49d47a37d8 Author: iris Date: 2016-05-19 11:56 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/2a49d47a37d8 8144062: Move jdk.Version to java.lang.Runtime.Version Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz ! src/jdk.jshell/share/classes/jdk/jshell/TaskFactory.java ! test/tools/javac/file/MultiReleaseJar/MultiReleaseJarAwareSJFM.java Changeset: 62278f3c373a Author: lana Date: 2016-05-19 19:47 +0000 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/62278f3c373a Merge - src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModulePaths.java - src/jdk.jshell/share/classes/jdk/internal/jshell/tool/EditingHistory.java - test/tools/jdeps/CompilerUtils.java Changeset: 9c4984bd4951 Author: lana Date: 2016-05-19 20:14 +0000 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/9c4984bd4951 Merge Changeset: 5531a8b53887 Author: mchung Date: 2016-05-19 17:34 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/5531a8b53887 8152502: tools/jdeps/modules/GenModuleInfo.java and TransitiveDeps fails on windows Reviewed-by: jjg ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ClassFileReader.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsConfiguration.java ! test/tools/jdeps/modules/GenModuleInfo.java ! test/tools/jdeps/modules/InverseDeps.java ! test/tools/jdeps/modules/TransitiveDeps.java Changeset: d71cfeef72eb Author: mchung Date: 2016-05-20 09:47 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d71cfeef72eb 8157391: jdeps left JarFile open Reviewed-by: alanb ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Archive.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ClassFileReader.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsConfiguration.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsTask.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleInfoBuilder.java ! test/tools/jdeps/lib/JdepsUtil.java ! test/tools/jdeps/modules/CheckModuleTest.java ! test/tools/jdeps/modules/GenModuleInfo.java ! test/tools/jdeps/modules/InverseDeps.java ! test/tools/jdeps/modules/ModuleTest.java ! test/tools/jdeps/modules/SplitPackage.java ! test/tools/jdeps/modules/TransitiveDeps.java Changeset: 9291bcd53e07 Author: rfield Date: 2016-05-20 11:55 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/9291bcd53e07 8157200: jshell tool: Add /retain command to persist settings 8156910: jshell tool: crash when code with syntax error contains format specifier Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ArgTokenizer.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties ! test/jdk/jshell/CommandCompletionTest.java ! test/jdk/jshell/ToolBasicTest.java ! test/jdk/jshell/ToolFormatTest.java + test/jdk/jshell/ToolRetainTest.java ! test/jdk/jshell/ToolSimpleTest.java Changeset: 5d652ee92e99 Author: mchung Date: 2016-05-20 12:24 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/5d652ee92e99 8153042: jdeps should continue to report JDK internal APIs that are removed/renamed in JDK Reviewed-by: dfuchs ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Analyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/DepsAnalyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsTask.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleInfoBuilder.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdkinternals.properties + test/tools/jdeps/jdkinternals/RemovedJDKInternals.java + test/tools/jdeps/jdkinternals/patches/java.desktop/com/sun/image/codec/jpeg/JPEGCodec.java + test/tools/jdeps/jdkinternals/patches/jdk.unsupported/sun/misc/Service.java + test/tools/jdeps/jdkinternals/patches/jdk.unsupported/sun/misc/SoftCache.java + test/tools/jdeps/jdkinternals/src/p/Main.java + test/tools/jdeps/jdkinternals/src/p/S.java + test/tools/jdeps/lib/ModuleMetaData.java - test/tools/jdeps/modules/ModuleMetaData.java Changeset: cf4046825175 Author: jjg Date: 2016-05-20 16:44 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/cf4046825175 8157474: clean up/simplify/rename ModuleWrappers class Reviewed-by: mchung ! make/tools/crules/MutableFieldsAnalyzer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java + src/jdk.compiler/share/classes/com/sun/tools/javac/util/JDK9Wrappers.java - src/jdk.compiler/share/classes/com/sun/tools/javac/util/ModuleWrappers.java ! test/tools/javac/T8003967/DetectMutableStaticFields.java Changeset: d6224976006a Author: darcy Date: 2016-05-20 17:00 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d6224976006a 6415644: Make javax.lang.model.SourceVersion more informative Reviewed-by: jjg ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! test/tools/javac/processing/model/TestSourceVersion.java Changeset: a3e92e738d92 Author: rfield Date: 2016-05-21 22:32 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/a3e92e738d92 8156101: JShell SPI: Provide a pluggable execution control SPI Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/internal/jshell/debug/InternalDebugControl.java + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/ClassTracker.java + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/JDIConnection.java + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/JDIEnv.java + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/JDIEventHandler.java + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/JDIExecutionControl.java + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/JDINotConnectedException.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteAgent.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteCodes.java - src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteResolutionException.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java - src/jdk.jshell/share/classes/jdk/jshell/ClassTracker.java ! src/jdk.jshell/share/classes/jdk/jshell/Corraller.java ! src/jdk.jshell/share/classes/jdk/jshell/Eval.java - src/jdk.jshell/share/classes/jdk/jshell/ExecutionControl.java - src/jdk.jshell/share/classes/jdk/jshell/JDIConnection.java - src/jdk.jshell/share/classes/jdk/jshell/JDIEnv.java - src/jdk.jshell/share/classes/jdk/jshell/JDIEventHandler.java - src/jdk.jshell/share/classes/jdk/jshell/JDINotConnectedException.java ! src/jdk.jshell/share/classes/jdk/jshell/JShell.java ! src/jdk.jshell/share/classes/jdk/jshell/OuterWrap.java ! src/jdk.jshell/share/classes/jdk/jshell/OuterWrapMap.java ! src/jdk.jshell/share/classes/jdk/jshell/SnippetMaps.java ! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/TaskFactory.java ! src/jdk.jshell/share/classes/jdk/jshell/Unit.java ! src/jdk.jshell/share/classes/jdk/jshell/Util.java ! src/jdk.jshell/share/classes/jdk/jshell/Wrap.java + src/jdk.jshell/share/classes/jdk/jshell/spi/ExecutionControl.java + src/jdk.jshell/share/classes/jdk/jshell/spi/ExecutionEnv.java + src/jdk.jshell/share/classes/jdk/jshell/spi/SPIResolutionException.java + src/jdk.jshell/share/classes/jdk/jshell/spi/package-info.java ! src/jdk.jshell/share/classes/module-info.java + test/jdk/jshell/ExecutionControlTest.java ! test/jdk/jshell/KullaTesting.java + test/jdk/jshell/LocalExecutionControl.java Changeset: 5b418ae6fe24 Author: sadayapalam Date: 2016-05-23 10:08 +0530 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/5b418ae6fe24 8154824: Compiler should handle java.nio.file.FileSystemNotFoundException gracefully and not abort Reviewed-by: jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java + test/tools/javac/modules/MissingJarInModulePathTest.java + test/tools/javac/modules/MissingJarInModulePathTest.out Changeset: b46cdae175b4 Author: psandoz Date: 2016-05-23 12:48 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/b46cdae175b4 8149821: Add VarHandle signature-polymorphic invocation byte code tests Reviewed-by: mcimadamore ! test/tools/javac/meth/TestCP.java Changeset: a8b7c9938b74 Author: mcimadamore Date: 2016-05-23 15:07 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/a8b7c9938b74 8157149: Inference: weird propagation of thrown inference variables Summary: Overhaul of treatment of thrown inference variables Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java + test/tools/javac/generics/inference/8157149/T8157149a.java + test/tools/javac/generics/inference/8157149/T8157149a.out + test/tools/javac/generics/inference/8157149/T8157149b.java + test/tools/javac/generics/inference/8157149/T8157149c.java Changeset: d44729b76ebc Author: rfield Date: 2016-05-23 10:12 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/d44729b76ebc 8157517: jshell tool: allow undoing operations 8157395: jshell tool: allow the position of options on commands to be more flexible 8157393: jshell tool: change /set newmode ... to be consistent with /retain mode Reviewed-by: jlahoda ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ArgTokenizer.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties + test/jdk/jshell/ToolCommandOptionTest.java ! test/jdk/jshell/ToolFormatTest.java ! test/jdk/jshell/ToolLocaleMessageTest.java ! test/jdk/jshell/ToolRetainTest.java ! test/jdk/jshell/ToolSimpleTest.java Changeset: dec94c8de74e Author: rfield Date: 2016-05-23 13:05 -0700 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/dec94c8de74e 8157528: jdk/jshell/ExecutionControlTest.java failed intermittently with NPE Reviewed-by: jlahoda ! test/jdk/jshell/LocalExecutionControl.java Changeset: 0f81cdd51b42 Author: jlahoda Date: 2016-05-24 16:02 +0200 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/0f81cdd51b42 8131017: jshell tool: pasting code with tabs invokes tab completion Summary: Enabling copy-paste detection. Reviewed-by: lagergren, rfield, sundar ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java Changeset: 2f500ac6a6fe Author: lana Date: 2016-05-26 16:02 +0000 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/2f500ac6a6fe Added tag jdk-9+120 for changeset 0f81cdd51b42 ! .hgtags Changeset: 1d6df5fa1a51 Author: alanb Date: 2016-05-26 18:55 +0100 URL: http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/1d6df5fa1a51 Merge ! .hgtags ! make/build.properties ! make/build.xml ! make/tools/crules/MutableFieldsAnalyzer.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/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileManager.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/resources/compiler.properties + src/jdk.compiler/share/classes/com/sun/tools/javac/util/JDK9Wrappers.java - src/jdk.compiler/share/classes/com/sun/tools/javac/util/ModuleWrappers.java ! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Configuration.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Analyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Archive.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ClassFileReader.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/DependencyFinder.java + src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsConfiguration.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsTask.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/JdepsWriter.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Module.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleAnalyzer.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleInfoBuilder.java - src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModulePaths.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Profile.java ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties + src/jdk.jshell/share/classes/jdk/internal/jshell/jdi/JDIExecutionControl.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteAgent.java - src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteResolutionException.java - src/jdk.jshell/share/classes/jdk/internal/jshell/tool/EditingHistory.java - src/jdk.jshell/share/classes/jdk/jshell/ClassTracker.java - src/jdk.jshell/share/classes/jdk/jshell/ExecutionControl.java - src/jdk.jshell/share/classes/jdk/jshell/JDIConnection.java - src/jdk.jshell/share/classes/jdk/jshell/JDIEnv.java - src/jdk.jshell/share/classes/jdk/jshell/JDIEventHandler.java - src/jdk.jshell/share/classes/jdk/jshell/JDINotConnectedException.java ! src/jdk.jshell/share/classes/jdk/jshell/SourceCodeAnalysisImpl.java ! src/jdk.jshell/share/classes/jdk/jshell/TaskFactory.java ! test/ProblemList.txt ! test/jdk/jshell/CommandCompletionTest.java ! test/jdk/jshell/ToolFormatTest.java ! test/tools/all/RunCodingRules.java ! test/tools/javac/T8003967/DetectMutableStaticFields.java ! test/tools/javac/diags/Example.java ! test/tools/jdeps/APIDeps.java ! test/tools/jdeps/Basic.java - test/tools/jdeps/CompilerUtils.java ! test/tools/jdeps/DotFileTest.java + test/tools/jdeps/lib/CompilerUtils.java ! test/tools/jdeps/modules/GenModuleInfo.java
