geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r801055 - /geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/classloader/TemporaryClassLoader.java
Date Wed, 05 Aug 2009 03:37:22 GMT
Author: gawor
Date: Wed Aug  5 03:37:22 2009
New Revision: 801055

URL: http://svn.apache.org/viewvc?rev=801055&view=rev
Log:
load annotation classes from the right (parent) classloader (GERONIMO-4782)

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/classloader/TemporaryClassLoader.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/classloader/TemporaryClassLoader.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/classloader/TemporaryClassLoader.java?rev=801055&r1=801054&r2=801055&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/classloader/TemporaryClassLoader.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/classloader/TemporaryClassLoader.java
Wed Aug  5 03:37:22 2009
@@ -101,7 +101,7 @@
 
        // Annotation classes must be loaded by the normal classloader
        if (isAnnotationClass(bytes)) {
-           return Class.forName(name, resolve, getClass().getClassLoader());
+           return super.loadClass(name, resolve);
        }
 
        // define the package



Mime
View raw message