8181702: Mark jdk.xml.bind and jdk.xml.ws modules deprecated and for removal
authorlancea
Wed, 07 Jun 2017 18:47:54 -0400
changeset 45544 7ecbbcd78b01
parent 45410 fac2783f3c0b
child 45545 4580a3cc0899
8181702: Mark jdk.xml.bind and jdk.xml.ws modules deprecated and for removal Reviewed-by: alanb, mchung
jaxws/src/jdk.xml.bind/share/classes/module-info.java
jaxws/src/jdk.xml.ws/share/classes/module-info.java
--- a/jaxws/src/jdk.xml.bind/share/classes/module-info.java	Thu Jun 01 18:26:34 2017 +0000
+++ b/jaxws/src/jdk.xml.bind/share/classes/module-info.java	Wed Jun 07 18:47:54 2017 -0400
@@ -23,6 +23,14 @@
  * questions.
  */
 
+/**
+ * Defines tools for JAXB classes and XML schema generation.
+ *
+ * @moduleGraph
+ * @since 9
+ *
+ */
+@Deprecated(since="9", forRemoval=true)
 module jdk.xml.bind {
     requires java.activation;
     requires java.compiler;
--- a/jaxws/src/jdk.xml.ws/share/classes/module-info.java	Thu Jun 01 18:26:34 2017 +0000
+++ b/jaxws/src/jdk.xml.ws/share/classes/module-info.java	Wed Jun 07 18:47:54 2017 -0400
@@ -23,6 +23,13 @@
  * questions.
  */
 
+/**
+ * Defines tools for JAXWS classes and WSDL generation
+ *
+ * @moduleGraph
+ * @since 9
+ */
+@Deprecated(since="9", forRemoval=true)
 module jdk.xml.ws {
     requires java.compiler;
     requires java.logging;