[jboss-jira] [JBoss JIRA] (WFLY-5111) File.exists returns false whereas file exists on filesystem when filename contains §
Jérôme Blanchard (JIRA)
issues at jboss.org
Mon Aug 17 03:31:26 EDT 2015
Jérôme Blanchard created WFLY-5111:
--------------------------------------
Summary: File.exists returns false whereas file exists on filesystem when filename contains §
Key: WFLY-5111
URL: https://issues.jboss.org/browse/WFLY-5111
Project: WildFly
Issue Type: Bug
Affects Versions: 9.0.1.Final
Environment: Linux SLES11 SP1 - JDK Oracle 1.8.0_51-b16
Reporter: Jérôme Blanchard
Assignee: Jason Greene
When I try to open a file in some wildfly code using :
File f = new File("/test/folder/§subfolder/file1.txt")
the method f.exists() return false even if the file really exists.
The same code used in simple java class with a main method gives correct result.
I can't figure out what's make this code to fail in wildfly ?
- There is no SecurityManager enabled
- Filesystem permissions are good
- Filesystem is xfs
Parent folder of the folder with the § is recognized as existing but starting from the folder with the §, the methof file.exists() return false for all the subtree...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list