changeset 14662:210190f00665

s/@since 1.9/@since 9/
author alanb
date Sun, 06 Dec 2015 08:28:15 +0000
parents e4af8eb551c3
children cc95060fced6
files src/java.base/share/classes/java/lang/Class.java src/java.base/share/classes/java/lang/ClassLoader.java src/java.base/share/classes/java/lang/StackTraceElement.java src/java.base/share/classes/java/lang/invoke/MethodHandles.java src/java.base/share/classes/java/lang/module/Configuration.java src/java.base/share/classes/java/lang/module/FindException.java src/java.base/share/classes/java/lang/module/InvalidModuleDescriptorException.java src/java.base/share/classes/java/lang/module/ModuleDescriptor.java src/java.base/share/classes/java/lang/module/ModuleFinder.java src/java.base/share/classes/java/lang/module/ModuleReader.java src/java.base/share/classes/java/lang/module/ModuleReference.java src/java.base/share/classes/java/lang/module/ResolutionException.java src/java.base/share/classes/java/lang/module/package-info.java src/java.base/share/classes/java/lang/reflect/InaccessibleObjectException.java src/java.base/share/classes/java/lang/reflect/Layer.java src/java.base/share/classes/java/lang/reflect/LayerInstantiationException.java src/java.base/share/classes/java/lang/reflect/Module.java src/java.base/share/classes/java/util/ResourceBundle.java src/java.base/share/classes/java/util/ServiceLoader.java src/java.base/share/classes/java/util/spi/AbstractResourceBundleProvider.java src/java.base/share/classes/java/util/spi/ResourceBundleProvider.java
diffstat 21 files changed, 40 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/Class.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/Class.java	Sun Dec 06 08:28:15 2015 +0000
@@ -419,7 +419,7 @@
      *         the caller requests to load a class in another module,
      *         it denies the {@code RuntimePermission("getClassLoader")} permission.
      *
-     * @since 1.9
+     * @since 9
      */
     @CallerSensitive
     public static Class<?> forName(Module module, String name) {
@@ -805,7 +805,7 @@
      *
      * @return the module that this class or interface is a member of
      *
-     * @since 1.9
+     * @since 9
      */
     public Module getModule() {
         Module module = this.module;
@@ -962,7 +962,7 @@
      *
      * @return the fully qualified package name
      *
-     * @since 1.9
+     * @since 9
      * @jls 6.7  Fully Qualified Names
      */
     public String getPackageName() {
--- a/src/java.base/share/classes/java/lang/ClassLoader.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/ClassLoader.java	Sun Dec 06 08:28:15 2015 +0000
@@ -634,7 +634,7 @@
      * @return The resulting {@code Class} object, or {@code null}
      *         if the class could not be found.
      *
-     * @since 1.9
+     * @since 9
      */
     protected Class<?> findClass(String moduleName, String name) {
         return null;
@@ -1239,7 +1239,7 @@
      *         If I/O errors occur
      *
      * @see java.lang.module.ModuleReader#find(String)
-     * @since 1.9
+     * @since 9
      */
     protected URL findResource(String moduleName, String name) throws IOException {
         return null;
@@ -1559,7 +1559,7 @@
      * @return The unnamed Module for this class loader
      *
      * @see Module#isNamed()
-     * @since 1.9
+     * @since 9
      */
     public final Module getUnnamedModule() {
         return unnamedModule;
@@ -1845,7 +1845,7 @@
      * @return The {@code Package} of the given name defined by this class loader,
      *         or {@code null} if not found
      *
-     * @since  1.9
+     * @since  9
      */
     public final Package getDefinedPackage(String name) {
         return packages.get(name);
@@ -1861,7 +1861,7 @@
      * @return The array of {@code Package} objects defined by this class loader;
      *         or an zero length array if no package has been defined by this class loader.
      *
-     * @since  1.9
+     * @since  9
      */
     public final Package[] getDefinedPackages() {
         return packages().toArray(Package[]::new);
--- a/src/java.base/share/classes/java/lang/StackTraceElement.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/StackTraceElement.java	Sun Dec 06 08:28:15 2015 +0000
@@ -99,7 +99,7 @@
      *        is a native method
      * @throws NullPointerException if {@code declaringClass} is {@code null}
      *         or {@code methodName} is {@code null}
-     * @since 1.9
+     * @since 9
      */
     public StackTraceElement(String moduleName, String moduleVersion,
                              String declaringClass, String methodName,
@@ -150,7 +150,7 @@
      * @return the module name of the {@code Module} containing the execution
      *         point represented by this stack trace element; {@code null}
      *         if the module name is not available.
-     * @since 1.9
+     * @since 9
      * @see java.lang.reflect.Module#getName()
      */
     public String getModuleName() {
@@ -164,7 +164,7 @@
      * @return the module version of the {@code Module} containing the execution
      *         point represented by this stack trace element; {@code null}
      *         if the module version is not available.
-     * @since 1.9
+     * @since 9
      * @see java.lang.module.ModuleDescriptor.Version
      */
     public String getModuleVersion() {
--- a/src/java.base/share/classes/java/lang/invoke/MethodHandles.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/invoke/MethodHandles.java	Sun Dec 06 08:28:15 2015 +0000
@@ -577,7 +577,7 @@
          *  which may contribute to the result of {@link #lookupModes lookupModes}.
          *  The value is {@code 0x10}, which does not correspond meaningfully to
          *  any particular {@linkplain java.lang.reflect.Modifier modifier bit}.
-         *  @since 1.9
+         *  @since 9
          */
         public static final int MODULE = PACKAGE << 1;
 
--- a/src/java.base/share/classes/java/lang/module/Configuration.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/Configuration.java	Sun Dec 06 08:28:15 2015 +0000
@@ -144,7 +144,7 @@
  *                        .bind();
  * }</pre>
  *
- * @since 1.9
+ * @since 9
  * @see Layer
  */
 
@@ -422,7 +422,7 @@
      * method to obtain the set of {@code ReadDependence} that a module in the
      * configuration reads.
      *
-     * @since 1.9
+     * @since 9
      */
     public static final class ReadDependence {
         private final Configuration cf;
--- a/src/java.base/share/classes/java/lang/module/FindException.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/FindException.java	Sun Dec 06 08:28:15 2015 +0000
@@ -29,7 +29,7 @@
  * Thrown by module finders when finding a module fails.
  *
  * @see ModuleFinder
- * @since 1.9
+ * @since 9
  */
 
 public class FindException extends RuntimeException {
--- a/src/java.base/share/classes/java/lang/module/InvalidModuleDescriptorException.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/InvalidModuleDescriptorException.java	Sun Dec 06 08:28:15 2015 +0000
@@ -30,7 +30,7 @@
  * to be malformed or otherwise cannot be interpreted as a module descriptor.
  *
  * @see ModuleDescriptor#read
- * @since 1.9
+ * @since 9
  */
 public class InvalidModuleDescriptorException extends RuntimeException {
     private static final long serialVersionUID = 1L;
--- a/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java	Sun Dec 06 08:28:15 2015 +0000
@@ -51,7 +51,7 @@
 /**
  * A module descriptor.
  *
- * @since 1.9
+ * @since 9
  */
 
 public class ModuleDescriptor
@@ -62,7 +62,7 @@
      * <p> A dependence upon a module </p>
      *
      * @see ModuleDescriptor#requires()
-     * @since 1.9
+     * @since 9
      */
 
     public final static class Requires
@@ -72,7 +72,7 @@
         /**
          * A modifier on a module dependence.
          *
-         * @since 1.9
+         * @since 9
          */
         public static enum Modifier {
 
@@ -188,7 +188,7 @@
      * <p> A module export, may be qualified or unqualified. </p>
      *
      * @see ModuleDescriptor#exports()
-     * @since 1.9
+     * @since 9
      */
 
     public final static class Exports {
@@ -265,7 +265,7 @@
      * <p> A service that a module provides one or more implementations of. </p>
      *
      * @see ModuleDescriptor#provides()
-     * @since 1.9
+     * @since 9
      */
 
     public final static class Provides {
@@ -324,7 +324,7 @@
      * Policy Manual, Chapter 5: Control files and their fields<a>
      *
      * @see ModuleDescriptor#version()
-     * @since 1.9
+     * @since 9
      */
 
     public final static class Version
@@ -733,7 +733,7 @@
     /**
      * A builder used for building {@link ModuleDescriptor} objects.
      *
-     * @since 1.9
+     * @since 9
      */
     public static final class Builder {
 
--- a/src/java.base/share/classes/java/lang/module/ModuleFinder.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/ModuleFinder.java	Sun Dec 06 08:28:15 2015 +0000
@@ -68,7 +68,7 @@
  *
  * <p> A {@code ModuleFinder} is not required to be thread safe. </p>
  *
- * @since 1.9
+ * @since 9
  */
 
 public interface ModuleFinder {
--- a/src/java.base/share/classes/java/lang/module/ModuleReader.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/ModuleReader.java	Sun Dec 06 08:28:15 2015 +0000
@@ -56,7 +56,7 @@
  * access is denied by the security manager. </p>
  *
  * @see ModuleReference
- * @since 1.9
+ * @since 9
  */
 
 public interface ModuleReader extends Closeable {
--- a/src/java.base/share/classes/java/lang/module/ModuleReference.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/ModuleReference.java	Sun Dec 06 08:28:15 2015 +0000
@@ -45,7 +45,7 @@
  *
  * @see ModuleFinder
  * @see ModuleReader
- * @since 1.9
+ * @since 9
  */
 
 public final class ModuleReference {
--- a/src/java.base/share/classes/java/lang/module/ResolutionException.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/ResolutionException.java	Sun Dec 06 08:28:15 2015 +0000
@@ -31,7 +31,7 @@
  * @see Configuration#resolve
  * @see Configuration#bind
  *
- * @since 1.9
+ * @since 9
  */
 public class ResolutionException extends RuntimeException {
     private static final long serialVersionUID = 1L;
--- a/src/java.base/share/classes/java/lang/module/package-info.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/module/package-info.java	Sun Dec 06 08:28:15 2015 +0000
@@ -24,7 +24,7 @@
  */
 
 /**
- * @since 1.9
+ * @since 9
  */
 
 package java.lang.module;
--- a/src/java.base/share/classes/java/lang/reflect/InaccessibleObjectException.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/reflect/InaccessibleObjectException.java	Sun Dec 06 08:28:15 2015 +0000
@@ -29,7 +29,7 @@
  * Thrown when Java language access checks cannot be suppressed.
  *
  * @see AccessibleObject#setAccessible(boolean)
- * @since 1.9
+ * @since 9
  */
 
 public class InaccessibleObjectException extends RuntimeException {
@@ -49,4 +49,4 @@
         super(msg);
     }
 
-}
\ No newline at end of file
+}
--- a/src/java.base/share/classes/java/lang/reflect/Layer.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/reflect/Layer.java	Sun Dec 06 08:28:15 2015 +0000
@@ -68,7 +68,7 @@
  * @apiNote As Layer is in java.lang.reflect then its method names may
  * need to follow the convention in this package.
  *
- * @since 1.9
+ * @since 9
  */
 
 public final class Layer {
@@ -78,7 +78,7 @@
      * Finds the class loader for a module.
      *
      * @see Layer#create
-     * @since 1.9
+     * @since 9
      */
     @FunctionalInterface
     public static interface ClassLoaderFinder {
--- a/src/java.base/share/classes/java/lang/reflect/LayerInstantiationException.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/reflect/LayerInstantiationException.java	Sun Dec 06 08:28:15 2015 +0000
@@ -30,7 +30,7 @@
  *
  * @see Layer#create
  *
- * @since 1.9
+ * @since 9
  */
 public class LayerInstantiationException extends RuntimeException {
     private static final long serialVersionUID = 1L;
--- a/src/java.base/share/classes/java/lang/reflect/Module.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/lang/reflect/Module.java	Sun Dec 06 08:28:15 2015 +0000
@@ -77,7 +77,7 @@
  * section 6.5.3 of <cite>The Java&trade; Language Specification </cite>, for
  * example, {@code "java.lang"}. </p>
  *
- * @since 1.9
+ * @since 9
  * @see java.lang.Class#getModule
  */
 
--- a/src/java.base/share/classes/java/util/ResourceBundle.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/util/ResourceBundle.java	Sun Dec 06 08:28:15 2015 +0000
@@ -1003,7 +1003,7 @@
      *         if no resource bundle for the specified base name can be found in the
      *         specified module
      * @return a resource bundle for the given base name and the default locale
-     * @since 1.9
+     * @since 9
      * @see ResourceBundleProvider
      */
     public static ResourceBundle getBundle(String baseName, Module module) {
@@ -1041,7 +1041,7 @@
      *         if no resource bundle for the specified base name and locale can
      *         be found in the specified {@code module}
      * @return a resource bundle for the given base name and locale in the module
-     * @since 1.9
+     * @since 9
      */
     public static ResourceBundle getBundle(String baseName, Locale targetLocale, Module module) {
         return getBundleImpl(module, baseName, targetLocale, Control.INSTANCE);
@@ -2192,7 +2192,7 @@
      *         if the caller doesn't have the permission to
      *         {@linkplain Module#getClassLoader() get the class loader}
      *         of the given {@code module}
-     * @since 1.9
+     * @since 9
      * @see ResourceBundle.Control#getTimeToLive(String,Locale)
      */
     public static final void clearCache(Module module) {
--- a/src/java.base/share/classes/java/util/ServiceLoader.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/util/ServiceLoader.java	Sun Dec 06 08:28:15 2015 +0000
@@ -1083,7 +1083,7 @@
      *         caller is in a named module and its module descriptor does
      *         not declare that it uses {@code service}
      *
-     * @since 1.9
+     * @since 9
      */
     @CallerSensitive
     public static <S> ServiceLoader<S> load(Layer layer, Class<S> service) {
--- a/src/java.base/share/classes/java/util/spi/AbstractResourceBundleProvider.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/util/spi/AbstractResourceBundleProvider.java	Sun Dec 06 08:28:15 2015 +0000
@@ -38,7 +38,7 @@
  * {@code AbstractResourceBundleProvider} is an abstract class for helping
  * implement the {@link ResourceBundleProvider} interface.
  *
- * @since 1.9
+ * @since 9
  */
 public abstract class AbstractResourceBundleProvider implements ResourceBundleProvider {
     private static final String FORMAT_CLASS = "java.class";
--- a/src/java.base/share/classes/java/util/spi/ResourceBundleProvider.java	Sat Dec 05 16:23:33 2015 +0000
+++ b/src/java.base/share/classes/java/util/spi/ResourceBundleProvider.java	Sun Dec 06 08:28:15 2015 +0000
@@ -44,7 +44,7 @@
  * ResourceBundle.Control.newBundle()}. Refer to {@link ResourceBundle} for
  * details.
  *
- * @since 1.9
+ * @since 9
  */
 public interface ResourceBundleProvider {
     /**