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.
I suggest that Java templates have a new magic token, __RANDOM_LONG__, which would evaluate to a randomly selected long value, e.g. "-3875567542167L". The purpose of this would be so that you could place in templates: public SomeBean implements Serializable { private static final long serialVersionUID = __RANDOM_LONG__; } Now newly created beans would have a usable serial version already defined when they were made. It is not enough to hardcode the value into the template, because it needs to be different each time the template is instantiated.
Target milestone -> 3.3.1.
Cleaning up before 4.0 planning
Now that I think about it, this feature is probably unnecessary. SVUID's can initially be any arbitrary number, they need not be random; e.g. template could just use 1L. Specific SVUIDs are used only to keep compatibility after accidentally making one release without an SVUID, after which you need to use serialver tool anyway. So feel free to mark this issue WONTFIX.
Target milestone was changed from not determined to TBD
No purpose, I guess.