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.
SerialVersion does not recognize classes that are Serializable due to a parent class being Serializable. When I run the tool on such a class it displays: No need to compile. Scanning com/dscape/server/projects/msgs/RenameMsg.java Scanning finished No interesting classes were encountered. com.dscape.server.projects.msgs.RenameMsg inherits from a class that implements Serializable. bash-2.04$ javap com.dscape.server.projects.msgs.RenameMsg Compiled from RenameMsg.java public class com.dscape.server.projects.msgs.RenameMsg extends com.dscape.server .projects.msgs.ProjectMsg { com.dscape.server.projects.interfaces.DirContextInfo info; javax.naming.Name toName; public com.dscape.server.projects.msgs.RenameMsg(); public com.dscape.server.projects.msgs.RenameMsg(javax.naming.Name,javax.nam ing.Name,java.security.Principal,com.dscape.server.projects.interfaces.DirContex tInfo); public com.dscape.server.projects.interfaces.DirContextInfo getContextInfo() ; public javax.naming.Name getFromName(); public javax.naming.Name getToName(); } bash-2.04$ com.dscape.server.projects.msgs.ProjectMsg Compiled from ProjectMsg.java public class com.dscape.server.projects.msgs.ProjectMsg extends java.lang.Object implements java.io.Serializable { public com.dscape.server.projects.msgs.ProjectMsg(); public com.dscape.server.projects.msgs.ProjectMsg(javax.naming.Name,java.sec urity.Principal); public javax.naming.Name getName(); public java.security.Principal getUserID(); } bash-2.04$
Are you using the serialversion offered under autoupdate for 3.1? If so, have you tried the development version (easy to compile from source) which has been partially rewritten and may behave differently?
I have just found this issue. I'll try to do something with it.
Now the compilation is a necessary step for evaluation of SUID and that is why checking for inheritance is guaranteed. Reopen if you disagree.