This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.

I atempted to downcast an Object returned by Field.get in an Objectof type correct. Object.getClass return the expected value, but cast fail. I don't understand this. Moreover, the same class don't work in parameter argument of Method.invoke.This class has only a field of class java.util.Hashtable. Everythingwork with this object...