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

PlatformImpl in javafx.graphics uses setAccessible to access method in javafx.swing

    XMLWordPrintable

Details

    Description

      PlatformImpl.invokeSwingFXUtilsMethod uses setAccessible to call private methods SwingFXUtils.installFwEventQueue and SwingFXUtils.removeFwEventQueue.

      Note that since the methods being called are in a public class of a publicly exported package, we cannot just make them public. We do not want to expose this implementation detail as API.

      Attachments

        Activity

          People

            ckyang Chien Yang (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: