8182416: Clean up module-info.java like move requires transitive adjacent to exports
authormchung
Sat, 17 Jun 2017 11:50:50 -0700
changeset 45630 0aa7752bc392
parent 45629 9b712790281e
child 45631 db8ea3a102f2
child 45632 e56cfcaea55c
8182416: Clean up module-info.java like move requires transitive adjacent to exports Reviewed-by: alanb
hotspot/src/jdk.aot/share/classes/module-info.java
hotspot/src/jdk.internal.vm.compiler/share/classes/module-info.java
--- a/hotspot/src/jdk.aot/share/classes/module-info.java	Sat Jun 17 08:03:09 2017 +0100
+++ b/hotspot/src/jdk.aot/share/classes/module-info.java	Sat Jun 17 11:50:50 2017 -0700
@@ -23,8 +23,15 @@
  * questions.
  */
 
+/**
+ * Defines the Ahead-of-Time (AOT) compiler, <em>{@index jaotc jaotc tool}</em>,
+ * for compiling Java classes into AOT library.
+ *
+ * @moduleGraph
+ * @since 9
+ */
 module jdk.aot {
-    requires jdk.management;
     requires jdk.internal.vm.ci;
     requires jdk.internal.vm.compiler;
+    requires jdk.management;
 }
--- a/hotspot/src/jdk.internal.vm.compiler/share/classes/module-info.java	Sat Jun 17 08:03:09 2017 +0100
+++ b/hotspot/src/jdk.internal.vm.compiler/share/classes/module-info.java	Sat Jun 17 11:50:50 2017 -0700
@@ -26,11 +26,9 @@
 module jdk.internal.vm.compiler {
     requires java.instrument;
     requires java.management;
+    requires jdk.internal.vm.ci;
     requires jdk.management;
-    requires jdk.internal.vm.ci;
-
-    // sun.misc.Unsafe is used
-    requires jdk.unsupported;
+    requires jdk.unsupported;   // sun.misc.Unsafe is used
 
     uses org.graalvm.compiler.code.DisassemblerProvider;
     uses org.graalvm.compiler.core.match.MatchStatementSet;