You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/05/06 01:07:00 UTC
[jira] [Resolved] (IO-768) Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem
[ https://issues.apache.org/jira/browse/IO-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved IO-768.
--------------------------------
Fix Version/s: 2.12.0
Resolution: Fixed
> Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem
> ----------------------------------------------------------------
>
> Key: IO-768
> URL: https://issues.apache.org/jira/browse/IO-768
> Project: Commons IO
> Issue Type: Improvement
> Affects Versions: 2.11.0
> Reporter: Marcono1234
> Priority: Minor
> Fix For: 2.12.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The file names {{CONIN$}} and {{CONOUT$}} are also reserved on Windows, see https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#consoles.
> Example code:
> {code}
> jshell> Files.readString(Path.of("CONIN$"))
> | Exception java.io.IOException: Incorrect function
> ...
> {code}
> It would be good to add them to {{org.apache.commons.io.FileSystem}}.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)