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

JDI: nsk.jdi.VirtualMachine.redefineClasses throws unspecified InternalException

XMLWordPrintable

    • mantis
    • generic
    • generic
    • Verified



      Name: vpR10197 Date: 08/19/2002


      ------------------------------------------------------------------------------
      Test : nsk/jdi/VirtualMachine/redefineClasses/redefineclasses029
      Test Base : testbase_nsk
      VM : ServerVM, ClientVM
      Mode : comp, int, mixed
      Platform (s) : solx86, linux, solsparc, win
      OS : 5.8, RH7.2, NT/2000
      JDK : 1.4.0-FCS, 1.4.1-b18
      ------------------------------------------------------------------------------
      The test tries to redefine debuggee's class, when byte-code of the new
      class is zero-length array. ClassFormatError exception is expected,
      but the test catches unspecified InternalException.
      The bug is reproduced since Merlin-FCS.
      The test will be available in release r16 of the testbase_nsk.

      Steps to reproduce
      ==================
      1. cd /net/sqesvr.sfbay/export/vsn/GammaBase/Bugs/<BugID>
      2. sh doit.sh $JAVA_HOME

      The test produces the following output:
      TEST BEGINS
      ===========
      >attempting to redefine a class by "empty" class-file...
      # ERROR: debugger FAILURE> ***Unexpected exception com.sun.jdi.InternalException: Unexpected JDWP Error: 100
      com.sun.jdi.InternalException: Unexpected JDWP Error: 100
              at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47)
              at com.sun.tools.jdi.VirtualMachineImpl.redefineClasses(VirtualMachineImpl.java:323)
              at nsk.jdi.VirtualMachine.redefineClasses.redefineclasses029.execTest(redefineclasses029.java:108)
              at nsk.jdi.VirtualMachine.redefineClasses.redefineclasses029.run(redefineclasses029.java:75)
              at nsk.jdi.VirtualMachine.redefineClasses.redefineclasses029.main(redefineclasses029.java:60)

      =============
      TEST FINISHES

      debugee.stderr> completed succesfully.
      debugee> expected Debugee's exit status - 95
      Test finished. exitStatus = 2


      #>
      #> SUMMARY: Following errors occured
      #> during test execution:
      #>
      # ERROR: debugger FAILURE> ***Unexpected exception com.sun.jdi.InternalException: Unexpected JDWP Error: 100
      exit code = 97

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

            jjh James Holmlund (Inactive)
            vitpsunw Vitp Vitp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: