Adam Heinrich
e6a3948966
Fix testLoadLibraryNullPath() test case ( #12 )
...
The tested method throws IllegalArgumentException instead of
NullPointerException when called with a null argument.
2018-07-19 21:28:16 +02:00
Adam Heinrich
3395bb9bfa
Merge pull request #10 from bsqql123/master
...
refactor code
2018-04-05 20:41:53 +02:00
ice shui
e6ea34b98e
add catch statement
2018-04-05 16:52:05 +08:00
ice shui
0a873de58b
refactor code and delete unnecessary catch statement
2018-04-04 03:16:50 +08:00
Adam Heinrich
8e35649c15
Merge pull request #9 from chibicitiberiu/master
...
Put DLL in temporary directory instead of changing the name.
2017-10-30 10:48:13 +01:00
Tiberiu Chibici
fefa41970b
Merged with upstream.
2017-10-28 20:55:52 +02:00
Adam Heinrich
b3add07ea8
Merge pull request #8 from andreblanke/master
...
Refactoring of NativeUtils.java and addition of unit test
2017-10-26 18:18:38 +02:00
Chibici Tiberiu
1573540346
Fixed tabs.
2017-10-26 19:00:18 +03:00
Chibici Tiberiu
5765834982
Create a single temporary directory instead of one for each file.
2017-10-26 18:57:35 +03:00
Chibici Tiberiu
c2dab157d1
Put DLL in temporary directory instead of changing the name.
2017-10-26 17:54:56 +03:00
andreblanke
9311279ed3
Add basic unit tests
2017-10-24 22:13:38 +02:00
andreblanke
922917e2be
Refactor NativeUtils.java
2017-10-24 21:49:48 +02:00
Adam Heinrich
2ced374f9e
Merge pull request #5 from Izzette/master
...
Unlink temp file after loading on POSIX.
2017-09-04 11:03:22 +02:00
Isabell Cowan
305a9c9ce8
Improve exception handling for os.write.
...
* Replace catch wildcard Exception with Throwable when handling errors on write of temporary library file.
* Fixed typo on "prefix" in comment.
* Removed unused java.net.URI import.
2017-09-03 21:23:54 -05:00
Isabell Cowan
ac61a4a32d
Unlink temp file after loading on POSIX.
...
* Unlink the temporary library file after the last file descriptor to it is opened (`System.load(temp.getAbsolutePath())`) on systems that appear to be POSIX compliant.
2017-09-02 19:24:49 -05:00
Adam Heinrich
c3fda8e996
Merge pull request #3 from andrewdavidmackenzie/patch-1
...
Fix parameter name in comments
2016-05-05 08:59:46 +02:00
Andrew Mackenzie
76f957859c
Fix parameter name in comments
2016-05-05 00:10:04 +02:00
Adam Heinrich
8f9e326feb
Merge pull request #2 from flyhard/master
...
Convert project structure into Maven structure
2016-04-27 09:31:53 +02:00
Adam Heinrich
8ef7b3d66b
Update README.md
...
Fix blog post's URL
2016-04-20 13:22:14 +02:00
Adam Heinrich
6c7cf64f0e
Update README.md
...
Make the "More information" part simpler
2016-04-20 13:21:15 +02:00
Per Abich
9c6044740f
Including info needed for publishing to Maven central
2016-04-18 07:59:16 +01:00
Per Abich
6d973ca5cd
Moved to maven project structure
2016-04-18 07:53:29 +01:00
Adam Heinrich
5deae5094e
Merge pull request #1 from SimonLarsen/master
...
Fix html escape characters
2015-08-07 16:41:10 +02:00
Simon Larsen
8161dd790a
Fixed html escape characters
2015-08-06 16:19:47 -04:00
Adam Heinrich
09fd39cc23
Add README file
2015-06-14 10:05:05 +02:00
Adam Heinrich
03f81e780d
Initial commit
2015-06-14 10:04:53 +02:00