mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8349006: File.getCanonicalPath should remove "(on UNIX platforms)" from its specification
Reviewed-by: jlu, naoto
This commit is contained in:
parent
ed8945a68a
commit
0181030bdc
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 2024, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1994, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -588,8 +588,8 @@ public class File
|
||||||
* {@link #getAbsolutePath} method, and then maps it to its unique form in a
|
* {@link #getAbsolutePath} method, and then maps it to its unique form in a
|
||||||
* system-dependent way. This typically involves removing redundant names
|
* system-dependent way. This typically involves removing redundant names
|
||||||
* such as {@code "."} and {@code ".."} from the pathname, resolving
|
* such as {@code "."} and {@code ".."} from the pathname, resolving
|
||||||
* symbolic links (on UNIX platforms), and converting drive letters to a
|
* symbolic links, and converting drive letters to a standard case (on
|
||||||
* standard case (on Microsoft Windows platforms).
|
* Microsoft Windows platforms).
|
||||||
*
|
*
|
||||||
* <p> Every pathname that denotes an existing file or directory has a
|
* <p> Every pathname that denotes an existing file or directory has a
|
||||||
* unique canonical form. Every pathname that denotes a nonexistent file
|
* unique canonical form. Every pathname that denotes a nonexistent file
|
||||||
|
@ -1518,7 +1518,7 @@ public class File
|
||||||
* virtual machine with special privileges that allow it to execute files
|
* virtual machine with special privileges that allow it to execute files
|
||||||
* that are not marked executable.
|
* that are not marked executable.
|
||||||
*
|
*
|
||||||
* <p>An invocation of this method of the form {@code file.setExcutable(arg)}
|
* <p>An invocation of this method of the form {@code file.setExecutable(arg)}
|
||||||
* behaves in exactly the same way as the invocation
|
* behaves in exactly the same way as the invocation
|
||||||
*
|
*
|
||||||
* {@snippet lang=java :
|
* {@snippet lang=java :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue