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

need option to turn javac errors into apt errors

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
      apt
    • CPU:
      generic
    • OS:
      generic

      Description

      Failing tests : javam/neg/IncorrectAnnotation

      In light of 5043518, "error content printed but no error reported" being closed to allow generation of broken code, it would be nice to have an option to turn on javac warnings and errors at apt time rather than have to wait until code is compiled.
      Without this, it can allow unintended errors into code for the sake of allowing incomplete code to be operated on.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                ssides Steve Sides
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: