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

Summary: [60cat] Quick Fix Is Unavailable for serialVersionUID
Product: platform Reporter: rationalpi <rationalpi>
Component: -- Other --Assignee: issues@platform <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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 ***