public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: rcritten <rcritten@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/jss] pqc: Need to explicitly catch UnsatisfiedLinkError exception for System.load()
Date: Tue, 28 Jul 2026 16:48:12 GMT [thread overview]
Message-ID: <178525729207.1.11330605975627085986.rpms-jss-5e878024aa27@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/jss
Branch : pqc
Commit : 5e878024aa2772f111f944fff519a6cce6f4cb8a
Author : rcritten <rcritten@fedoraproject.org>
Date : 2010-01-13T21:21:04+00:00
Stats : +6/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/jss/c/5e878024aa2772f111f944fff519a6cce6f4cb8a?branch=pqc
Log:
Need to explicitly catch UnsatisfiedLinkError exception for System.load()
---
diff --git a/jss-loadlibrary.patch b/jss-loadlibrary.patch
index ac841b1..a8643a4 100644
--- a/jss-loadlibrary.patch
+++ b/jss-loadlibrary.patch
@@ -15,12 +15,12 @@ diff -uN --recursive jss-4.2.6.orig/mozilla/security/jss/org/mozilla/jss/CryptoM
+ System.load( "/usr/lib64/jss/libjss4.so" );
+ Debug.trace(Debug.VERBOSE, "jss library loaded");
+ mNativeLibrariesLoaded = true;
-+ } catch( Exception e ) {
++ } catch( UnsatisfiedLinkError e ) {
+ try {
+ System.load( "/usr/lib/jss/libjss4.so" );
+ Debug.trace(Debug.VERBOSE, "jss library loaded");
+ mNativeLibrariesLoaded = true;
-+ } catch( Exception f ) {
++ } catch( UnsatisfiedLinkError f ) {
+ Debug.trace(Debug.VERBOSE, "jss library load failed");
+ }
+ }
diff --git a/jss.spec b/jss.spec
index bd4664f..3c54bd0 100644
--- a/jss.spec
+++ b/jss.spec
@@ -1,6 +1,6 @@
Name: jss
Version: 4.2.6
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Java Security Services (JSS)
Group: System Environment/Libraries
@@ -143,6 +143,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jan 13 2010 Rob Crittenden <rcritten@redhat.com> 4.2.6-6
+- Need to explicitly catch UnsatisfiedLinkError exception for System.load()
+
* Thu Jan 7 2010 Rob Crittenden <rcritten@redhat.com> 4.2.6-5
- Move location of libjss4.so to subdirectory and use System.load() to
load it instead of System.loadLibrary() for Fedora packaging compliance
reply other threads:[~2026-07-28 16:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178525729207.1.11330605975627085986.rpms-jss-5e878024aa27@fedoraproject.org \
--to=rcritten@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox