RFR 8174728: Mark Java EE modules deprecated and for removal
Lance Andersen
lance.andersen at oracle.com
Fri Feb 10 20:58:10 UTC 2017
Hi all,
This is a request to review marking the Java EE based modules as deprecated. The corba module was already updated.
Best
Lance
————————
ljanders-mac:dev-annotations ljanders$ cd jdk
ljanders-mac:jdk ljanders$ hg diff
diff -r ed26eebc8c88 src/java.transaction/share/classes/module-info.java
--- a/src/java.transaction/share/classes/module-info.java Fri Feb 10 10:26:46 2017 -0800
+++ b/src/java.transaction/share/classes/module-info.java Fri Feb 10 15:54:10 2017 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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
@@ -31,6 +31,7 @@
*
* @since 9
*/
+ at Deprecated(since="9", forRemoval=true)
module java.transaction {
requires transitive java.rmi;
exports javax.transaction;
ljanders-mac:jdk ljanders$ cd ../jaxws
ljanders-mac:jaxws ljanders$ hg diff
diff -r b7e70e1e0154 src/java.activation/share/classes/module-info.java
--- a/src/java.activation/share/classes/module-info.java Fri Feb 10 00:39:51 2017 -0800
+++ b/src/java.activation/share/classes/module-info.java Fri Feb 10 15:54:19 2017 -0500
@@ -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
*/
+ at Deprecated(since="9", forRemoval=true)
module java.activation {
requires transitive java.datatransfer;
requires java.logging;
diff -r b7e70e1e0154 src/java.xml.bind/share/classes/module-info.java
--- a/src/java.xml.bind/share/classes/module-info.java Fri Feb 10 00:39:51 2017 -0800
+++ b/src/java.xml.bind/share/classes/module-info.java Fri Feb 10 15:54:19 2017 -0500
@@ -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
*/
+ at Deprecated(since="9", forRemoval=true)
module java.xml.bind {
requires transitive java.activation;
requires transitive java.xml;
diff -r b7e70e1e0154 src/java.xml.ws.annotation/share/classes/module-info.java
--- a/src/java.xml.ws.annotation/share/classes/module-info.java Fri Feb 10 00:39:51 2017 -0800
+++ b/src/java.xml.ws.annotation/share/classes/module-info.java Fri Feb 10 15:54:19 2017 -0500
@@ -29,6 +29,7 @@
*
* @since 9
*/
+ at Deprecated(since="9", forRemoval=true)
module java.xml.ws.annotation {
exports javax.annotation;
}
diff -r b7e70e1e0154 src/java.xml.ws/share/classes/module-info.java
--- a/src/java.xml.ws/share/classes/module-info.java Fri Feb 10 00:39:51 2017 -0800
+++ b/src/java.xml.ws/share/classes/module-info.java Fri Feb 10 15:54:19 2017 -0500
@@ -29,6 +29,7 @@
*
* @since 9
*/
+ at Deprecated(since="9", forRemoval=true)
module java.xml.ws {
requires transitive java.activation;
requires transitive java.xml;
ljanders-mac:jaxws ljanders$
-----------------------
<http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
More information about the core-libs-dev
mailing list