Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Serialization - serialVersionUID
Rajiv Rai
Ranch Hand
Posts: 57
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The serializable class Box does not declare a static final serialVersionUID field of type long..
For which classes is the above warning messages shown?
Is it just for classes which implement Serializable?
Wesleigh Pieters
Ranch Hand
Posts: 81
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
well to me it says class Box? I assume didn't specify a long when declaring and initializing serialVersionUID?
Tomek Ziolkowski
Greenhorn
Posts: 9
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Refer to the description of a Serializable interface
http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html
If your class Box does not implement directly a serializable interface then probably it extends from a class which is serializable.
Campbell Ritchie
Marshal
Posts: 79177
377
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This recent thread
might help, too.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
serializable
Serialization - different JVM version ?
what is the use of the private static long serialVersionUID variable ?
few Qs on serialVersionUID
What is "serialVersionUID"
More...