RFR: 8293067: (fs) Implement WatchService using system library (macOS) [v8]
Maxim Kartashev
mkartashev at openjdk.org
Wed Oct 19 06:14:09 UTC 2022
On Tue, 18 Oct 2022 18:31:59 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Maxim Kartashev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Don't use JavaVM exported from nio_util.c
>
> src/java.base/macosx/classes/sun/nio/fs/MacOSXWatchService.java line 379:
>
>> 377:
>> 378: private Path toRelativePath(final String absPath) {
>> 379: return (absPath.length() > realRootPathLength)
>
> Nit: Are there several spaces after `return`?
Yes, to align the beginning of the returned expression with its continuations on the subsequent two lines.
-------------
PR: https://git.openjdk.org/jdk/pull/10140
More information about the nio-dev
mailing list