提交 9666ea70 编写于 作者: M mchung

8065702: Deprecate the Extension Mechanism

Reviewed-by: alanb, iris
上级 df8e6b8f
...@@ -584,7 +584,10 @@ public final class System { ...@@ -584,7 +584,10 @@ public final class System {
* <tr><td><code>java.compiler</code></td> * <tr><td><code>java.compiler</code></td>
* <td>Name of JIT compiler to use</td></tr> * <td>Name of JIT compiler to use</td></tr>
* <tr><td><code>java.ext.dirs</code></td> * <tr><td><code>java.ext.dirs</code></td>
* <td>Path of extension directory or directories</td></tr> * <td>Path of extension directory or directories
* <b>Deprecated.</b> <i>This property, and the mechanism
* which implements it, may be removed in a future
* release.</i> </td></tr>
* <tr><td><code>os.name</code></td> * <tr><td><code>os.name</code></td>
* <td>Operating system name</td></tr> * <td>Operating system name</td></tr>
* <tr><td><code>os.arch</code></td> * <tr><td><code>os.arch</code></td>
......
...@@ -550,8 +550,8 @@ public class Attributes implements Map<Object,Object>, Cloneable { ...@@ -550,8 +550,8 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* <code>Name</code> object for <code>Class-Path</code> * <code>Name</code> object for <code>Class-Path</code>
* manifest attribute. Bundled extensions can use this attribute * manifest attribute. Bundled extensions can use this attribute
* to find other JAR files containing needed classes. * to find other JAR files containing needed classes.
* @see <a href="../../../../technotes/guides/extensions/spec.html#bundled"> * @see <a href="../../../../technotes/guides/jar/jar.html#classpath">
* Extensions Specification</a> * JAR file specification</a>
*/ */
public static final Name CLASS_PATH = new Name("Class-Path"); public static final Name CLASS_PATH = new Name("Class-Path");
...@@ -567,8 +567,8 @@ public class Attributes implements Map<Object,Object>, Cloneable { ...@@ -567,8 +567,8 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* <code>Name</code> object for <code>Sealed</code> manifest attribute * <code>Name</code> object for <code>Sealed</code> manifest attribute
* used for sealing. * used for sealing.
* @see <a href="../../../../technotes/guides/extensions/spec.html#sealing"> * @see <a href="../../../../technotes/guides/jar/jar.html#sealing">
* Extension Sealing</a> * Package Sealing</a>
*/ */
public static final Name SEALED = new Name("Sealed"); public static final Name SEALED = new Name("Sealed");
...@@ -591,9 +591,12 @@ public class Attributes implements Map<Object,Object>, Cloneable { ...@@ -591,9 +591,12 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* <code>Name</code> object for <code>Extension-Name</code> manifest attribute * <code>Name</code> object for <code>Extension-Name</code> manifest attribute
* used for declaring dependencies on installed extensions. * used for declaring dependencies on installed extensions.
* @deprecated Extension mechanism will be removed in a future release.
* Use class path instead.
* @see <a href="../../../../technotes/guides/extensions/spec.html#dependency"> * @see <a href="../../../../technotes/guides/extensions/spec.html#dependency">
* Installed extension dependency</a> * Installed extension dependency</a>
*/ */
@Deprecated
public static final Name EXTENSION_INSTALLATION = new Name("Extension-Installation"); public static final Name EXTENSION_INSTALLATION = new Name("Extension-Installation");
/** /**
...@@ -623,17 +626,23 @@ public class Attributes implements Map<Object,Object>, Cloneable { ...@@ -623,17 +626,23 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/** /**
* <code>Name</code> object for <code>Implementation-Vendor-Id</code> * <code>Name</code> object for <code>Implementation-Vendor-Id</code>
* manifest attribute used for package versioning. * manifest attribute used for package versioning.
* @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779"> * @deprecated Extension mechanism will be removed in a future release.
* Java Product Versioning Specification</a> * Use class path instead.
* @see <a href="../../../../technotes/guides/extensions/versioning.html#applet">
* Optional Package Versioning</a>
*/ */
@Deprecated
public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id"); public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id");
/** /**
* <code>Name</code> object for <code>Implementation-URL</code> * <code>Name</code> object for <code>Implementation-URL</code>
* manifest attribute used for package versioning. * manifest attribute used for package versioning.
* @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779"> * @deprecated Extension mechanism will be removed in a future release.
* Java Product Versioning Specification</a> * Use class path instead.
* @see <a href="../../../../technotes/guides/extensions/versioning.html#applet">
* Optional Package Versioning</a>
*/ */
@Deprecated
public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL"); public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL");
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册