Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1116

Disconnect StmtNamespaceContext from StmtContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 5.0.4, 4.0.11, 3.0.13
    • None
    • parser
    • None

      StmtNamespaceContext can be legally retained by AntlrYangXPathExpression, by which point it really should be a fixed prefix mapping for that instantiation.

      In particular we should not be retaining a SubstatementContext, as that ends up retaining large chunks of BuildGlobalContext.

      Examine lifecycle of affected codepaths and make sure we end up retaining a minimal context.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: