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

CLASSPATH with white space breaks win32 jdb

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.2
    • 1.2.0
    • core-svc
    • None
    • 1.2.2
    • x86
    • windows_nt
    • Not verified

      Jdb from JDK1.2 gets confused by CLASSPATH with white space:

      C:\>set CLASSPATH=C:\X Y
      C:\>f:\jdk1.1.8\win32\bin\jdb
      Initializing jdb...
      > quit

      C:\>f:\jdk1.2\win32\bin\jdb
      Initializing jdb...
      [Internal debugger error: Failed to exec a child java interpreter with this comm
      and line: f:\jdk1.2\win32\jre\bin\java -Xdebug -Djava.compiler=NONE -classpath
      C:\X Y -Xbootclasspath/a:f:\jdk1.2\win32\lib\tools.jar sun.tools.agent.EmptyApp
      ]
      Exception in thread "main" java.lang.InternalError
              at sun.tools.debug.RemoteAgent.error(RemoteAgent.java:1409)
              at sun.tools.debug.RemoteAgent.<init>(RemoteAgent.java:243)
              at sun.tools.debug.RemoteDebugger.<init>(RemoteDebugger.java:63)
              at sun.tools.ttydebug.TTY.<init>(Compiled Code)
              at sun.tools.ttydebug.TTY.main(Compiled Code)

      dean.long@Eng 1999-01-13

            ghirschsunw Gordon Hirsch (Inactive)
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: