aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject aries-rsa git commit: [ARIES-1693] Use fastbin bundle classloader as fallback
Date Wed, 22 Feb 2017 09:11:35 GMT
Repository: aries-rsa
Updated Branches:
  refs/heads/master d29a787f8 -> 60b09c81a


[ARIES-1693] Use fastbin bundle classloader as fallback


Project: http://git-wip-us.apache.org/repos/asf/aries-rsa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-rsa/commit/60b09c81
Tree: http://git-wip-us.apache.org/repos/asf/aries-rsa/tree/60b09c81
Diff: http://git-wip-us.apache.org/repos/asf/aries-rsa/diff/60b09c81

Branch: refs/heads/master
Commit: 60b09c81af1d0131036693a8405165c8e5539646
Parents: d29a787
Author: Christian Schneider <chris@die-schneider.net>
Authored: Wed Feb 22 10:10:40 2017 +0100
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Wed Feb 22 10:10:40 2017 +0100

----------------------------------------------------------------------
 .../rsa/provider/fastbin/util/ClassLoaderObjectInputStream.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/60b09c81/provider/fastbin/src/main/java/org/apache/aries/rsa/provider/fastbin/util/ClassLoaderObjectInputStream.java
----------------------------------------------------------------------
diff --git a/provider/fastbin/src/main/java/org/apache/aries/rsa/provider/fastbin/util/ClassLoaderObjectInputStream.java
b/provider/fastbin/src/main/java/org/apache/aries/rsa/provider/fastbin/util/ClassLoaderObjectInputStream.java
index 6740938..f9a0bdc 100644
--- a/provider/fastbin/src/main/java/org/apache/aries/rsa/provider/fastbin/util/ClassLoaderObjectInputStream.java
+++ b/provider/fastbin/src/main/java/org/apache/aries/rsa/provider/fastbin/util/ClassLoaderObjectInputStream.java
@@ -72,7 +72,7 @@ public class ClassLoaderObjectInputStream extends ObjectInputStream {
             } else {
                 try{
                     //try to load it with our own classloader (could be e.g. a service exception)
-                    return Class.forName(className, false, this.getClassLoader());
+                    return Class.forName(className, false, getClass().getClassLoader());
                 } catch(ClassNotFoundException e2) {
                     //ignore
                 }


Mime
View raw message