Re: [fedora-java] HelloWorld Example Won't compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Charles Curley <charlescurley@xxxxxxxxxxxxxxxxx> [2005-08-23 22:20]:
>     [javac] ----------
>     [javac] 1. WARNING in /home/ccurley/src/com/charlescurley/hello/src/HelloWorld.java
> [...]
>     [javac] The serializable class HelloWorld does not declare a static final serialVersionUID field of type long
>     [javac] ----------
>     [javac] 1 problem (1 warning)
> 
> What am I missing here?

Isn't that just a warning and not an error?  ecj is a little more
particular than other bytecode compilers WRT serialVersionUIDs IIRC.

Andrew


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux