changeset 771:b8aebe5292f2 jdk-9+162

8174728: Mark Java EE modules deprecated and for removal Reviewed-by: alanb
author lancea
date Thu, 16 Mar 2017 16:50:51 -0400
parents 05d7b08e85c4
children 3890f96e8995
files src/java.activation/share/classes/module-info.java src/java.xml.bind/share/classes/module-info.java src/java.xml.ws.annotation/share/classes/module-info.java src/java.xml.ws/share/classes/module-info.java
diffstat 4 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.activation/share/classes/module-info.java	Thu Mar 16 17:55:17 2017 +0000
+++ b/src/java.activation/share/classes/module-info.java	Thu Mar 16 16:50:51 2017 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -28,6 +28,7 @@
  *
  * @since 9
  */
+@Deprecated(since="9", forRemoval=true)
 module java.activation {
     requires transitive java.datatransfer;
     requires java.logging;
--- a/src/java.xml.bind/share/classes/module-info.java	Thu Mar 16 17:55:17 2017 +0000
+++ b/src/java.xml.bind/share/classes/module-info.java	Thu Mar 16 16:50:51 2017 -0400
@@ -28,6 +28,7 @@
  *
  * @since 9
  */
+@Deprecated(since="9", forRemoval=true)
 module java.xml.bind {
     requires transitive java.activation;
     requires transitive java.xml;
--- a/src/java.xml.ws.annotation/share/classes/module-info.java	Thu Mar 16 17:55:17 2017 +0000
+++ b/src/java.xml.ws.annotation/share/classes/module-info.java	Thu Mar 16 16:50:51 2017 -0400
@@ -29,6 +29,7 @@
  *
  * @since 9
  */
+@Deprecated(since="9", forRemoval=true)
 module java.xml.ws.annotation {
     exports javax.annotation;
 }
--- a/src/java.xml.ws/share/classes/module-info.java	Thu Mar 16 17:55:17 2017 +0000
+++ b/src/java.xml.ws/share/classes/module-info.java	Thu Mar 16 16:50:51 2017 -0400
@@ -29,6 +29,7 @@
  *
  * @since 9
  */
+@Deprecated(since="9", forRemoval=true)
 module java.xml.ws {
     requires transitive java.activation;
     requires transitive java.xml;