The Jenkins Controller is preparing for shutdown. No new builds can be started.
Summary
- JarUtil: Use common strings for exceptions (same as used in IOUtil) (details)
- IOUtil/JarUtil: DEBUG output on stderr not stdout (details)
- IOUtil: Add comments to slashify args @ caller; Use validated File @ (details)
- JARUtil/IOUtil: Reuse IOUtil.JAR_SCHEME_SEPARATOR (now a char); Add (details)
- IOUtil.toURL(..) Apply decodeFromURI(uri.getPath()) if file-scheme; Add (details)
- IOUtil.encodeToURI(): Only use method if required (details)
- gluegen: use String.format to emit the error exception in implementation (details)
|
The file was modified | src/java/com/jogamp/common/util/JarUtil.java (diff) |
|
The file was modified | src/java/com/jogamp/common/util/JarUtil.java (diff) |
The file was modified | src/java/com/jogamp/common/util/IOUtil.java (diff) |
Commit
bd72d40781caf40c2148cdc7990218af44750c76
by Sven GothelIOUtil: Add comments to slashify args @ caller; Use validated File @ IOUtil.toURISimple ; DEBUG: stdout -> stderr
Add comments to slashify(..) arguments for better documentation.
+++
Use validated File @ IOUtil.toURISimple(..): slashify(file, true, isDirectory) to slashify(new File(path).getAbsolutePath(), true, isDirectory)
i.e. same w/ above variant and determine absolute path via File instance.
+++
DEBUG: stdout -> stderr
|
The file was modified | src/java/com/jogamp/common/util/IOUtil.java (diff) |
|
The file was modified | src/java/com/jogamp/common/util/JarUtil.java (diff) |
The file was modified | src/java/com/jogamp/common/util/IOUtil.java (diff) |
Commit
4c835f0337674a0181c43f448d44d961e27b2f54
by Sven GothelIOUtil.toURL(..) Apply decodeFromURI(uri.getPath()) if file-scheme; Add IOUtil.decodeURIToFilePath(..) for native usage.
Refine comments, API doc.
toURL(..): Apply space conversion, decodeFromURI(..), on file-scheme path, ensuring decoded space.
++
Add decodeURIToFilePath(String uriPath) and decodeURIToFilePath(URI uri)
Both methods shall simplify decoding a file-URI for native platform usage.
Tested in TestIOUtilURIHandling
+++
|
The file was modified | make/scripts/runtest.sh (diff) |
The file was modified | src/java/com/jogamp/common/util/IOUtil.java (diff) |
The file was modified | src/junit/com/jogamp/common/util/TestIOUtilURIHandling.java (diff) |
The file was modified | make/scripts/runtest-x64.bat (diff) |
The file was modified | src/java/com/jogamp/common/util/JarUtil.java (diff) |
Commit
67dd9498368f0250180528d4fa10a09854066fea
by Sven GothelIOUtil.encodeToURI(): Only use method if required
Only use IOUtil.encodeToURI() if required, i.e. 'new URI(String)' but not 'new URI(scheme, ...)' since the latter already encodes the path.
TestIOUtilURIHandling.test00BasicCoding() validates above findings.
|
The file was modified | src/java/com/jogamp/common/util/IOUtil.java (diff) |
The file was modified | src/junit/com/jogamp/common/util/TestIOUtilURIHandling.java (diff) |
Commit
f87b0e53311cd15acfdbcf0ec73747eb57ebe22f
by Harvey Harrisongluegen: use String.format to emit the error exception in implementation classes
Changes emitted code from:
if (__addr_ == 0) { throw new Exception("Method \"" + "$methodName" + "\" not available");
to:
if (__addr == 0) { throw new Exception(String.format("Method \"%s\" not available", "$methodName"));
This removes all the redundant error message parts for each error string and only stores the unique method name in a string.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
The file was modified | src/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java (diff) |