Last Comment Bug 99375 - UnsatisfiedLinkError gives misleading description
: UnsatisfiedLinkError gives misleading description
Status: RESOLVED FIXED
:
Product: JSS
Classification: Components
Component: Library (show other bugs)
: 3.1
: All All
: P2 minor (vote)
: 3.1.1
Assigned To: Jamie Nicolson
: somni
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-09-12 11:53 PDT by Jamie Nicolson
Modified: 2001-09-12 11:58 PDT (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
proposed patch (766 bytes, patch)
2001-09-12 11:54 PDT, Jamie Nicolson
no flags Details | Diff | Splinter Review

Description Jamie Nicolson 2001-09-12 11:53:29 PDT
Java's UnsatisfiedLinkError says "Unable to load jss library" if there is a
problem loading any shared library. So, for example, if NSPR is not in the
LD_LIBRARY_PATH, you will get this message.

The message should preferably say which library could not be loaded, or, if this
is not possible, the error message should indicate that any of the libraries
failed to load.
Comment 1 Jamie Nicolson 2001-09-12 11:54:37 PDT
Created attachment 49115 [details] [diff] [review]
proposed patch
Comment 2 Jamie Nicolson 2001-09-12 11:58:40 PDT
Fixed on 3.1 branch and trunk.

/cvsroot/mozilla/security/jss/org/mozilla/jss/manage/CryptoManager.java,v  <-- 
CryptoManager.java
new revision: 1.7.2.2; previous revision: 1.7.2.1

/cvsroot/mozilla/security/jss/org/mozilla/jss/manage/CryptoManager.java,v  <-- 
CryptoManager.java
new revision: 1.9; previous revision: 1.8


Note You need to log in before you can comment on or make changes to this bug.