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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.1
    • Component/s: vm-legacy
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      rc2
    • CPU:
      sparc
    • OS:
      solaris_7
    • Verification:
      Not verified

      Backports

        Description

        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 <###@###.###>
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: