JDI: Unable to launch a debugee program with vmexec=java_g

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: core-svc
    • None
    • generic
    • generic



      Name: tb29552 Date: 03/21/2001


      Using jdb as an example, this works fine:

      % jdb -connect "com.sun.jdi.CommandLineLaunch:main=HelloWorld"
      Initializing jdb...
      > run
      run HelloWorld
      >
      VM Started: Hello, world!

      The application exited


      But this fails:

      % jdb -connect "com.sun.jdi.CommandLineLaunch:main=HelloWorld:vmexec=java_g"
      Initializing jdb...
      > run
      run HelloWorld:vmexec=java_g
      >
      VM Started:
      Exception occurred: java.lang.ClassNotFoundException (uncaught) thread="main",
      java.net.URLClassLoader$1.run(), line=200, bci=72

      main[1] cont
      >
      Exception occurred: java.lang.ClassNotFoundException (uncaught) thread="main",
      java.net.URLClassLoader.findClass(), line=205, bci=28

      main[1]

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

            Assignee:
            Tim Bell
            Reporter:
            Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: