8182416: Clean up module-info.java like move requires transitive adjacent to exports
authormchung
Sat, 17 Jun 2017 11:50:34 -0700
changeset 45668 e538c0cea8fe
parent 45667 b0d80f360c3d
child 45669 10ec062b26ce
child 45720 47565d5a42c5
8182416: Clean up module-info.java like move requires transitive adjacent to exports Reviewed-by: alanb
corba/src/java.corba/share/classes/module-info.java
--- a/corba/src/java.corba/share/classes/module-info.java	Fri Jun 16 20:37:39 2017 +0100
+++ b/corba/src/java.corba/share/classes/module-info.java	Sat Jun 17 11:50:34 2017 -0700
@@ -26,18 +26,21 @@
 /**
  * Defines the Java binding of the OMG CORBA APIs, and the RMI-IIOP API.
  *
+ * <p> This module is upgradeble.
+ *
  * @moduleGraph
  * @since 9
  */
 @Deprecated(since="9", forRemoval=true)
 module java.corba {
-    requires transitive java.desktop;
-    requires transitive java.rmi;
     requires java.logging;
     requires java.naming;
     requires java.transaction;
     requires jdk.unsupported;
 
+    requires transitive java.desktop;
+    requires transitive java.rmi;
+
     exports javax.activity;
     exports javax.rmi;
     exports javax.rmi.CORBA;