commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WEAVER-25) Reject blueprint methods that access entities that would be inaccessible
Date Thu, 10 May 2018 21:46:00 GMT
Matt Benson created WEAVER-25:
---------------------------------

             Summary: Reject blueprint methods that access entities that would be inaccessible
                 Key: WEAVER-25
                 URL: https://issues.apache.org/jira/browse/WEAVER-25
             Project: Commons Weaver
          Issue Type: Improvement
          Components: privilizer
    Affects Versions: 1.4
            Reporter: Matt Benson
            Assignee: Matt Benson
             Fix For: 1.4


...from the _importing_ type, i.e. classes, constructors, methods other than other {{static}}
methods from the same class whose import is cascaded

Blueprint methods access fields, but the rest imply the import of arbitrary whole types which
is at least a slippery slope... choose your own metaphor. The safest course is to reject these.
One immediate implication is that a valid blueprint method may not instantiate an anonymous
type.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message