getCanonicalPath() states that a canonical path may not be defined for
a non existant file. On Win32, an exception is thrown. This presents
a challenge when attempting to grant permission to an applet to create/write
to a file that doesn't exist, in that it is challenging to determine if
the applet is granted access to the file.
a non existant file. On Win32, an exception is thrown. This presents
a challenge when attempting to grant permission to an applet to create/write
to a file that doesn't exist, in that it is challenging to determine if
the applet is granted access to the file.
- duplicates
-
JDK-4054511 java.io.File.isDirectory: AppletSecurityExceptions on non-existent dirs (win32)
-
- Closed
-