Hi.
> I've started HyperJAXB 2 and immediately met some kind of a VERY strange
> problem.
Even stranger.
When I examine
return a.toArray((T[])Array.newInstance(clazz,a.size()));
it appears that under Ant
a.get(0).getClass().getSuperclass().getSuperclass().getSuperclass()
is
class com.sun.tools.xjc.Plugin
but
Class.forName("com.sun.tools.xjc.Plugin").isAssignableFrom(a.get(0))
is
false
And still, a is a typed array list:
ArrayList<T> a = new ArrayList<T>();
where T is clearly a Plugin class.
I'm completely lost.
Bye.
/lexi