[fedora-java] HelloWorld Example Won't compile
Tom Tromey
tromey at redhat.com
Wed Aug 24 21:51:16 UTC 2005
>>>>> "Charles" == Charles Curley <charlescurley at charlescurley.com> writes:
Charles> public class HelloWorld extends HttpServlet {
Charles> static final long serialVersionUID = 0;
Charles> Now a C compiler (or lint) would have complained that it isn't
Charles> used. Sigh.
java compilers should know to special case serialVersionUID.
It is customary to make this private.
Tom
More information about the fedora-devel-java-list
mailing list