changeset 939:0edb707c4c9e

Merge
author mchung
date Sat, 27 Aug 2016 13:31:39 -0700
parents 1a497f5ca0cf d4a7b03f7cd4
children 11ceba666902 859f2255d6da
files src/java.corba/share/classes/module-info.java
diffstat 2 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/.jcheck/conf	Thu Aug 25 21:18:44 2016 +0000
+++ b/.jcheck/conf	Sat Aug 27 13:31:39 2016 -0700
@@ -1,1 +1,3 @@
 project=jdk9
+comments=lax
+tags=lax
--- a/src/java.corba/share/classes/module-info.java	Thu Aug 25 21:18:44 2016 +0000
+++ b/src/java.corba/share/classes/module-info.java	Sat Aug 27 13:31:39 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
 /**
  * Defines the Java binding of the OMG CORBA APIs, and the RMI-IIOP API.
  */
+@Deprecated(since="9", forRemoval=true)
 module java.corba {
     requires public java.desktop;
     requires public java.rmi;
@@ -64,14 +65,13 @@
     exports org.omg.PortableServer.portable;
     exports org.omg.SendingContext;
     exports org.omg.stub.java.rmi;
-    exports com.sun.corba.se.impl.util to
-        jdk.rmic;
-    exports com.sun.jndi.cosnaming to
-        java.naming;
-    exports com.sun.jndi.url.corbaname to
-        java.naming;
-    exports com.sun.jndi.url.iiop to
-        java.naming;
-    exports com.sun.jndi.url.iiopname to
-        java.naming;
+
+    // rmic --iiop
+    exports com.sun.corba.se.impl.util to jdk.rmic;
+
+    // JNDI CosNaming provider
+    exports dynamic com.sun.jndi.cosnaming to java.naming;
+    exports dynamic com.sun.jndi.url.corbaname to java.naming;
+    exports dynamic com.sun.jndi.url.iiop to java.naming;
+    exports dynamic com.sun.jndi.url.iiopname to java.naming;
 }