Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210615 Swing interop requires qualified exports when run with JDK 10
  3. JDK-8210616

Release Note: Swing interop requires qualified exports when run with OpenJDK 10

XMLWordPrintable

      To run FX / Swing interop applications using JavaFX 11 with an OpenJDK 10 release, the following four qualified exports must be added to the `java` command line.

      ```
      --add-exports=java.desktop/java.awt.dnd.peer=javafx.swing
      --add-exports=java.desktop/sun.awt=javafx.swing
      --add-exports=java.desktop/sun.awt.dnd=javafx.swing
      --add-exports=java.desktop/sun.swing=javafx.swing
      ```

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: