Martin Kalén wrote:
> in the Slide
> class PropertyName, all the String objects are interned in the
> constructor.

That sounds like a potential memory leak to me.

> The Java specification states that two interned strings a and b are
> guaranteed to give a==b true when a.equals(b) is true.

Then either the intern'd strings keep piling up in memory, or
at some point the JVM decides to throw some of them out and
the == begins to fail.

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to