Angela Schreiber created OAK-9764:
-------------------------------------

             Summary: Improve implementation of Node.isNodeType(String)
                 Key: OAK-9764
                 URL: https://issues.apache.org/jira/browse/OAK-9764
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: jcr
            Reporter: Angela Schreiber


as discussed with [[email protected]] today we might want to take another 
look at the implementation of {{Node.isNodeType(String)}} in 
{{org.apache.jackrabbit.oak.jcr.session.NodeImpl}}

- avoid the explicit permission check for accessibility of jcr:mixinTypes (*)
- only create the lazy-value for a readonly tree once (and thus only resolve it 
once)
- maybe load mixin types lazily and only if the primary type doesn't match

(*) there used to be a regression in the past where deleted node mixins got 
revived (see OAK-7652)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to