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

Applet throws OutOfMemory/ClassNotFound exception with cache enabled

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b38
    • Introduced In Version:
      6
    • Resolved In Build:
      b97
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      Applet throws ClassNotFound exception with cache enabled

      builds reproducible - b38 onwards
      The bug is not reproducible on b37

      OS tested - Win XP Pro, Win XP Home
      browsers tested - IE6.0, MZ 1.7.x

      Steps to reproduce

      1) Install jre1.6.0 b37 or later

      2) Delete the folder "java"
      C:\Documents and Settings\{User}\Application data\Sun

      3) Open Java Control Panel, and enable "Show java console" and "Show Applet Lifecycle Exceptions"

      4) Make sure the cache is enabled
      General -> Settings ->Temporary Files Settings
      "Keep temporary files on my computer" should be checked

      4) Open the browser and launch the following applet
      http://sqeweb/deployment1/deployment_tiger_exec_ws/deployment/src/plugin/phonehome/applethtml/GrayBoxTest-19.html

      5) Only three of the six frames are loaded and ClassNotFound exceptions are thrown in the java console. Please see the attachment for the exceptions thrown

      6) Now open the Java Control Panel and disable cache
      General -> Settings ->Temporary Files Settings
      "Keep temporary files on my computer" should be unchecked

      7) Load the above applet again, and the applet loads fine and no exceptions are thrown.

      expected behavior - no exceptions should be thrown with cache enabled.

        Attachments

          Activity

            People

            Assignee:
            ngthomas Thomas Ng (Inactive)
            Reporter:
            anprabha Anjana Prabhakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: