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 193430 - Creates class instead of interface
Summary: Creates class instead of interface
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 10:56 UTC by Chiana
Modified: 2011-01-13 07:34 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 Chiana 2010-12-15 10:56:06 UTC
[ JDK VERSION : 1.6.22 ]

If you create a class with a paremeterizied interface the wizard creates a
class instead of an interface.

Example;

public class Foo implements Bar<Zoo> {
}

wich will give an error complaining about Bar not beeing found, wich in this
case is true, however if, if you click on the icon in the linenumber column
there is only the alternatives "Create class Bar in ..." not "Create interface
in,,,",
This only applies to the interface beeing parameterizied....
Comment 1 Tomas Zezula 2010-12-21 10:51:54 UTC
Introduce class hint
Comment 2 Dusan Balek 2011-01-11 15:49:04 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/ddee44e54784
Comment 3 Quality Engineering 2011-01-13 07:34:19 UTC
Integrated into 'main-golden', will be available in build *201101130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ddee44e54784
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #193430: Creates class instead of interface - fixed.