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

javac should defer diagnostics until it can be determined they are persistent

    Details

    • Subcomponent:
    • Resolved In Build:
      b112
    • CPU:
      generic, x86
    • OS:
      generic, linux
    • Verification:
      Verified

      Description

      Currently, javac will report diagnostics, either in the default manner or via a DiagnosticListener, even if those errors are effectively transient errors that will go away on subsequent processing rounds.

      javac should buffer and defer such diagnostics until it can be determined whether they should be suppressed or not.
      .
      .
      From experience with apt, various others requests have come in for improved error handling of various sorts:

      5052910 need option to turn javac errors into apt errors
      Fail-fast if any error compilation error is found.

      6432333 APT fails to gracefully handle errors
      Request to fail-fast or return a more useful annotation type for a malformed annotation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: