mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed
Reviewed-by: alanb
This commit is contained in:
parent
82f9819eac
commit
5b7e70645b
4 changed files with 147 additions and 22 deletions
|
@ -52,6 +52,10 @@ class MacOSXFileSystem extends BsdFileSystem {
|
|||
super(provider, dir);
|
||||
}
|
||||
|
||||
boolean isCaseInsensitiveAndPreserving() {
|
||||
return true;
|
||||
}
|
||||
|
||||
// match in unicode canon_eq
|
||||
Pattern compilePathMatchPattern(String expr) {
|
||||
return Pattern.compile(expr, Pattern.CANON_EQ) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue