You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2009/09/11 16:36:35 UTC
svn commit: r813858 -
/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/R4Library.java
Author: rickhall
Date: Fri Sep 11 14:36:35 2009
New Revision: 813858
URL: http://svn.apache.org/viewvc?rev=813858&view=rev
Log:
Be extra safe and check for null, even though it shouldn't happen. (FELIX-1580)
Modified:
felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/R4Library.java
Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/R4Library.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/R4Library.java?rev=813858&r1=813857&r2=813858&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/R4Library.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/R4Library.java Fri Sep 11 14:36:35 2009
@@ -111,7 +111,7 @@
// If we have other native library extensions to try, then
// calculate the new native library name.
- if (extIdx < exts.length)
+ if ((exts != null) && (extIdx < exts.length))
{
int idx = libname.lastIndexOf(".");
libname = (idx < 0)