-
Enhancement
-
Resolution: Fixed
-
P2
-
8
-
b92
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8143505 | emb-9 | Jaroslav Bachorík | P2 | Resolved | Fixed | team |
MXBean currently supports model-specific types annotated with
java.beans.ConstructorProperties that is tightly coupled with
the client API. A MXBean developer will likely want to avoid
using java.beans.ConstructorProperties if it ends up in the
desktop module that their code doesn't want to pull in. In
that case, the code has to write to achieve the same effort
by defining the from(CompositeData) method.
Suggestion from Eamonn McManus [1]:
Allow ConstructorProperties annotations from any package
[1] http://mail.openjdk.java.net/pipermail/jmx-dev/2012-September/000077.html
java.beans.ConstructorProperties that is tightly coupled with
the client API. A MXBean developer will likely want to avoid
using java.beans.ConstructorProperties if it ends up in the
desktop module that their code doesn't want to pull in. In
that case, the code has to write to achieve the same effort
by defining the from(CompositeData) method.
Suggestion from Eamonn McManus [1]:
Allow ConstructorProperties annotations from any package
[1] http://mail.openjdk.java.net/pipermail/jmx-dev/2012-September/000077.html
- backported by
-
JDK-8143505 Define ConstructorParameters annotation type for MXBeans
-
- Resolved
-
- clones
-
JDK-7199353 Define ConstructorProperties annotation type for MXBeans
-
- Resolved
-
- relates to
-
JDK-7198070 Eliminate static dependency from JMX to java.beans.ConstructorProperties
-
- Resolved
-
-
JDK-8080663 Use sun.misc.SharedSecrets to allow access from java.management to @ConstructorProperties
-
- Resolved
-