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

Details

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

       

    • b18

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: