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.
Product Version: NetBeans IDE Dev (Build 201506110001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev The "Constant name does not follow naming conventions" hint should not ask users to rename serialVersionUID because, although it is a constant, its name may not be changed.
In my opinion it's a bug, not an enhancement.
(In reply to cezariusz from comment #1) > In my opinion it's a bug, not an enhancement. I share your opinion. If I follow the Netbeans advice and choose to rename it, then I brake the serialization.
lvaills, I think you meant to change the issue type to DEFECT, not TASK, so I changed it for you.
Fixed in jet-main#00f6e3028462 -- I've excluded serialVersionUID and serialPersistentFields from the serialization spec.
Integrated into 'main-silver', will be available in build *201509020320* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/00f6e3028462 User: Svata Dedic <sdedic@netbeans.org> Log: #252990: serialization constants excluded from name check
*** Bug 255403 has been marked as a duplicate of this bug. ***