diff options
author | Sven Gothel <[email protected]> | 2019-03-24 03:32:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-03-24 03:32:36 +0100 |
commit | 4375d2824ac6ff656df184ea0c19ab781e3524e8 (patch) | |
tree | 4aba947abba2e7081a361019fbc9bd9c59b28f91 /src/java/com/jogamp/common/util/VersionNumberString.java | |
parent | 8409512c12e88cfad06704cf0c6d3f196dd24163 (diff) |
Bug 1219, Bug 1231: Avoid deflating test-exe on Windows using java.nio.file.Files.isExecutable(Path)
Attempt to resolved virus scanner false positive detection on Windows
while deflating the native code test-exe file in the temporary folder.
As Julien Gouesse suggested, using Java 1.7's java.nio.file.Files.isExecutable(Path)
_may_ resolve the issue, this has to be thorougly tested.
This patch favors the nio's isExecutable file's ACL test
over the more intrusive execution itself using a simple shell script file w/ set executable flag.
Mind that previous tests allowed the shell script's execution,
even if the temp folder did not allow execution of native code.
We have to see how our testing results will be on this attempt.
Diffstat (limited to 'src/java/com/jogamp/common/util/VersionNumberString.java')
0 files changed, 0 insertions, 0 deletions