You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by "Michał Kłeczek (XPro Sp. z o. o.)" <mi...@xpro.biz> on 2017/02/06 07:06:32 UTC

AbstractILFactory bug?

I have just found this piece of code in AbstractILFactory:

Class[] interfaces = getProxyInterfaces(impl);
...
for (int i = 0; i < interfaces.length; i++) {
     Util.checkPackageAccess(interfaces[i].getClass());
}

So we check "java.lang" package access.

A bug?

Thanks,
Michal