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

cache: Shortcut points to non existant image after update of just the image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 10
    • 7, 7u4
    • deploy
    • generic
    • generic, windows

      see: 7116127, which describes this problem while only fixing the case where both jnlp file and image are updated.

      an ico file is generated by IcoEncoder.java when one of the image files is being used for a shortcut.
      The file is tagged in the cache entry with a shortcutImage flag, and the clenaup thread then knows not to remove it.
      But if the original image resource is updated, you get to removeCacheEntryImpl(), and the image file along with any ".ico" file generated from it are removed.

      The "default" image file is treated like a resource. that is, LaunchDownload.downloadEagerAll() will download or update it from prepareResources(), if update mode is background then LDUpdater will do the same thing.
      in either case the .ico file previously generated for a shortcut will be removed, and the shortcut will point to a non-existant file.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: