-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b68
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084311 | emb-9 | Jaroslav Bachorík | P4 | Resolved | Fixed | team |
After JDK-7198070 reflection is used to provide access to @ConstructorProperties from java.management classes.
This approach is not optimal in the modular world.
There already exists the sun.misc.SharedSecrets class enabling to effectively define optional dependencies allowing a safe access across module boundaries. The code in java.management package using the @ConstructorProperties annotation should be updated to use this mechanism instead.
This approach is not optimal in the modular world.
There already exists the sun.misc.SharedSecrets class enabling to effectively define optional dependencies allowing a safe access across module boundaries. The code in java.management package using the @ConstructorProperties annotation should be updated to use this mechanism instead.
- backported by
-
JDK-8084311 Use sun.misc.SharedSecrets to allow access from java.management to @ConstructorProperties
-
- Resolved
-
- relates to
-
JDK-7199353 Define ConstructorProperties annotation type for MXBeans
-
- Resolved
-
-
JDK-8139727 Define ConstructorParameters annotation type for MXBeans
-
- Resolved
-
-
JDK-7198070 Eliminate static dependency from JMX to java.beans.ConstructorProperties
-
- Resolved
-