Moritz Hammer wrote:
> There is a minor issue with
> obtaining a unique constructor signature, which I first attempted to get
> with a unique class reference; but this leads to problems, since the
class
> loader cannot load the class it has been instrumented with...
I used [D[D[D as the signature in my test. Now I come to think about it,
I
can't see why the double[] array doesn't suffer from the same problem
(double[]
is a subclass of Object after all). But, since it doesn't (at least with
a Sun
1.6 JVM), a neat way of getting a unique signature is to use something
like
not.defined.Anywhere[]
as the parameter type (pass a null if you want to invoke it, of course).
-- chris


|