[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR(XXS): 8156226: DiagnosticCommandImpl::invoke throws NoSuchMethodException even if the method
From:       Kirill Zhaldbybin <kirill.zhaldybin () oracle ! com>
Date:       2016-06-14 21:13:28
Message-ID: 57607378.7020301 () oracle ! com
[Download RAW message or body]

David,

Thank you for review!

Regards, Kirill

On 06/13/2016 03:21 AM, David Holmes wrote:
>
>
> On 11/06/2016 6:12 PM, Daniel Fuchs wrote:
>> On 11/06/16 01:41, David Holmes wrote:
>>> Better, but I still wonder what Arrays.toString prints for an empty
>>> array?
>>
>> It prints "[]" - like Collections.emptyList().toString():
>
> Thanks Daniel.
>
> Okay no further comments from me.
>
> David
> -----
>
>> System.out.println("null:                         "
>>           + Arrays.toString((Object[])null));
>>   System.out.println("new Object[0]:                "
>>           + Arrays.toString(new Object[0]));
>>   System.out.println("Arrays.asList(new Object[0]): "
>>           + Arrays.asList(new Object[0]));
>>
>>> null:                         null
>>> new Object[0]:                []
>>> Arrays.asList(new Object[0]): []
>>
>> cheers,
>>
>> -- daniel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic