Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9764

Improve implementation of Node.isNodeType(String)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • jcr
    • None

    Description

      as discussed with rma61870@adobe.com 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: