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

[Mac] HostServices.showDocument() throws IllegalAccessException

    Details

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

      Description

      To reproduce this bug simply run the attached test program and click on the "Show Document" button on a Mac machine:

      java --add-modules javafx.deploy HelloHostServices

      For now the workaround to this bug is to add the following option at runtime:

      --add-exports=java.desktop/com.apple.eio=javafx.deploy

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ckyang Chien Yang (Inactive)
                Reporter:
                ckyang Chien Yang (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: