[9] RFR(S): 8080156: Integer.toString(int value) sometimes throws NPE
Tobias Hartmann
tobias.hartmann at oracle.com
Thu May 21 19:12:57 UTC 2015
Thanks, Vladimir.
Best,
Tobias
On 21.05.2015 21:06, Vladimir Kozlov wrote:
> Looks good.
>
> Thanks,
> Vladimir
>
> On 5/21/15 11:51 AM, Tobias Hartmann wrote:
>> Hi,
>>
>> this is a follow up RFR on JDK-8060036 [1] that adds a regression test I used while investigating JDK-8080156 which turned out to be a duplicate.
>>
>> https://bugs.openjdk.java.net/browse/JDK-8080156
>> http://cr.openjdk.java.net/~thartmann/8080156/webrev.00/
>>
>> The test triggers a range check that is implemented with a CmpUNode. If type information is not propagated correctly to the CmpUNode, the range check trap is always taken. Because C2 also removes the unnecessary buffer allocation, a NullPointerException is thrown and the test fails.
>>
>> Thanks,
>> Tobias
>>
>> [1] http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-May/017983.html
>>
More information about the hotspot-compiler-dev
mailing list