hg: jdk9/client/langtools: 23 new changesets
david.dehaven at oracle.com
david.dehaven at oracle.com
Wed May 25 22:04:58 UTC 2016
Changeset: 0b233e7be137
Author: mcimadamore
Date: 2016-05-19 17:57 +0100
URL: http://hg.openjdk.java.net/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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: 1578b957d223
Author: lana
Date: 2016-05-19 17:48 +0000
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/1578b957d223
Added tag jdk-9+119 for changeset 6347efd1be03
! .hgtags
Changeset: 62278f3c373a
Author: lana
Date: 2016-05-19 19:47 +0000
URL: http://hg.openjdk.java.net/jdk9/client/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/jdk9/client/langtools/rev/9c4984bd4951
Merge
Changeset: 5531a8b53887
Author: mchung
Date: 2016-05-19 17:34 -0700
URL: http://hg.openjdk.java.net/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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/jdk9/client/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: 5b344cfeb8c8
Author: sadayapalam
Date: 2016-05-25 19:30 +0530
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/5b344cfeb8c8
8047024: 7 ANNOT tests in JCK9 test suite fail with an AssertionError for exception_index
Summary: Fix incorrect assertion about exception index already being set.
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java
+ test/tools/javac/annotations/typeAnnotations/8047024/T8047024.java
+ test/tools/javac/annotations/typeAnnotations/8047024/T8047024_01.java
Changeset: 1ef94fda9c07
Author: vromero
Date: 2016-05-25 11:33 -0400
URL: http://hg.openjdk.java.net/jdk9/client/langtools/rev/1ef94fda9c07
8152360: deprecate javah
Reviewed-by: jjg
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/resources/l10n.properties
+ test/tools/javac/T8152360/DeprecateJavahTest.java
! test/tools/javah/T6893943.java
! test/tools/javah/VersionTest.java
More information about the jdk9-client-changes
mailing list