Request for review: Race conditions in java.nio.charset.Charset
Ulf.Zibis at gmx.de
Thu Oct 8 10:07:33 UTC 2009
Am 08.10.2009 06:35, David Holmes - Sun Microsystems schrieb:
> Ulf Zibis said the following on 10/08/09 08:58:
>> For my better understanding:
>> Can you explain me the real bug in
>> In my understanding, loading the "name" field twice is too only a
>> performance bug. Please correct me!
> Class.getName() could in theory return null and this is not allowed,
> hence this was a functional correctness issue.
Hm, my problem is, I can't see any condition, how Class.getName() could
return null, except native method getName0() would return null.
But if native getName0() could return null, I can't see how the new code
would prevent method Class.getName() from returning null.
More information about the core-libs-dev