1.1 --- a/src/share/vm/services/attachListener.cpp Tue Aug 19 07:36:11 2014 +0200 1.2 +++ b/src/share/vm/services/attachListener.cpp Fri May 30 19:13:07 2014 +0200 1.3 @@ -162,10 +162,7 @@ 1.4 java_lang_Throwable::print(PENDING_EXCEPTION, out); 1.5 out->cr(); 1.6 CLEAR_PENDING_EXCEPTION; 1.7 - // The exception has been printed on the output stream 1.8 - // If the JVM returns JNI_ERR, the attachAPI throws a generic I/O 1.9 - // exception and the content of the output stream is not processed. 1.10 - // By returning JNI_OK, the exception will be displayed on the client side 1.11 + return JNI_ERR; 1.12 } 1.13 return JNI_OK; 1.14 }