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

PIT : Image files are not removed from usercache when JNLP App is uninstalled

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Bug description : Image file is not removed from user cache when jnlp application is uninstalled.

      J2SE build number: Tiger PIT build
      -----------------
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b99)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b10, mixed mode)

      Platform Tested : WindowsXP Professional
      ---------------

      Hardware : x86
      ---------
       
      Steps to reproduce the bug :
      ----------------------------

      1.Install JNLP application which has related content feature and the application uses non default icon for Program shortcut Menu.
      2.After successful installation,uninstall the installed jnlp application.
      3.verify the user cache in home directory,except the image file all other files are removed like *.jar,*.jnlp etc.

      Sample JNLP file :
      -------------------
      <?xml version="1.0" encoding="utf-8"?>
      <jnlp spec="1.5+"
          codebase='http://localhost/testcase3&#39; href='case3.jnlp'>

        <information>
          <title>Related Content Test Case 3</title>
          <vendor>unit tests</vendor>
          <description>This is test of related content </description>
          <shortcut>
            <desktop/>
            <menu submenu="rc-case3-suresh">
            <icon href="http://localhost/testcase3/start_up.jpg"/>
            </menu>
          </shortcut>
          <related-content href="jar:nativelib.jar!/rchtml.html">
              <icon href="http://localhost/testcase3/start_up.jpg"/>
              <description>rchelp.html - native content in cache</description>
              <title>Native rc help</title>
          </related-content>
        </information>
         <security>
          <all-permissions/>
         </security>
        <resources>
          <j2se version="1.3+"
                href="http://java.sun.com/products/autodl/j2se"
                java-vm-args="-Xincgc"/>
          <jar href="case3.jar"/>
          <nativelib href="nativelib.jar" />
        </resources>
        <application-desc main-class="T"/>
      </jnlp>

      the image icon start_up.jpg is not removed from the user cache.

      UnitTestCase for this Bug is located at :
      -----------------------------------------
      http://web-east.east/javaws101/web/tests/tiger-unit/4812563/case3.jnlp


      ###@###.### 2003-07-30
      --------------------------------------------------------------------------------

        Attachments

          Activity

            People

            Assignee:
            herrick Andy Herrick
            Reporter:
            schandarsunw Suresh Chandar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: