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

-Xcomp -XX:+ScavengeALot cause VM throw ClassCastException

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • CPU:
      x86
    • OS:
      windows_nt

      Description



      Name: icC57033 Date: 11/12/99


      Java HotSpot Client VM 1.3-O throws ClassCastException if flags
      -Xcomp -XX:+ScavengeALot are applied

      To reproduce the bug run doit.bat in
      GammaBase/Bugs/<this bug number>

      WindowsNT output:
      VM option '+ScavengeALot'
      Exception in thread "main" java.lang.ClassCastException: java.util.HashMap$Entry
      at sun.misc.URLClassPath.getLoader(URLClassPath.java:239)
      at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)


      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            mgharahgsunw Mohammad Gharahgouzloo (Inactive)
            Reporter:
            ichebykisunw Igor Chebykin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: