Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 281505 Details for
Bug 376975
make net-p2p/freenet try to load NativeThreads instead of checking for the file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
freenet-0.7.5_p1384-libraryloader-just-try-loading.patch (text/plain), 833 bytes, created by
Dennis Schridde
on 2011-07-29 17:42:21 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2011-07-29 17:42:21 UTC
Size:
833 bytes
patch
obsolete
>--- freenet-0.7.5_p1384/src/freenet/support/LibraryLoader.java.orig 2011-07-29 17:32:37.000000000 +0200 >+++ freenet-0.7.5_p1384/src/freenet/support/LibraryLoader.java 2011-07-29 17:35:02.000000000 +0200 >@@ -48,12 +48,11 @@ > final String libraryNameWithPrefixAndArchAndSuffix = libraryNameWithPrefixAndArch + prefix; > String resourceName = path + libraryNameWithPrefixAndArchAndSuffix; > >- File nativeLib = new File((System.getProperty("java.library.path")) + "/lib" + libraryName + prefix); >- if (nativeLib.exists()) { >+ try { > System.out.println("Attempting to load the NativeThread library ["+libraryName+']'); > System.loadLibrary(libraryName); > success = true; >- } else { >+ } catch(UnsatisfiedLinkError ule) { > try { > // Get the resource > URL resource = LibraryLoader.class.getResource(resourceName);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 376975
: 281505