[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.memory-analyzer] Re: Inconsistent display of HashMap-keys

Hi again,

mea culpa! I just took a look into the source of String and noticed that calls like substring() really keep the reference to the original char[] and the rest is as you told me. I didn't know that fact and well, now I'm going to be much more careful when using substring() if I know that I'll keep the sub-string for a longer time.

Thanks for the hint!

Regards,
Stefan