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

_filename in cachescheme.HTMLVersionTable needs fixing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.1
    • deploy
    • beta
    • sparc
    • solaris_2.6
    • Verified

      The filename (_filename) in cachescheme HTMLVersionTable needs to be fixed.
      The built _filename (path and filename) contains duplicate directory names. The
      PluginCacheTable.cacheHome variable already has userHome and javaplugin.version in it. So you end up with a path like the below being created.

      /home/user/home/user/java_plugin_AppletStore/null/null/html/version.table

      From HTMLVersionTable.java

      _filename = userHome
      + File.separator + PluginCacheTable.cacheHome
      + File.separator + System.getProperty("javaplugin.version")
      + File.separator + "html"
      + File.separator + "version.table";

      From PluginCacheTable.java

      cacheHome = userHome + File.separator + "java_plugin_AppletStore" +
      File.separator + System.getProperty("javaplugin.version");

            mcolburnsunw Michael Colburn (Inactive)
            mcolburnsunw Michael Colburn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: