Serialization puzzlement (was: Utility for checking APIcompatibility with JDK)
Warren Levy
warrenl@cygnus.com
Wed Jul 26 16:44:00 GMT 2000
On Wed, 26 Jul 2000, Warren Levy wrote:
> Classpath calls a private static method in ObjectStreamClass
> (hasClassInitializer) to check this; which in turn calls a Class method:
>
> Class classArgs[] = {};
> Method m = clazz.getMethod ("<clinit>", classArgs);
Ah, the above call should be getDeclaredMethod. This kind of problem has
bitten before, hopefully this is the last one. I'll check in a patch for
Classpath and libgcj shortly.
--warrenl
More information about the Java
mailing list