RFR: 8245194: Unix domain socket channel implementation [v23]

Michael McMahon michaelm at openjdk.java.net
Thu Oct 15 08:01:28 UTC 2020


On Wed, 14 Oct 2020 18:37:57 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix white space error
>
> src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java line 717:
> 
>> 715:             UnixDomainSockets.bind(fd, path);
>> 716:         }
>> 717:         if (usa == null || path.toString().equals("")) {
> 
> Maybe you could replace `path.toString().length() > 0` with `!path.toString().isEmpty()` and
> `path.toString().equals("")` with `path.toString().isEmpty()`.

Done

-------------

PR: https://git.openjdk.java.net/jdk/pull/52


More information about the hotspot-jfr-dev mailing list