rpms/jss/F-12 jss-loadlibrary.patch,1.1,1.2 jss.spec,1.11,1.12
rcritten
rcritten at fedoraproject.org
Wed Jan 13 21:15:23 UTC 2010
- Previous message: rpms/python-elements/F-12 import.log, NONE, 1.1 python-elements.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/python-elements/F-11 import.log, NONE, 1.1 python-elements.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rcritten
Update of /cvs/extras/rpms/jss/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16575
Modified Files:
jss-loadlibrary.patch jss.spec
Log Message:
Need to explicitly catch UnsatisfiedLinkError exception for System.load()
jss-loadlibrary.patch:
CryptoManager.java | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
Index: jss-loadlibrary.patch
===================================================================
RCS file: /cvs/extras/rpms/jss/F-12/jss-loadlibrary.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- jss-loadlibrary.patch 7 Jan 2010 16:25:01 -0000 1.1
+++ jss-loadlibrary.patch 13 Jan 2010 21:15:22 -0000 1.2
@@ -15,12 +15,12 @@ diff -uN --recursive jss-4.2.6.orig/mozi
+ 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");
+ }
+ }
Index: jss.spec
===================================================================
RCS file: /cvs/extras/rpms/jss/F-12/jss.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- jss.spec 7 Jan 2010 16:25:01 -0000 1.11
+++ jss.spec 13 Jan 2010 21:15:23 -0000 1.12
@@ -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 at redhat.com> 4.2.6-6
+- Need to explicitly catch UnsatisfiedLinkError exception for System.load()
+
* Thu Jan 7 2010 Rob Crittenden <rcritten at 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
- Previous message: rpms/python-elements/F-12 import.log, NONE, 1.1 python-elements.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/python-elements/F-11 import.log, NONE, 1.1 python-elements.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list