|
Quick Lists
|
|
Bug ID:
|
6744132
|
|
Votes
|
0
|
|
Synopsis
|
Spurious failures from test/javax/management/MBeanInfo/NotificationInfoTest.java
|
|
Category
|
jmx:classes
|
|
Reported Against
|
|
|
Release Fixed
|
7(b36)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
03-SEP-2008
|
|
Description
|
The unit test test/javax/management/MBeanInfo/NotificationInfoTest.java checks all classes in the JRE to ensure that any that are Standard MBeans and that emit notifications declare existing classes in the MBeanNotificationInfo[] part of their MBeanInfo. To do this it needs to enumerate the classes in the JRE, which it currently does by assuming a standard JRE where these classes are in ${java.home}/lib/rt.jar. But in certain test configurations we run with a newly-built JDK where the installed images have not been constructed. In this case we need to pick up the classes from the ${java.home}/classes/ directory instead. The test already contains the necessary code for enumerating all the classes in a directory hierarchy (because it was derived from another program) so it just needs to be modified so that it will do that if ${java.home}/lib/rt.jar doesn't exist but ${java.home}/classes does.
Posted Date : 2008-09-03 10:11:07.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Simple fix.
Posted Date : 2008-09-03 10:11:07.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |