Code Review Request: 8016576: Overrides warnings in jdi and jconsole

Kurchi Hazra kurchi.subhra.hazra at oracle.com
Wed Jun 19 12:05:24 PDT 2013


On 6/17/2013 1:01 PM, Chris Hegarty wrote:
>
> On 06/17/2013 08:08 PM, Kurchi Hazra wrote:
>>
>>>> - Maybe a webrev helps:
>>>> http://cr.openjdk.java.net/~khazra/8016576/webrev.01/
>>>> <http://cr.openjdk.java.net/%7Ekhazra/8016576/webrev.01/>
>>>
>>> Looks fine, but trivially remove the unnecessary null check in equals
>>> before pushing. If 'o instanceof XObject', then it cannot be null.
>>> Similar for SDE.equals
>> - For XObject I am checking if object is null which is a member of
>> XObject (and not o) -
>
> Apologies, you are correct. Since I'm unlikely to ever look at this 
> code again ;-) I'll refrain from suggesting to rename the variables to 
> something less obscure/confusing.

Thanks Chris. This is what I am pushing finally:
http://cr.openjdk.java.net/~khazra/8016576/webrev.02/ 
<http://cr.openjdk.java.net/%7Ekhazra/8016576/webrev.02/>



>
> > I'll remove the null check in SDE.
>
> Thanks,
>
> -Chris.
>
>>
>>>
>>> -Chris.
>>

-- 
-Kurchi



More information about the serviceability-dev mailing list