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

jdbx does not work with jdk 1.3.1 starting with rc1 build 19 onwards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.3.1
    • 1.3.1
    • vm-legacy
    • rc2
    • sparc
    • solaris_7
    • Not verified

        jdbx does not work with jdk 1.3.1 starting with rc1 build 19 onwards.
        rc1 build 18 is ok. The VM appears to go into a deadlock of some
        sorts.
        The script below can be used to reproduce the problem,
        <scriptname> b18 should work as it uses build 18
        <scriptname> b19 does not work, causes a hang and it can be
        stopped with a ^C

        #!/bin/ksh

        doit()
        {
            cat <<EOF >/tmp/JJ.java
        public class JJ {
            public static void main(String args[]) {
                System.out.println("Hello, world!");
            }
        }
        EOF
            cat <<EOF >/tmp/in
        debug /tmp/JJ.class
        run
        EOF
        }

        #set -x
        doit

        # Run jdbx on the JJ class
        runit()
        {
            jdk=$1
            $jdk/bin/javac -g /tmp/JJ.java
            jvm_invocation="$jdk/bin/java -Xdebug -cp /tmp"
            export jvm_invocation
            CLASSPATH=
            export CLASSPATH
           
            /net/sparcworks.eng/export/set/sparcworks0/dbx_62_nightly/dev/buildbin/Deriv
        ed-sparc-S2-debug/bin/dbx -e -s /dev/null < /tmp/in
        }

        runit /net/jdk.eng/export/disk6/promoted/jdk/1.3.1/rc1/$1/binaries/solsparc



        Name: pvR10198 Date: 03/28/2002


        This bug also affects the following test from testbase_nsk:

            nsk/jvmdi/events/threadstart002

        The test will be available in the next release v141r13.

        Pavel Vysotski <###@###.###>
        ======================================================================

              acorn Karen Kinnear (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: