• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Serializable Warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serializable Warnings


  • Subject: Re: Serializable Warnings
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 26 Sep 2005 22:16:54 -0400

I assume you're using eclipse, since the default compiler settings complain about this ... You can go to windows=>prefs=>java=>compiler=>warnings and turn off serialization warnings.

On Sep 26, 2005, at 10:05 PM, Art Isbell wrote:

On Sep 26, 2005, at 3:47 PM, Greg wrote:


It seems that every component and eo in my project needs to have a field for serialization. Is this really required?


I don't think so unless you plan to serialize a component or eo and store the serialized form for reconstitution later after the version of the serialized object might have changed.



What is causing this warning as the interface for Serializable is empty so I'm not sure where to look to try and get it to stop with all the warnings.


If you are using jikes as your Java compiler and haven't specified any compiler flags, you'll be warned about all sorts of things. You can shut off the Serializable warnings by specifying a "+Pno-serial" as a compiler flag. I've settled on "+P +Pall +Pno- serial" as a reasonable set of jikes compiler flags from my perspective.


Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Serializable Warnings
      • From: Art Isbell <email@hidden>
References: 
 >Serializable Warnings (From: Greg <email@hidden>)
 >Re: Serializable Warnings (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Serializable Warnings
  • Next by Date: Re: Serializable Warnings
  • Previous by thread: Re: Serializable Warnings
  • Next by thread: Re: Serializable Warnings
  • Index(es):
    • Date
    • Thread