Can you post some code to show us what exactly you are doing? Paul Franz ----- Original Message ----- From: "Vikrant Venkanna Dessai" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 8:42 AM 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 ____________________________________________________
