JDK-4898044 : Request for ExceptionDescribeString JNI function
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2003-07-29
  • Updated: 2012-11-02
  • Resolved: 2003-08-25
Related Reports
Relates :  
Relates :  
Relates :  
Description
As noted in 4777096, javaw doesn't display the same information as java if the vm terminates with an uncaught exception.  The cause of this discrepency is that the JNI function ExceptionDescribe prints to stderr and in a "windows application" like javaw, printing to stderr is a no-op.  Therefore, to allow javaw and other Java launchers more control over exception reporting, there should be a version of ExceptionDescribe which returns its output as a string.

Comments
EVALUATION It was decided to use the Exception.printStackTrace interface to get the javaw exception information instead of creating a new interface. Closing as will not fix. ###@###.### 2003-08-25
25-08-2003