This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Patch: java.awt
On Fri, Dec 05, 2003 at 12:31:44AM +0100, Mark Wielaard wrote:
> Hi,
>
> On Thu, 2003-12-04 at 21:36, Michael Koch wrote:
> > 2003-12-04 Michael Koch <konqueror@gmx.de>
> >
> > + * java/awt/MenuComponent.java: Import java.io.Serialization.
> > + * java/awt/MenuItem.java: Likewise.
> > + * java/awt/TextComponent.java: Likewise.
> > + * java/awt/image/ImagingOpException.java
> > + (serialVersionUID): Fixed.
> > +
>
> > --- java/awt/MenuComponent.java 2 Mar 2003 19:24:49 -0000 1.11
> > +++ java/awt/MenuComponent.java 4 Dec 2003 19:29:47 -0000
> > [...]
> > // Serialization Constant
> > -private static final long serialVersionUID = -4536902356223894379L;
> > +private static final long serialVersionUID = -4269533416223798698L;
>
> This change is not in the ChangeLog entry.
> Any idea were the old value came from?
> Did the uid change between spec versions?
>
> > /**
> > * Compatible with JDK 1.0+.
> > */
> > - private static final long serialVersionUID = 96598996116164315L;
> > + private static final long serialVersionUID = 8026288481846276658L;
>
> You change the value, but not the comment. Is that correct?
I think both values were always wrong. Just noone noticed this before. I
tried JDK 1.3.0 and JDK 1.4.2. I have no older versions accessible here.
Michael