This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70385 - Duplicate catch branches generated from surround w/ try/catch
Summary: Duplicate catch branches generated from surround w/ try/catch
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 09:54 UTC by _ rkubacki
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2005-12-14 09:54:20 UTC
dev build of trunk from Dec 12, JDK1.6.0_b63, 

I selected method body of ProxyClassLoader.loadClass() and invoked 'surrond w/
try/catch' and get two 
		} catch (ClassNotFoundException ex) {
			ex.printStackTrace();

Maybe this is because there are two paths that can generate this exception.
Comment 1 Jan Becicka 2005-12-16 17:28:46 UTC
Checking in JavaModelUtil.java;

/cvs/java/javacore/src/org/netbeans/modules/javacore/internalapi/JavaModelUtil.java,v
 <--  JavaModelUtil.java

new revision: 1.18; previous revision: 1.17

done