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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 15
    • None
    • tools
    • None
    •  

       

    • 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.

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

              Created:
              Updated:
              Resolved: