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

Disconnect StmtNamespaceContext from StmtContext

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: