Javac does not respect should-stop.ifNoError policy to stop after CompileState PARSE, ENTER and PROCESS

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 15
    • Affects Version/s: None
    • Component/s: tools
    • None
    • Environment:

       

       

    • b18

      Javac does not respect policy to stop after CompileState.PARSE, CompileState.ENTER and CompileState.PROCESS, and it performs full attribution instead.

      Following four command lines have identical effect - compiler finishes attribution:
      javac -XDshould-stop.ifNoError=PARSE
      javac -XDshould-stop.ifNoError=ENTER
      javac -XDshould-stop.ifNoError=PROCESS
      javac -XDshould-stop.ifNoError=ATTR

      To verify the bug and the fix it is necessary to run javac under profiler or debugger or benchmark it.

            Assignee:
            Adam Sotona
            Reporter:
            Adam Sotona
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: