[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 10:42:26 EDT 2015
[ https://issues.jboss.org/browse/WFLY-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jérôme Blanchard closed WFLY-5111.
----------------------------------
Resolution: Rejected
This is an environment problem, nothing to deal with wildfly. Sorry.
> 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