Hi all!

I am using GWT in junction with grails doing so I have been confronted
with a problem within the new 2.1 feature RequestFactory.
I get a "java.lang.ClassNotFoundException" in the
ReflectionBasedOperationRegistry when trying to resolve my "..Request"
class type.

Apparently grails uses ContextClassLoader to resolve java classes.
However in  ReflectionBasedOperationRegistry (row 223)
"this.getClass().getClassLoader();" is used allthough on row 232
"Class.forName(domainClassNameAnnotation.value(), false,
Thread.currentThread().getContextClassLoader());" is used.

My question is can this.getClass().getClassLoader(); be replaced with
Thread.currentThread().getContextClassLoader() on all places? Or can
someone explain why the separate techniques is used?

Best regards!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to