RFR: 8259947: (fs) Optimize UnixPath.encode implementation [v3]
Claes Redestad
redestad at openjdk.java.net
Wed Jan 20 13:31:58 UTC 2021
On Tue, 19 Jan 2021 10:46:32 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Move JLA to top, add imports
>
> test/micro/org/openjdk/bench/java/io/FileToPath.java line 46:
>
>> 44: public String root = "/";
>> 45: public String trailingSlash = "/test/dir/file/name.txt/";
>> 46: public String notNormalizedFile = "/test/dir/file//name.txt";
>
> Can be `private`, I think. As long as those are not `static final`...
@shipilev - are you OK with the updated micro?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2135
More information about the core-libs-dev
mailing list