Re: Warnings from auto-generated code

From: Q (qdola..mail.com)
Date: Wed Aug 30 2006 - 22:03:25 EDT

  • Next message: womai..ac.com: "Re: Warnings from auto-generated code"

    I thought I read about this recently somewhere on the wiki. Here it is:

    http://www.objectstyle.org/confluence/display/WOL/Pesky+%
    27Serializable+class+without+serialVersionUID%27+Warnings

    On 31/08/2006, at 11:47 AM, womai..ac.com wrote:

    > I haven't changed anything yet, or even run EOGenerator, but I have
    > two warnings:
    >
    > The serializable class Main does not declare a static final
    > serialVersionUID field of type long
    > The serializable class Session does not declare a static final
    > serialVersionUID field of type long
    >
    > Is this a bug, and how would I fix the code to get rid of the
    > warnings? I've only scratched the surface of Java so far and
    > although I understand generally what the problem is, I'm not sure
    > exactly how it wants these to look.
    >
    > thanks,
    >
    > janine
    >

    -- 
    Seeya...Q
    

    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    _____ / Quinton Dolan - qdola..mail.com __ __/ / / __/ / / / __ / _/ / / Gold Coast, QLD, Australia __/ __/ __/ ____/ / - / Ph: +61 419 729 806 _______ / _\



    This archive was generated by hypermail 2.0.0 : Wed Aug 30 2006 - 22:03:29 EDT