On 2010-07-25 12.58, Niclas Hedhman wrote:
if I mark the Mixin public, get the same problem. But if I make the
CommentFactory public it works.
If I break at the constructor.newInstance() where it is thrown, and
execute isAccessible() I get back "true", so it is more subtle than that.
The exception thrown is;
java.lang.IllegalAccessError: tried to access class
Yeah, I noticed this too, and it's really weird. The methods *should* be
accessible from the stub, but for some reason they aren't. Maybe a way
round it is to have the stub delegate to a static method in Qi4j which
does the lookup, if it's related to the security model somehow.
For now I have changed all interfaces in the tests to be public. For
myself it's not such a big deal, but if you think it's important I can
dig some more.
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev