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 85976

Summary: If invoked from a constructor, the introduce field hint should generate final fields
Product: java Reporter: Petr Hrebejk <phrebejk>
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker CC: tboudreau
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Petr Hrebejk 2006-09-27 22:50:16 UTC
'nuff said.
Comment 1 Rastislav Komara 2009-02-03 10:56:37 UTC
Overtake.
Comment 2 _ tboudreau 2009-02-03 14:45:09 UTC
Actually, since we do this sort of things with other hints, maybe two hints:
Introduce Field
Introduce Final Field
would be more likely to make everyone happy.  Just don't include the final field hint when not in a constructor.
Comment 3 Jan Lahoda 2010-05-11 13:46:51 UTC
Resetting assignee to default for all bugs reported against product java and assigned to moonko.