Re: serialization oddity in Alias

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Thu Feb 11 1999 - 11:41:15 EST


>
> Tim Wilkinson had written:
>
> >> Yup - that sums it up nicely. The strings in questions are the names of
> >> class fields (part of the CLASSDESC) and I will check that the JDK is happy
> >> about this.
>
> On Feb 10, 1999, Godmar Back <gback@cs.utah.edu> wrote:
>
> > 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?
>

No, I don't think the JVM spec says anything about that. It's an
implementation optimization, that's all.

Note that's different from requiring that "a" + "b" == "ab".

        - Godmar


Date view Thread view Subject view Author view

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