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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 8u102, 9
    • deploy
    • 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

                herrick Andy Herrick (Inactive)
                herrick Andy Herrick (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: