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 91414 - Make class abstract hint does not work
Summary: Make class abstract hint does not work
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-12-21 13:35 UTC by Max Sauer
Modified: 2007-01-17 10:09 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 Max Sauer 2006-12-21 13:35:21 UTC
Make class abstract hint does not work. And consumes class comment.

Steps to reproduce:
-------------------
1) Create a new java class
2) add an abstract method
ie
public abstract void do();
3) Invoke hint

=> class' comment consumed
=> class has not been meda abstract

---
NetBeans IDE Dev (Build 061221)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Jan Lahoda 2006-12-21 14:32:25 UTC
Seems like a code generator issue to me.
Comment 2 Pavel Flaska 2007-01-12 22:27:34 UTC
I'm unable to reproduce, there were some fixed in diffModifiers() which perhaps
fixed also this issue. Marking as FIXED, please, verify.
Comment 3 Pavel Flaska 2007-01-12 22:32:09 UTC
Checking in unit/src/org/netbeans/api/java/source/gen/ModifiersTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/gen/ModifiersTest.java,v
 <--  ModifiersTest.java
new revision: 1.3; previous revision: 1.2
done
Comment 4 Jiri Prox 2007-01-14 10:46:34 UTC
verified

NetBeans IDE Dev (Build 070112)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
en_US (nb); Cp1252