|
Quick Lists
|
|
Bug ID:
|
6731410
|
|
Votes
|
0
|
|
Synopsis
|
JMXServiceURL cannot use @ConstructorProperties for compatibility reasons
|
|
Category
|
jmx:classes
|
|
Reported Against
|
|
|
Release Fixed
|
7(b36)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
6607114
,
6733273
|
|
Submit Date
|
30-JUL-2008
|
|
Description
|
CR 6607114 made JMXServiceURL reconstructible in MXBeans by adding the @ConstructorProperties annotation to one of its constructors. But @java.beans.ConstructorProperties was only added in Java SE 6. The JMX 2.0 API must be implementable on Java SE 5.0, and if this annotation is referenced from one of its classes then it cannot be.
Posted Date : 2008-07-30 11:07:01.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Instead of using @ConstructorProperties, we can add a public static from(CompositeData) method to achieve the same effect. That will work on Java SE 5.0.
Posted Date : 2008-08-04 12:52:18.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |