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 51673 - Interface property sheet generates broken code
Summary: Interface property sheet generates broken code
Status: CLOSED DUPLICATE of bug 23727
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 12:48 UTC by Roman Strobl
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 Roman Strobl 2004-11-19 12:48:45 UTC
[Netbeans 4.0 rc1; JDS v.2; JDK 1.4.2_06]

Try to right-click on interface node in Project
tab for the following interface:

public interface TestInterface {
            
}

Click on Modifiers and choose abstract, then click
on OK. The generated code is:

public abstract interface interface TestInterface {
            
}

Also, there appears an exception for a moment in
the modifiers field (visible for a fraction of a
second before the window closes itself).
Comment 1 Pavel Flaska 2004-11-19 15:18:57 UTC
The bad generated code was recently fixed in another issue. If there
are other problems, please, reopen. Now we filter interface modifier
when generating modifiers.

*** This issue has been marked as a duplicate of 23727 ***
Comment 2 Roman Strobl 2005-07-07 16:09:52 UTC
Verified.