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

File association without description causes exception

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 15, 16
    • 16
    • tools
    • 15
    • b11
    • Verified

    Description

      when processing a file association, the code calls
      FA_DESCRIPTION.fetchFrom(fa),
      FA_EXTENSIONS.fetchFrom(fa), and
      FA_CONTENT_TYPE.fetchFrom(fa)
      the fa passed in is the map of File Association parameters not the app parameters.
      now FA_DESCRIPTION.fetchFrom(fa) may call APP_NAME.fetchFrom(params) to create a dummy description (if there is no description given).
      now APP_NAME (if there is none) gets us into MAIN_CLASS which (if there is none) gets us to the new LAUNCHER_DATA.
      All with a set of parameters not intended for anything but the FA_XXX parameters.
      the result is a ConfigException in LauncherData.create(params)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: