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

[Bundlers] content type is not set for Windows when specifying file associations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8u40
    • 8u40
    • deploy
    • Windows

    Description

      When I install application with file associations, set to this value:
      [{fileAssociation.extension=[foo, bar], fileAssociation.contentType=[application/example, hello/world], fileAssociation.description=The sample description}, {fileAssociation.extension=[mambo, jumbo], fileAssociation.contentType=[application/sample], fileAssociation.icon=C:\Cygwin\home\gtee\dg\appBundlerTests-8u40\build\classes\com\oracle\appbundlers\utils\resources\icon2ico}], I can't see any trace of content types, which should be shown when I try to do

      $ reg query HKEY_CLASSES_ROOT\.\.foo

      You may look at output of, for example, this command line:
      $ reg query HKEY_CLASSES_ROOT\.\.xml

      To reproduce:
      1) bundle application (.exe installer) with similar file association settings
      2) install it
      3) run "reg query .<extension>"

      Attachments

        Activity

          People

            shemnon Danno Ferrin (Inactive)
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: