Hi All
I am currently doing some tests with dynamic class loading. I have the
following snippet of code:
Class dateDisplayClass =
cl.defineClass(args[0],
dateDisplayClassBytes, 0, dateDisplayClassBytes.length);
cl.resolveClass(dateDisplayClass);
Here is the problem: when compiling the file, I get the following errors:
ClassClient.java:20: No method matching defineClass(byte[], int, int) found
in class java.lang.ClassLoader.
cl.defineClass(args[0],
^
ClassClient.java:24: No method matching resolveClass(java.lang.Class) found
in class java.lang.ClassLoader.
cl.resolveClass(dateDisplayClass);
When I look in the JDK1.2 API Specifications, those 2 methods exist. Any
idea?
Michel
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]