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 117990 - [60cat] Quick Fix Is Unavailable for serialVersionUID
Summary: [60cat] Quick Fix Is Unavailable for serialVersionUID
Status: RESOLVED DUPLICATE of bug 70746
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-06 06:03 UTC by rationalpi
Modified: 2008-12-22 11:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rationalpi 2007-10-06 06:03:49 UTC
[ JDK VERSION : 1.6.0_02 ]

If you create a class that needs a serialVersionUID, NetBeans detects
this as an error, but doesn't not provide a quick fix. This is a
simple quick fix that NetBeans should provide.
Comment 1 racx 2007-10-06 06:28:55 UTC
I think you are right, especially when using serializable bean.

 I vote for your issue.
Comment 2 rationalpi 2007-10-06 17:13:36 UTC
This issue should be expanded slightly. If you create a serialVersionUID, but don't make it static, NetBeans will
complain, but not provide a quick fix. Same thing for final.

So basically, if NetBeans detects that serialVersionUID is missing, isn't static, isn't a long or isn't final, it should
offer a quick fix to fix all of that in a single action.
Comment 3 _ gtzabari 2008-01-08 21:24:14 UTC

*** This issue has been marked as a duplicate of 70746 ***