diff options
author | Andy Russell <arussell123@gmail.com> | 2023-12-08 15:20:45 -0500 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-12-10 03:50:33 +0100 |
commit | 6d72e7a60a64eb5c282ec39bcb5ba51ce1c7a471 (patch) | |
tree | 589ad519a20933fd7fcdd7d84ecd24621dbaec9f /weaver | |
parent | 8bed465e2629faf8180825d33a14ecfa3f2edb8d (diff) | |
download | aspectj-6d72e7a60a64eb5c282ec39bcb5ba51ce1c7a471.tar.gz aspectj-6d72e7a60a64eb5c282ec39bcb5ba51ce1c7a471.zip |
Set exception root cause in ExtensibleURLClassLoader::findClass
Fixes #266.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/main/java/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java b/weaver/src/main/java/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java index dd372e5e2..efe3f7d31 100644 --- a/weaver/src/main/java/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java +++ b/weaver/src/main/java/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java @@ -56,7 +56,7 @@ public abstract class ExtensibleURLClassLoader extends URLClassLoader { throw new ClassNotFoundException(name); } } catch (IOException ex) { - throw new ClassNotFoundException(name); + throw new ClassNotFoundException(name, ex); } } |