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

FXUIToolkit.showFileChooser() fails when jre is below 7u21

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u102, 9
    • Fix Version/s: 9
    • Component/s: deploy
    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b120

      Backports

        Description

        When running JDK8 or JDK9 deploy code with jre below 7u21, calls to toolkis's abstract method showFileChooser fail with AbstractMethodException.
        Before 7u21 the call had 4 args, and after it has 5.
        We should catch this exception and try to do something (like calling the 4 arg version thru reflection).

        you can see this behavior by installing JDK9 and 7u10 and running :
        http://oklahoma.us.oracle.com/www/tests/dialogs/jnlp/fx7.jnlp

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  herrick Andy Herrick
                  Reporter:
                  herrick Andy Herrick
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: