8173957: Fix @since in module-info.java in dev/jdk repo
Reviewed-by: alanb, lancea
--- a/jdk/src/java.base/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.base/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the foundational APIs of the Java SE Platform.
+ *
+ * @since 9
*/
module java.base {
--- a/jdk/src/java.datatransfer/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.datatransfer/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines an API for transferring data between and within applications.
+ *
+ * @since 9
*/
module java.datatransfer {
exports java.awt.datatransfer;
--- a/jdk/src/java.desktop/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.desktop/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -26,6 +26,8 @@
/**
* Defines the AWT and Swing user interface toolkits, plus APIs for
* accessibility, audio, imaging, printing, and JavaBeans.
+ *
+ * @since 9
*/
module java.desktop {
requires transitive java.datatransfer;
--- a/jdk/src/java.instrument/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.instrument/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -26,6 +26,8 @@
/**
* Defines services that allow agents to
* instrument programs running on the JVM.
+ *
+ * @since 9
*/
module java.instrument {
exports java.lang.instrument;
--- a/jdk/src/java.logging/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.logging/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Java Logging API.
+ *
+ * @since 9
*/
module java.logging {
exports java.util.logging;
--- a/jdk/src/java.management.rmi/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.management.rmi/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -46,6 +46,7 @@
* and load the appropriate {@code JMXConnectorServerProvider} service
* implementation for the given protocol.
*
+ * @since 9
*/
module java.management.rmi {
--- a/jdk/src/java.management/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.management/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -28,6 +28,8 @@
* <P>
* The JMX API consists of interfaces for monitoring and management of the
* JVM and other components in the Java runtime.
+ *
+ * @since 9
*/
module java.management {
--- a/jdk/src/java.naming/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.naming/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Java Naming and Directory Interface (JNDI) API.
+ *
+ * @since 9
*/
module java.naming {
requires java.security.sasl;
--- a/jdk/src/java.prefs/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.prefs/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Preferences API.
+ *
+ * @since 9
*/
module java.prefs {
requires java.xml;
--- a/jdk/src/java.rmi/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.rmi/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Remote Method Invocation (RMI) API.
+ *
+ * @since 9
*/
module java.rmi {
requires java.logging;
--- a/jdk/src/java.scripting/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.scripting/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Scripting API.
+ *
+ * @since 9
*/
module java.scripting {
exports javax.script;
--- a/jdk/src/java.se.ee/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.se.ee/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -28,6 +28,8 @@
* <P>
* This module requires {@code java.se} and supplements it with modules
* that define CORBA and Java EE APIs. These modules are upgradeable.
+ *
+ * @since 9
*/
@SuppressWarnings("deprecation")
module java.se.ee {
--- a/jdk/src/java.se/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.se/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -28,6 +28,8 @@
* <P>
* The modules defining CORBA and Java EE APIs are not required by
* this module, but they are required by {@code java.se.ee}.
+ *
+ * @since 9
*/
module java.se {
requires transitive java.compiler;
--- a/jdk/src/java.security.jgss/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.security.jgss/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -27,6 +27,8 @@
* Defines the Java binding of the IETF Generic Security Services API (GSS-API).
* <P>
* This module also contains GSS-API mechanisms including Kerberos v5 and SPNEGO.
+ *
+ * @since 9
*/
module java.security.jgss {
requires java.naming;
--- a/jdk/src/java.security.sasl/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.security.sasl/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -29,6 +29,8 @@
* <P>
* This module also contains SASL mechanisms including DIGEST-MD5,
* CRAM-MD5, and NTLM.
+ *
+ * @since 9
*/
module java.security.sasl {
requires java.logging;
--- a/jdk/src/java.smartcardio/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.smartcardio/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Java Smart Card I/O API.
+ *
+ * @since 9
*/
module java.smartcardio {
exports javax.smartcardio;
--- a/jdk/src/java.sql.rowset/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.sql.rowset/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the JDBC RowSet API.
+ *
+ * @since 9
*/
module java.sql.rowset {
requires transitive java.logging;
--- a/jdk/src/java.sql/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.sql/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the JDBC API.
+ *
+ * @since 9
*/
module java.sql {
requires transitive java.logging;
--- a/jdk/src/java.transaction/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.transaction/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -28,6 +28,8 @@
* <P>
* The subset consists of RMI exception types which are mapped to CORBA system
* exceptions by the 'Java Language to IDL Mapping Specification'.
+ *
+ * @since 9
*/
module java.transaction {
requires transitive java.rmi;
--- a/jdk/src/java.xml.crypto/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/java.xml.crypto/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines an API for XML cryptography.
+ *
+ * @since 9
*/
module java.xml.crypto {
requires transitive java.xml;
--- a/jdk/src/jdk.attach/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.attach/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the attach API.
+ *
+ * @since 9
*/
module jdk.attach {
requires jdk.internal.jvmstat;
--- a/jdk/src/jdk.desktop/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.desktop/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/*
* Provides non-SE desktop APIs.
+ *
+ * @since 9
*/
module jdk.desktop {
--- a/jdk/src/jdk.editpad/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.editpad/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Implementation of the edit pad service.
+ *
+ * @since 9
*/
module jdk.editpad {
requires jdk.internal.ed;
--- a/jdk/src/jdk.incubator.httpclient/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.incubator.httpclient/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -26,6 +26,8 @@
/**
* Defines the high-level HTTP and WebSocket API.
* {@Incubating}
+ *
+ * @since 9
*/
module jdk.incubator.httpclient {
requires java.base;
--- a/jdk/src/jdk.internal.ed/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.internal.ed/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -26,6 +26,8 @@
/**
* Internal editor support for JDK tools. Includes the Service Provider
* Interface to built-in editors.
+ *
+ * @since 9
*/
module jdk.internal.ed {
--- a/jdk/src/jdk.internal.le/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.internal.le/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Internal API for line editing
+ *
+ * @since 9
*/
module jdk.internal.le {
exports jdk.internal.jline to
--- a/jdk/src/jdk.internal.opt/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.internal.opt/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Internal option processing API
+ *
+ * @since 9
*/
module jdk.internal.opt {
exports jdk.internal.joptsimple to jdk.jlink, jdk.jshell;
--- a/jdk/src/jdk.jdi/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.jdi/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Defines the Java Debugger Interface.
+ *
+ * @since 9
*/
module jdk.jdi {
requires jdk.attach;
--- a/jdk/src/jdk.jdwp.agent/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.jdwp.agent/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -25,6 +25,8 @@
/**
* Java Debug Wire Protocol.
+ *
+ * @since 9
*/
module jdk.jdwp.agent {
}
--- a/jdk/src/jdk.security.auth/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.security.auth/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -26,6 +26,8 @@
/**
* Contains the implementation of the javax.security.auth.* interfaces and
* various authentication modules.
+ *
+ * @since 9
*/
module jdk.security.auth {
requires transitive java.naming;
--- a/jdk/src/jdk.security.jgss/share/classes/module-info.java Fri Feb 10 10:07:42 2017 +0800
+++ b/jdk/src/jdk.security.jgss/share/classes/module-info.java Thu Feb 09 18:33:28 2017 -0800
@@ -26,6 +26,8 @@
/**
* Defines Java extensions to the GSS-API and an implementation of the SASL
* GSSAPI mechanism.
+ *
+ * @since 9
*/
module jdk.security.jgss {
requires transitive java.security.jgss;