mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8246451: Reduce overhead of normalizing file paths with trailing slash
Reviewed-by: lancea
This commit is contained in:
parent
d9fc44540e
commit
827c8865d8
2 changed files with 3 additions and 2 deletions
|
@ -41,7 +41,7 @@ public class FileOpen {
|
|||
|
||||
public String normalFile = "/test/dir/file/name.txt";
|
||||
public String root = "/";
|
||||
public String trailingSlash = "/test/dir/file//name.txt";
|
||||
public String trailingSlash = "/test/dir/file/name.txt/";
|
||||
public String notNormalizedFile = "/test/dir/file//name.txt";
|
||||
|
||||
@Benchmark
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue