Bugs item #796639, was opened at 2003-08-28 05:18
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=796639&group_id=22866

Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Thomas Van de Velde (thomicalbrother)
>Assigned to: Scott M Stark (starksm)
Summary: java.lang.reflect.Method.invoke(...) classloader bug

Initial Comment:
When having a class deployed in the server classloader 

that uses java.lang.reflect.Method.invoke(...) to invoke 

a method on a loaded in the ear classloader, the method 

will correctly be invoked for an initial deployment of the 

ear.  After redeployment of the ear, a subsequent call to 

the invoke method will fail with a ClassCastException.  

Apparantly the class is cached in the server classloader 

and not refreshed when an ear is redeployed.

----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2003-08-28 08:21

Message:
Logged In: YES 
user_id=175228

Describe the context in which the Method is obtained. It

sounds like this is a component in a deployment outside of

the ear in which case this usage is invalid as redeployment

changes the type system and makes any previously obtained

Methods invalid. Reopen with a testcase if this is not the

issue.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=796639&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to