JDK-6962492 : Improve test/java/lang/management/ManagementFactory/MXBeanProxyTest.java
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2010-06-18
  • Updated: 2023-12-14
  • Resolved: 2013-11-14
Related Reports
Relates :  
Relates :  
Description
jdk/test/java/lang/management/ManagementFactory/MXBeanProxyTest.java fails in samevm mode due to jtreg bug 6962489.  Current workaround is to mark this test to run in othervm mode.  This CR is to track to remove othervm tag in MXBeanProxyTest.java test when 6962489 is fixed.

Comments
We have moved away from the test/Makefile target to TEST.groups. The jdk_lang makefile target includes java/lang/management tests in execution whereas jdk_lang test group excludes the serviceability tests. We have been recommending engineers to run with jdk_core (or jdk_xxx) test groups. I'm closing this bug as will not fix since I don't see it as important to be fixed.
14-11-2013

Sorry, it's not a duplicate. I misread the description. I will remove test-stabilzation tag since this is an improvement to a working test.
14-11-2013

Erik - which bug does this bug deplicate?
14-11-2013

duplicate
14-11-2013

TESTFAIL:java/lang/management/ManagementFactory/MXBeanProxyTest.java Not strictly a test failure, but tagging it with TESTFAIL anyway just in case.
13-07-2013

SUGGESTED FIX diff --git a/test/java/lang/management/ManagementFactory/MXBeanProxyTest.java b/test/java/lang/management/ManagementFactory/MXBeanProxyTest.java --- a/test/java/lang/management/ManagementFactory/MXBeanProxyTest.java +++ b/test/java/lang/management/ManagementFactory/MXBeanProxyTest.java @@ -25,7 +25,7 @@ * @test * @bug 5024531 * @summary Basic Test for ManagementFactory.newPlatformMXBean(). - * @run main/othervm MXBeanProxyTest + * @run main MXBeanProxyTest * @author Mandy Chung */ import javax.management.*;
18-06-2010

EVALUATION Remove othervm tag from the @run clause.
18-06-2010