Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2126334 | 5.0u5 | Kelly Ohair | P3 | Resolved | Fixed | b02 |
FULL PRODUCT VERSION :
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When I run the code below with the command
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,onthrow=org.xml.sax.SAXException,launch=notepad.exe,suspend=y test3
the vm does not launch with notepad.
However with JDK 1.4 the vm does launch notepad.
Note that the same failure happens when the 'new' agentlib flag is used
instead of the old Xdebug/Xrunjdwp.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile attached code and run with aformentioned command line
on Windows.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The VM should launch notepad.
ACTUAL -
The VM does not launch notepad
ERROR MESSAGES/STACK TRACES THAT OCCUR :
There are no error messages
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class test3 extends Thread {
static void doThrow() throws org.xml.sax.SAXException {
throw new org.xml.sax.SAXException( "" );
}
public static void main( final String[] args ) throws Throwable {
System.out.println( "start" );
doThrow();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
There is no workaround
###@###.### 2005-04-29 22:19:00 GMT
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When I run the code below with the command
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,onthrow=org.xml.sax.SAXException,launch=notepad.exe,suspend=y test3
the vm does not launch with notepad.
However with JDK 1.4 the vm does launch notepad.
Note that the same failure happens when the 'new' agentlib flag is used
instead of the old Xdebug/Xrunjdwp.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile attached code and run with aformentioned command line
on Windows.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The VM should launch notepad.
ACTUAL -
The VM does not launch notepad
ERROR MESSAGES/STACK TRACES THAT OCCUR :
There are no error messages
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class test3 extends Thread {
static void doThrow() throws org.xml.sax.SAXException {
throw new org.xml.sax.SAXException( "" );
}
public static void main( final String[] args ) throws Throwable {
System.out.println( "start" );
doThrow();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
There is no workaround
###@###.### 2005-04-29 22:19:00 GMT
- backported by
-
JDK-2126334 Regression: jdwp onthrow options seems to be ignored
-
- Resolved
-