Re: serialization oddity in Alias

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Thu Feb 11 1999 - 10:47:05 EST


Alexandre Oliva writes:
> > Kaffe outputs a length of 106, JDK 1.1 of 108, but 1.2 outputs 106
> > like Kaffe.
>
> Looks like they've fixed a bug in their implementation. Aren't
> Strings in the Constant Table supposed to be interned by default? Or
> it's just that I didn't really understand the interning difference?

Yes, Strings that are constants in a class file must always ==
their intern'ed value. Check out InternHog.java for example.

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:05 EDT