JDK-4706369 : Revisit JPI code to improve exception handling
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: solaris_11,1.4.0,1.4.1_01,1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,solaris_nevada,solaris_10
  • CPU: generic,unknown
  • Submitted: 2002-06-21
  • Updated: 2010-10-12
  • Resolved: 2010-10-12
Related Reports
Relates :  
Description
Many places in the Java Plug-In code, throwable exceptions are catched and is not rethrown which will hide possible problems with the code. It is a good practice to catch the specific exceptions instead of generic exceptions. When we catch throwable or generic exceptions, we should rethrow more specific exceptions after taking necessary actions

Comments
EVALUATION The bug fix should also extend to Unix Plug-in about how to correctly handle the exception thrown from java_vm process. Currently Unix plugin just simply exit when there is anything wrong, but we should revisit the code to see whether we can better handle the exception situation. ###@###.### 2003-06-18
18-06-2003