Use sun.misc.SharedSecrets to allow access from java.management to @ConstructorProperties

XMLWordPrintable

        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.

              Assignee:
              Jaroslav Bachorík
              Reporter:
              Jaroslav Bachorík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: