river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Firmstone (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RIVER-449) AbstractILFactory checks package access on java.lang when creating proxy
Date Thu, 23 Feb 2017 21:24:44 GMT
Peter Firmstone created RIVER-449:
-------------------------------------

             Summary: AbstractILFactory checks package access on java.lang when creating proxy
                 Key: RIVER-449
                 URL: https://issues.apache.org/jira/browse/RIVER-449
             Project: River
          Issue Type: Bug
          Components: net_jini_jeri
            Reporter: Peter Firmstone


>From river dev, as identified by Michal:

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 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message