- Timestamp:
- Mar 14, 2017 1:33:39 PM (4 years ago)
- Branches:
- master
- Children:
- 4b722c9
- Parents:
- e7cfb2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
core/java/src/net/i2p/util/NativeBigInteger.java
re7cfb2d r1150b4cd 983 983 debug("loadResource list to try is: " + toTry); 984 984 for (String s : toTry) { 985 System.out.println("trying to load resource:" + s);985 debug("Trying to load resource " + s); 986 986 if (loadFromResource(s)) { 987 987 _nativeOk = true; … … 1116 1116 URL resource = ClassLoader.getSystemResource(resourceName); 1117 1117 if (resource == null) { 1118 System.out.println("Resource name [" + resourceName + "] was not found");1118 info("Resource name [" + resourceName + "] was not found"); 1119 1119 return false; 1120 1120 } … … 1131 1131 fos = null; 1132 1132 System.load(outFile.getAbsolutePath()); //System.load requires an absolute path to the lib 1133 System.out.println("Loaded library: " + resource);1133 info("Loaded library: " + resource); 1134 1134 } catch (UnsatisfiedLinkError ule) { 1135 1135 // don't include the exception in the message - too much 1136 System.out.println("Failed to load the resource " + resourceName + " - not a valid library for this platform");1136 warn("Failed to load the resource " + resourceName + " - not a valid library for this platform"); 1137 1137 if (outFile != null) 1138 1138 outFile.delete(); 1139 1139 return false; 1140 1140 } catch (IOException ioe) { 1141 System.out.println("Problem writing out the temporary native library data: " + ioe.toString());1141 warn("Problem writing out the temporary native library data: " + ioe); 1142 1142 if (outFile != null) 1143 1143 outFile.delete();
Note: See TracChangeset
for help on using the changeset viewer.