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

com/sun/jdi/RedefineMulti.sh fails with IllegalArgumentException after JDK-8021948

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs25
    • hs25
    • hotspot
    • b48
    • Not verified

        Somehow redefine classes does not work after JDK-8021948 was fixed.

        STDERR:
        ShellScaffold.sh: Version
        --Sending cmd: stop at shtest:22
        --Sending cmd: run
        java version "1.8.0-internal"
        Java(TM) SE Runtime Environment (build 1.8.0-internal-staffan_2013_08_20_11_13-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 25.0-b37, mixed mode)

        --Sending cmd: cont
        --Sending cmd: redefine shtest /Users/staffan/mercurial/hotspot-rt-jdk/JTwork/classes/com/sun/jdi/aa44598/vers2/shtest.class
        rewrite_cp_refs scratch_class->source_file_name_index()=41
        new_source_file_name_idx=0
        --Sending cmd: stop at shtest:22
        --Sending cmd: cont
        Exception in thread "event-handler" java.lang.IllegalArgumentException
        at com.sun.tools.example.debug.tty.Env.sourceLine(Env.java:201)
        at com.sun.tools.example.debug.tty.TTY.printCurrentLocation(TTY.java:238)
        at com.sun.tools.example.debug.tty.TTY.vmInterrupted(TTY.java:201)
        at com.sun.tools.example.debug.tty.EventHandler.run(EventHandler.java:81)
        at java.lang.Thread.run(Thread.java:724)

              Unassigned Unassigned
              sla Staffan Larsen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: