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

Provide guidance on handling of erroneous program constructs

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      The javax.lang.model APIs are used in situations where the program constructs being modeled are ill-formed in some way.

      Besides the detailed guidance in the package documentation for javax.lang.model.elements on handling erroneous cases in annotation processing, a more encompassing statement in javax.lang.model would be helpful too. For example, a statement that an error object of some form should be returned rather than an exception being thrown.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: