Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8193021

LNT generation is too brittle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 8-pool, 9, 10
    • tools

      Currently entries to LNT are introduced as a side effect of invoking method Code::curCP. This is very brittle as this method is invoked both in contexts when a statement is started and also in contexts when a statement ends. This makes the generation of the LNT almost an accident and any change in the generated code pattern can provoke less or probably more LNT entries. This situation is too brittle. My proposal is that entries to the LNT should be added explicitly instead of depending on calls to Code::curCP which is has several side-effects

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: