changeset 45668:e538c0cea8fe

8182416: Clean up module-info.java like move requires transitive adjacent to exports Reviewed-by: alanb
author mchung
date Sat, 17 Jun 2017 11:50:34 -0700
parents b0d80f360c3d
children 10ec062b26ce 47565d5a42c5
files corba/src/java.corba/share/classes/module-info.java
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;