Summary: | Regression of URL to URI conversion (Bug 683, Commit b98825eb7cfb61aead4a7dff57471cd2d2c26823) | ||
---|---|---|---|
Product: | [JogAmp] Gluegen | Reporter: | Maxime Caignart <maxime-jogamp> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | --- | ||
Version: | 2 | ||
Hardware: | pc_all | ||
OS: | linux | ||
Type: | --- | SCM Refs: |
gluegen 4376174ad35fdaf76f59430328582e913f468674
jogl 5b77c7f345d1e36c152d70982db0e022be6cfa2a
|
Workaround: | --- | ||
Bug Depends on: | |||
Bug Blocks: | 683, 820, 857 | ||
Attachments: | log file |
Regression of URL to URI conversion (Encoded path not compatible w/ file scheme. Regression of (Bug 683, Commit b98825eb7cfb61aead4a7dff57471cd2d2c26823). The URI encoded path cannot be read by File I/O (if file scheme), since the latter requests an UTF8/16 name, not an URI encoded name (i.e. %20 for space). The encoded URL is produced if calling 'uri.toURL()' and hence the new 'IOUtil.toURL(URI)' provides a custom conversion recovering the UTF name via 'new File(uri).getPath()'. Tested w/ - synthetic URI/URL coposition (unit test) - manual w/ moving 'build' to 'build öä lala' for gluegen, joal and jogl. +++ Misc.: - 'URI JarUtil.getURIDirname(URI)' -> 'URI IOUtil.getDirname(URI)' ++ |
Created attachment 482 [details] log file -Updated from 2.0rc11 to the 06.17.2013 build. -My game won't launch anymore with no modification of the classpath, just replaced the libs See log file, it seem that there's an issue with path containing space.