Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
ef521c5f
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ef521c5f
编写于
7月 31, 2017
作者:
J
jjg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8185589: jdk.management API has accessibility issues
Reviewed-by: alanb
上级
37d7c26f
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
56 addition
and
36 deletion
+56
-36
jdk/src/jdk.management/share/classes/com/sun/management/DiagnosticCommandMBean.java
...re/classes/com/sun/management/DiagnosticCommandMBean.java
+25
-17
jdk/src/jdk.management/share/classes/com/sun/management/GarbageCollectionNotificationInfo.java
...com/sun/management/GarbageCollectionNotificationInfo.java
+10
-6
jdk/src/jdk.management/share/classes/com/sun/management/GcInfo.java
...k.management/share/classes/com/sun/management/GcInfo.java
+11
-7
jdk/src/jdk.management/share/classes/com/sun/management/VMOption.java
...management/share/classes/com/sun/management/VMOption.java
+10
-6
未找到文件。
jdk/src/jdk.management/share/classes/com/sun/management/DiagnosticCommandMBean.java
浏览文件 @
ef521c5f
...
@@ -107,35 +107,38 @@ import javax.management.DynamicMBean;
...
@@ -107,35 +107,38 @@ import javax.management.DynamicMBean;
* diagnostic command are described in the table below:
* diagnostic command are described in the table below:
*
*
* <table class="striped"><caption style="display:none">description</caption>
* <table class="striped"><caption style="display:none">description</caption>
* <thead>
* <tr>
* <tr>
* <th
>Name</th><th>Type</th><th
>Description</th>
* <th
scope="col">Name</th><th scope="col">Type</th><th scope="col"
>Description</th>
* </tr>
* </tr>
* </thead>
* <tbody>
* <tr>
* <tr>
* <t
d>dcmd.name</td
><td>String</td>
* <t
h scope="row">dcmd.name</th
><td>String</td>
* <td>The original diagnostic command name (not the operation name)</td>
* <td>The original diagnostic command name (not the operation name)</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.description</td
><td>String</td>
* <t
h scope="row">dcmd.description</th
><td>String</td>
* <td>The diagnostic command description</td>
* <td>The diagnostic command description</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.help</td
><td>String</td>
* <t
h scope="row">dcmd.help</th
><td>String</td>
* <td>The full help message for this diagnostic command (same output as
* <td>The full help message for this diagnostic command (same output as
* the one produced by the 'help' command)</td>
* the one produced by the 'help' command)</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.vmImpact</td
><td>String</td>
* <t
h scope="row">dcmd.vmImpact</th
><td>String</td>
* <td>The impact of the diagnostic command,
* <td>The impact of the diagnostic command,
* this value is the same as the one printed in the 'impact'
* this value is the same as the one printed in the 'impact'
* section of the help message of the diagnostic command, and it
* section of the help message of the diagnostic command, and it
* is different from the getImpact() of the MBeanOperationInfo</td>
* is different from the getImpact() of the MBeanOperationInfo</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.enabled</td
><td>boolean</td>
* <t
h scope="row">dcmd.enabled</th
><td>boolean</td>
* <td>True if the diagnostic command is enabled, false otherwise</td>
* <td>True if the diagnostic command is enabled, false otherwise</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.permissionClass</td
><td>String</td>
* <t
h scope="row">dcmd.permissionClass</th
><td>String</td>
* <td>Some diagnostic command might require a specific permission to be
* <td>Some diagnostic command might require a specific permission to be
* executed, in addition to the MBeanPermission to invoke their
* executed, in addition to the MBeanPermission to invoke their
* associated MBean operation. This field returns the fully qualified
* associated MBean operation. This field returns the fully qualified
...
@@ -143,22 +146,23 @@ import javax.management.DynamicMBean;
...
@@ -143,22 +146,23 @@ import javax.management.DynamicMBean;
* </td>
* </td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.permissionName</td
><td>String</td>
* <t
h scope="row">dcmd.permissionName</th
><td>String</td>
* <td>The fist argument of the permission required to execute this
* <td>The fist argument of the permission required to execute this
* diagnostic command or null if no permission is required</td>
* diagnostic command or null if no permission is required</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.permissionAction</td
><td>String</td>
* <t
h scope="row">dcmd.permissionAction</th
><td>String</td>
* <td>The second argument of the permission required to execute this
* <td>The second argument of the permission required to execute this
* diagnostic command or null if the permission constructor has only
* diagnostic command or null if the permission constructor has only
* one argument (like the ManagementPermission) or if no permission
* one argument (like the ManagementPermission) or if no permission
* is required</td>
* is required</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.arguments</td
><td>Descriptor</td>
* <t
h scope="row">dcmd.arguments</th
><td>Descriptor</td>
* <td>A Descriptor instance containing the descriptions of options and
* <td>A Descriptor instance containing the descriptions of options and
* arguments supported by the diagnostic command (see below)</td>
* arguments supported by the diagnostic command (see below)</td>
* </tr>
* </tr>
* </tbody>
* </table>
* </table>
*
*
* <p>The description of parameters (options or arguments) of a diagnostic
* <p>The description of parameters (options or arguments) of a diagnostic
...
@@ -168,37 +172,41 @@ import javax.management.DynamicMBean;
...
@@ -168,37 +172,41 @@ import javax.management.DynamicMBean;
* instance are described in the table below:
* instance are described in the table below:
*
*
* <table class="striped"><caption style="display:none">description</caption>
* <table class="striped"><caption style="display:none">description</caption>
* <thead>
* <tr>
* <tr>
* <th
>Name</th><th>Type</th><th
>Description</th>
* <th
scope="col">Name</th><th scope="col">Type</th><th scope="col"
>Description</th>
* </tr>
* </tr>
* </thead>
* <tbody>
* <tr>
* <tr>
* <t
d>dcmd.arg.name</td
><td>String</td>
* <t
h scope="row">dcmd.arg.name</th
><td>String</td>
* <td>The name of the parameter</td>
* <td>The name of the parameter</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.arg.type</td
><td>String</td>
* <t
h scope="row">dcmd.arg.type</th
><td>String</td>
* <td>The type of the parameter. The returned String is the name of a type
* <td>The type of the parameter. The returned String is the name of a type
* recognized by the diagnostic command parser. These types are not
* recognized by the diagnostic command parser. These types are not
* Java types and are implementation dependent.
* Java types and are implementation dependent.
* </td>
* </td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.arg.description</td
><td>String</td>
* <t
h scope="row">dcmd.arg.description</th
><td>String</td>
* <td>The parameter description</td>
* <td>The parameter description</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.arg.isMandatory</td
><td>boolean</td>
* <t
h scope="row">dcmd.arg.isMandatory</th
><td>boolean</td>
* <td>True if the parameter is mandatory, false otherwise</td>
* <td>True if the parameter is mandatory, false otherwise</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.arg.isOption</td
><td>boolean</td>
* <t
h scope="row">dcmd.arg.isOption</th
><td>boolean</td>
* <td>True if the parameter is an option, false if it is an argument</td>
* <td>True if the parameter is an option, false if it is an argument</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>dcmd.arg.isMultiple</td
><td>boolean</td>
* <t
h scope="row">dcmd.arg.isMultiple</th
><td>boolean</td>
* <td>True if the parameter can be specified several times, false
* <td>True if the parameter can be specified several times, false
* otherwise</td>
* otherwise</td>
* </tr>
* </tr>
* </tbody>
* </table>
* </table>
*
*
* <p>When the set of diagnostic commands currently supported by the Java
* <p>When the set of diagnostic commands currently supported by the Java
...
...
jdk/src/jdk.management/share/classes/com/sun/management/GarbageCollectionNotificationInfo.java
浏览文件 @
ef521c5f
...
@@ -182,26 +182,30 @@ public class GarbageCollectionNotificationInfo implements CompositeDataView {
...
@@ -182,26 +182,30 @@ public class GarbageCollectionNotificationInfo implements CompositeDataView {
* the following attributes:
* the following attributes:
* <blockquote>
* <blockquote>
* <table class="striped"><caption style="display:none">description</caption>
* <table class="striped"><caption style="display:none">description</caption>
* <thead>
* <tr>
* <tr>
* <th style="text-align:left">Attribute Name</th>
* <th s
cope="col" s
tyle="text-align:left">Attribute Name</th>
* <th style="text-align:left">Type</th>
* <th s
cope="col" s
tyle="text-align:left">Type</th>
* </tr>
* </tr>
* </thead>
* <tbody>
* <tr>
* <tr>
* <t
d>gcName</td
>
* <t
h scope="row">gcName</th
>
* <td>{@code java.lang.String}</td>
* <td>{@code java.lang.String}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>gcAction</td
>
* <t
h scope="row">gcAction</th
>
* <td>{@code java.lang.String}</td>
* <td>{@code java.lang.String}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>gcCause</td
>
* <t
h scope="row">gcCause</th
>
* <td>{@code java.lang.String}</td>
* <td>{@code java.lang.String}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>gcInfo</td
>
* <t
h scope="row">gcInfo</th
>
* <td>{@code javax.management.openmbean.CompositeData}</td>
* <td>{@code javax.management.openmbean.CompositeData}</td>
* </tr>
* </tr>
* </tbody>
* </table>
* </table>
* </blockquote>
* </blockquote>
*
*
...
...
jdk/src/jdk.management/share/classes/com/sun/management/GcInfo.java
浏览文件 @
ef521c5f
...
@@ -184,30 +184,34 @@ public class GcInfo implements CompositeData, CompositeDataView {
...
@@ -184,30 +184,34 @@ public class GcInfo implements CompositeData, CompositeDataView {
*
*
* <blockquote>
* <blockquote>
* <table class="striped"><caption style="display:none">description</caption>
* <table class="striped"><caption style="display:none">description</caption>
* <thead>
* <tr>
* <tr>
* <th style="text-align:left">Attribute Name</th>
* <th s
cope="col" s
tyle="text-align:left">Attribute Name</th>
* <th style="text-align:left">Type</th>
* <th s
cope="col" s
tyle="text-align:left">Type</th>
* </tr>
* </tr>
* </thead>
* <tbody>
* <tr>
* <tr>
* <t
d>index</td
>
* <t
h scope="row">index</th
>
* <td>{@code java.lang.Long}</td>
* <td>{@code java.lang.Long}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>startTime</td
>
* <t
h scope="row">startTime</th
>
* <td>{@code java.lang.Long}</td>
* <td>{@code java.lang.Long}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>endTime</td
>
* <t
h scope="row">endTime</th
>
* <td>{@code java.lang.Long}</td>
* <td>{@code java.lang.Long}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>memoryUsageBeforeGc</td
>
* <t
h scope="row">memoryUsageBeforeGc</th
>
* <td>{@code javax.management.openmbean.TabularData}</td>
* <td>{@code javax.management.openmbean.TabularData}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>memoryUsageAfterGc</td
>
* <t
h scope="row">memoryUsageAfterGc</th
>
* <td>{@code javax.management.openmbean.TabularData}</td>
* <td>{@code javax.management.openmbean.TabularData}</td>
* </tr>
* </tr>
* </tbody>
* </table>
* </table>
* </blockquote>
* </blockquote>
*
*
...
...
jdk/src/jdk.management/share/classes/com/sun/management/VMOption.java
浏览文件 @
ef521c5f
...
@@ -191,26 +191,30 @@ public class VMOption {
...
@@ -191,26 +191,30 @@ public class VMOption {
*
*
* <blockquote>
* <blockquote>
* <table class="striped"><caption style="display:none">description</caption>
* <table class="striped"><caption style="display:none">description</caption>
* <thead>
* <tr>
* <tr>
* <th style="text-align:left">Attribute Name</th>
* <th s
cope="col" s
tyle="text-align:left">Attribute Name</th>
* <th style="text-align:left">Type</th>
* <th s
cope="col" s
tyle="text-align:left">Type</th>
* </tr>
* </tr>
* </thead>
* <tbody>
* <tr>
* <tr>
* <t
d>name</td
>
* <t
h scope="row">name</th
>
* <td>{@code java.lang.String}</td>
* <td>{@code java.lang.String}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>value</td
>
* <t
h scope="row">value</th
>
* <td>{@code java.lang.String}</td>
* <td>{@code java.lang.String}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>origin</td
>
* <t
h scope="row">origin</th
>
* <td>{@code java.lang.String}</td>
* <td>{@code java.lang.String}</td>
* </tr>
* </tr>
* <tr>
* <tr>
* <t
d>writeable</td
>
* <t
h scope="row">writeable</th
>
* <td>{@code java.lang.Boolean}</td>
* <td>{@code java.lang.Boolean}</td>
* </tr>
* </tr>
* </tbody>
* </table>
* </table>
* </blockquote>
* </blockquote>
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录