diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-02-19 13:06:30 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-02-19 13:06:30 +0000 |
commit | 6485ea4d665ac2882272d8ebbed0916dde991a52 (patch) | |
tree | 577cae7463393f5b63a2c0270cff88b73503e5d5 /src/main/javassist/runtime/Desc.java | |
parent | e50d7c0862acc66ca1d6b26ec126eb3ed5295d7d (diff) | |
download | javassist-6485ea4d665ac2882272d8ebbed0916dde991a52.tar.gz javassist-6485ea4d665ac2882272d8ebbed0916dde991a52.zip |
fixed JASSIST-151
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@616 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/runtime/Desc.java')
-rw-r--r-- | src/main/javassist/runtime/Desc.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/javassist/runtime/Desc.java b/src/main/javassist/runtime/Desc.java index ee20d059..0b1cef51 100644 --- a/src/main/javassist/runtime/Desc.java +++ b/src/main/javassist/runtime/Desc.java @@ -38,8 +38,7 @@ public class Desc { throws ClassNotFoundException { if (useContextClassLoader) - return Thread.currentThread().getContextClassLoader() - .loadClass(name); + return Class.forName(name, true, Thread.currentThread().getContextClassLoader()); else return Class.forName(name); } |