Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
9666ea70
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9666ea70
编写于
12月 04, 2014
作者:
M
mchung
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8065702: Deprecate the Extension Mechanism
Reviewed-by: alanb, iris
上级
df8e6b8f
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
21 addition
and
9 deletion
+21
-9
src/share/classes/java/lang/System.java
src/share/classes/java/lang/System.java
+4
-1
src/share/classes/java/util/jar/Attributes.java
src/share/classes/java/util/jar/Attributes.java
+17
-8
未找到文件。
src/share/classes/java/lang/System.java
浏览文件 @
9666ea70
...
...
@@ -584,7 +584,10 @@ public final class System {
* <tr><td><code>java.compiler</code></td>
* <td>Name of JIT compiler to use</td></tr>
* <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>
* <td>Operating system name</td></tr>
* <tr><td><code>os.arch</code></td>
...
...
src/share/classes/java/util/jar/Attributes.java
浏览文件 @
9666ea70
...
...
@@ -550,8 +550,8 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* <code>Name</code> object for <code>Class-Path</code>
* manifest attribute. Bundled extensions can use this attribute
* to find other JAR files containing needed classes.
* @see <a href="../../../../technotes/guides/
extensions/spec.html#bundled
">
*
Extensions S
pecification</a>
* @see <a href="../../../../technotes/guides/
jar/jar.html#classpath
">
*
JAR file s
pecification</a>
*/
public
static
final
Name
CLASS_PATH
=
new
Name
(
"Class-Path"
);
...
...
@@ -567,8 +567,8 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/**
* <code>Name</code> object for <code>Sealed</code> manifest attribute
* used for sealing.
* @see <a href="../../../../technotes/guides/
extensions/spec
.html#sealing">
*
Extension
Sealing</a>
* @see <a href="../../../../technotes/guides/
jar/jar
.html#sealing">
*
Package
Sealing</a>
*/
public
static
final
Name
SEALED
=
new
Name
(
"Sealed"
);
...
...
@@ -591,9 +591,12 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/**
* <code>Name</code> object for <code>Extension-Name</code> manifest attribute
* 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">
* Installed extension dependency</a>
*/
@Deprecated
public
static
final
Name
EXTENSION_INSTALLATION
=
new
Name
(
"Extension-Installation"
);
/**
...
...
@@ -623,17 +626,23 @@ public class Attributes implements Map<Object,Object>, Cloneable {
/**
* <code>Name</code> object for <code>Implementation-Vendor-Id</code>
* manifest attribute used for package versioning.
* @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
* Java Product Versioning Specification</a>
* @deprecated Extension mechanism will be removed in a future release.
* 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"
);
/**
* <code>Name</code> object for <code>Implementation-URL</code>
* manifest attribute used for package versioning.
* @see <a href="../../../../technotes/guides/versioning/spec/versioning2.html#wp90779">
* Java Product Versioning Specification</a>
* @deprecated Extension mechanism will be removed in a future release.
* 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"
);
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录