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

NPG: Test VMMismatchException001 gets an java.lang.ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • core-svc
    • generic
    • generic

      The NSK test

      nsk/jdi/VMMismatchException/VMMismatchException001

      fails because something isn't returned by the VM that it expects:

      # ERROR: Unexpected exception: java.lang.ArrayIndexOutOfBoundsException: 0
      java.lang.ArrayIndexOutOfBoundsException: 0
              at java.util.Arrays$ArrayList.get(Arrays.java:2875)
              at nsk.jdi.VMMismatchException.VMMismatchException001.VMMismatchException
      001.doThreadReferenceStop(VMMismatchException001.java:398)
              at nsk.jdi.VMMismatchException.VMMismatchException001.VMMismatchException
      001.checkThreadReferenceStop(VMMismatchException001.java:391)
              at nsk.jdi.VMMismatchException.VMMismatchException001.VMMismatchException
      001.main(VMMismatchException001.java:812)
      The failing test holds a reference to a thread with only static java method frames. The test has an instance of java.lang.Exception in a static field of one of the classes in the frames of the thread. However, the class is never found by the FollowReferences call.

      Before the perm gen removal, this class was found when the context class loader of the thread was traversed. The class would be found in the ClassLoader.classes Vector. This vector is not populated anymore, so the class is not found.

            stefank Stefan Karlsson
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: