diff --git a/src/share/classes/java/lang/System.java b/src/share/classes/java/lang/System.java index 69d1d0fe1ef0866381a7d32fc1d8dbb5036829c1..b2747fa7a41bc60266d3811b04fe371e97baa35c 100644 --- a/src/share/classes/java/lang/System.java +++ b/src/share/classes/java/lang/System.java @@ -584,7 +584,10 @@ public final class System { * java.compiler * Name of JIT compiler to use * java.ext.dirs - * Path of extension directory or directories + * Path of extension directory or directories + * Deprecated. This property, and the mechanism + * which implements it, may be removed in a future + * release. * os.name * Operating system name * os.arch diff --git a/src/share/classes/java/util/jar/Attributes.java b/src/share/classes/java/util/jar/Attributes.java index 026b2a88eb09007e328864251b0be6b212b6837b..795b80900dda4071915578bd3fe74ec88aad3dcd 100644 --- a/src/share/classes/java/util/jar/Attributes.java +++ b/src/share/classes/java/util/jar/Attributes.java @@ -550,8 +550,8 @@ public class Attributes implements Map, Cloneable { * Name object for Class-Path * manifest attribute. Bundled extensions can use this attribute * to find other JAR files containing needed classes. - * @see - * Extensions Specification + * @see + * JAR file specification */ public static final Name CLASS_PATH = new Name("Class-Path"); @@ -567,8 +567,8 @@ public class Attributes implements Map, Cloneable { /** * Name object for Sealed manifest attribute * used for sealing. - * @see - * Extension Sealing + * @see + * Package Sealing */ public static final Name SEALED = new Name("Sealed"); @@ -591,9 +591,12 @@ public class Attributes implements Map, Cloneable { /** * Name object for Extension-Name manifest attribute * used for declaring dependencies on installed extensions. + * @deprecated Extension mechanism will be removed in a future release. + * Use class path instead. * @see * Installed extension dependency */ + @Deprecated public static final Name EXTENSION_INSTALLATION = new Name("Extension-Installation"); /** @@ -623,17 +626,23 @@ public class Attributes implements Map, Cloneable { /** * Name object for Implementation-Vendor-Id * manifest attribute used for package versioning. - * @see - * Java Product Versioning Specification + * @deprecated Extension mechanism will be removed in a future release. + * Use class path instead. + * @see + * Optional Package Versioning */ + @Deprecated public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id"); /** * Name object for Implementation-URL * manifest attribute used for package versioning. - * @see - * Java Product Versioning Specification + * @deprecated Extension mechanism will be removed in a future release. + * Use class path instead. + * @see + * Optional Package Versioning */ + @Deprecated public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL"); /**