Title: [jdjlist] RE: calling methods through reflection

AFAIK, Reflection should not have limitations like this.  Can you post the code?

Greg

-----Original Message-----
From: Vikrant Venkanna Dessai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 5:42 AM
To: JDJList
Subject: [jdjlist] calling methods through reflection



sub: calling methods through reflection

I am passing a Hashtable object to a method. This method is invoked through reflection. When i execute the get on this Hashtable object to get another object of type Hashtable it throws the ClassCastExceptino while type casting (frome object to Hashtable) .

It works fine if called directly without using reflection.

Does reflection has any such limitations.
How to circumvent this problem.

Thanks in Advance.

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to