-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
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.
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.
- duplicates
-
JDK-8190053 Clarify the behavior of how methods fail
-
- Closed
-
- relates to
-
JDK-8055219 Handling of non-standard inputs in javax.lang.model.util.Types
-
- Open
-
-
JDK-7003550 Loosen modeling requirements for annotation processing erroneous code
-
- Closed
-
-
JDK-8187950 javax.lang.model APIs throws CompletionFailure or a subtype of CompletionFailure.
-
- Closed
-