Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
3d7f4a1b
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看板
提交
3d7f4a1b
编写于
6月 24, 2014
作者:
J
jbachorik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8047073: Some javax/management/ fails with JFR
Reviewed-by: egahlin, dfuchs
上级
480714e5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
9 deletion
+4
-9
test/javax/management/MBeanServer/MBeanFallbackTest.java
test/javax/management/MBeanServer/MBeanFallbackTest.java
+1
-2
test/javax/management/ObjectName/SerialCompatTest.java
test/javax/management/ObjectName/SerialCompatTest.java
+1
-3
test/javax/management/mxbean/MXBeanFallbackTest.java
test/javax/management/mxbean/MXBeanFallbackTest.java
+1
-2
test/javax/management/proxy/JMXProxyFallbackTest.java
test/javax/management/proxy/JMXProxyFallbackTest.java
+1
-2
未找到文件。
test/javax/management/MBeanServer/MBeanFallbackTest.java
浏览文件 @
3d7f4a1b
...
@@ -35,7 +35,7 @@ import javax.management.ObjectName;
...
@@ -35,7 +35,7 @@ import javax.management.ObjectName;
* @author Jaroslav Bachorik
* @author Jaroslav Bachorik
* @run clean MBeanFallbackTest
* @run clean MBeanFallbackTest
* @run build MBeanFallbackTest
* @run build MBeanFallbackTest
* @run main MBeanFallbackTest
* @run main
/othervm -Djdk.jmx.mbeans.allowNonPublic=true
MBeanFallbackTest
*/
*/
public
class
MBeanFallbackTest
{
public
class
MBeanFallbackTest
{
private
static
interface
PrivateMBean
{
private
static
interface
PrivateMBean
{
...
@@ -51,7 +51,6 @@ public class MBeanFallbackTest {
...
@@ -51,7 +51,6 @@ public class MBeanFallbackTest {
private
static
int
failures
=
0
;
private
static
int
failures
=
0
;
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
System
.
setProperty
(
"jdk.jmx.mbeans.allowNonPublic"
,
"true"
);
testPrivate
(
PrivateMBean
.
class
,
new
Private
());
testPrivate
(
PrivateMBean
.
class
,
new
Private
());
if
(
failures
==
0
)
if
(
failures
==
0
)
...
...
test/javax/management/ObjectName/SerialCompatTest.java
浏览文件 @
3d7f4a1b
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
* @author Eamonn McManus, Daniel Fuchs
* @author Eamonn McManus, Daniel Fuchs
* @run clean SerialCompatTest
* @run clean SerialCompatTest
* @run build SerialCompatTest
* @run build SerialCompatTest
* @run main/othervm SerialCompatTest
* @run main/othervm
-Djdk.jmx.mbeans.allowNonPublic=true -Djmx.serial.form=1.0
SerialCompatTest
*/
*/
import
java.io.*
;
import
java.io.*
;
...
@@ -223,8 +223,6 @@ public class SerialCompatTest {
...
@@ -223,8 +223,6 @@ public class SerialCompatTest {
}
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
System
.
setProperty
(
"jmx.serial.form"
,
"1.0"
);
/* Check that we really are in jmx.serial.form=1.0 mode.
/* Check that we really are in jmx.serial.form=1.0 mode.
The property is frozen the first time the ObjectName class
The property is frozen the first time the ObjectName class
is referenced so checking that it is set to the correct
is referenced so checking that it is set to the correct
...
...
test/javax/management/mxbean/MXBeanFallbackTest.java
浏览文件 @
3d7f4a1b
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
* @author Jaroslav Bachorik
* @author Jaroslav Bachorik
* @run clean MXBeanFallbackTest
* @run clean MXBeanFallbackTest
* @run build MXBeanFallbackTest
* @run build MXBeanFallbackTest
* @run main MXBeanFallbackTest
* @run main
/othervm -Djdk.jmx.mbeans.allowNonPublic=true
MXBeanFallbackTest
*/
*/
import
javax.management.MBeanServer
;
import
javax.management.MBeanServer
;
...
@@ -40,7 +40,6 @@ import javax.management.ObjectName;
...
@@ -40,7 +40,6 @@ import javax.management.ObjectName;
public
class
MXBeanFallbackTest
{
public
class
MXBeanFallbackTest
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
System
.
setProperty
(
"jdk.jmx.mbeans.allowNonPublic"
,
"true"
);
testPrivateMXBean
(
"Private"
,
new
Private
());
testPrivateMXBean
(
"Private"
,
new
Private
());
if
(
failures
==
0
)
if
(
failures
==
0
)
...
...
test/javax/management/proxy/JMXProxyFallbackTest.java
浏览文件 @
3d7f4a1b
...
@@ -36,7 +36,7 @@ import javax.management.ObjectName;
...
@@ -36,7 +36,7 @@ import javax.management.ObjectName;
* @author Jaroslav Bachorik
* @author Jaroslav Bachorik
* @run clean JMXProxyFallbackTest
* @run clean JMXProxyFallbackTest
* @run build JMXProxyFallbackTest
* @run build JMXProxyFallbackTest
* @run main JMXProxyFallbackTest
* @run main
/othervm -Djdk.jmx.mbeans.allowNonPublic=true
JMXProxyFallbackTest
*/
*/
public
class
JMXProxyFallbackTest
{
public
class
JMXProxyFallbackTest
{
private
static
interface
PrivateMBean
{
private
static
interface
PrivateMBean
{
...
@@ -56,7 +56,6 @@ public class JMXProxyFallbackTest {
...
@@ -56,7 +56,6 @@ public class JMXProxyFallbackTest {
private
static
int
failures
=
0
;
private
static
int
failures
=
0
;
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
System
.
setProperty
(
"jdk.jmx.mbeans.allowNonPublic"
,
"true"
);
testPrivate
(
PrivateMBean
.
class
);
testPrivate
(
PrivateMBean
.
class
);
testPrivate
(
PrivateMXBean
.
class
);
testPrivate
(
PrivateMXBean
.
class
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录