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 14713 - MethodElement contains no exceptions though method declaration contains them
Summary: MethodElement contains no exceptions though method declaration contains them
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classfile (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-22 22:01 UTC by Unknown
Modified: 2003-06-30 16:28 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 Unknown 2001-08-22 22:01:02 UTC
Below is a java source file. Compile it then delete the .java
file. Mount the filesystem in NetBeans. The class node shows
up for SimpleClass. Expand it and then expand the "Methods"
node and then select the 'method1' node. Display the property
sheet. Notice that for "Exceptions" there are none displayed
although in the original source file there is an exception in 
he 'method1' declaration.

This bug is breaking some of the FFJ EJB regression tests.

SOURCE FILE:

package classbug;

import java.io.*;

public interface SimpleClass extends java.io.Serializable {

    public java.lang.String method1 (int i, java.lang.Double d)
                        throws IOException;
}
Comment 1 Svata Dedic 2001-08-23 08:23:10 UTC
Sorry, I can't reproduce it. I followed your steps but the property
sheet shows correct data. Could you please attach the actual .class
file which causes the test to fail ?
Comment 2 Tomas Hurka 2001-08-23 09:47:23 UTC
It is a bug in classfile module. Moving to classfile module.
Comment 3 Tomas Hurka 2001-08-23 10:18:39 UTC
fixed in trunk
Comment 4 Jan Becicka 2001-09-07 16:40:20 UTC
[200109070100] Verified
Comment 5 Quality Engineering 2003-06-30 16:28:14 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.