Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154203

Use StackWalker instead of the now-deprecated sun.reflect.Reflection class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
    • Subcomponent:

      Description

      The javafx.fxml module uses two classes from the sun.reflect package:

      sun.reflect.CallerSensitive
      sun.reflect.Reflection

      With JDK-8137058 most classes in the sun.reflect package are moving to the jdk.internal.reflect package, including those two. We either need to find an alternative using public API or react to the move prior to JDK-8137058 going into 9-dev.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: