8174728: Mark Java EE modules deprecated and for removal

Reviewed-by: alanb
This commit is contained in:
Lance Andersen 2017-03-16 16:50:51 -04:00
parent 727cdd388a
commit a3ec8f1415
4 changed files with 5 additions and 1 deletions

View file

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@
* *
* @since 9 * @since 9
*/ */
@Deprecated(since="9", forRemoval=true)
module java.activation { module java.activation {
requires transitive java.datatransfer; requires transitive java.datatransfer;
requires java.logging; requires java.logging;

View file

@ -28,6 +28,7 @@
* *
* @since 9 * @since 9
*/ */
@Deprecated(since="9", forRemoval=true)
module java.xml.bind { module java.xml.bind {
requires transitive java.activation; requires transitive java.activation;
requires transitive java.xml; requires transitive java.xml;

View file

@ -29,6 +29,7 @@
* *
* @since 9 * @since 9
*/ */
@Deprecated(since="9", forRemoval=true)
module java.xml.ws.annotation { module java.xml.ws.annotation {
exports javax.annotation; exports javax.annotation;
} }

View file

@ -29,6 +29,7 @@
* *
* @since 9 * @since 9
*/ */
@Deprecated(since="9", forRemoval=true)
module java.xml.ws { module java.xml.ws {
requires transitive java.activation; requires transitive java.activation;
requires transitive java.xml; requires transitive java.xml;