diff options
author | Sven Gothel <[email protected]> | 2014-01-22 20:14:00 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-01-22 20:14:00 +0100 |
commit | efb7c478fda04336292104b10c3adf985d59b173 (patch) | |
tree | e8afb47b4067b114f8604eb527839ef5f092d560 /src/java/com/jogamp/common/os | |
parent | d0acda31e866040d8dbf8e72f983b78bafcb243a (diff) |
Bug 945 - GlueGen's IOUtil does not consider file URI's authority when converting to file-path or URI (Windows UNC / share host)
Note: Authority for 'file-scheme' URI's is used on Windows to denote the host of the shared resource -> UNC
Following methods of IOUtil didn't consider the authority for file-scheme URI:
'URL toURL(final URI uri)'
'String decodeURIToFilePath(final String uriPath)'
'String decodeURIIfFilePath(final URI uri)'
Further more, the patterns 'patternSingleFS' and 'patternSingleBS'
converted multiple '\' '/' to one replacement.
However, we should not change the separator count and replace them one-by-one.
TestIOUtilURIHandling:
- Added shared-file-host 'filehost' test cases to file URIs and plain file path tests.
- Passed on Unix and Windows.
Added 'make/scripts/test-win32-smb_share.bat'
- Testing actual windows share usage
- Passed on Windows
Diffstat (limited to 'src/java/com/jogamp/common/os')
0 files changed, 0 insertions, 0 deletions