JDK-6389414 : ExecutableType.asElement should return null
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-02-23
  • Updated: 2012-10-01
  • Resolved: 2006-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b91Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
TypeMirror.asElement claims that an ExecutableType is specified by an
ExecutableElement.

However, this is not the case.  When 6352136 is fixed, ExecutableType.asElement
will return null.

Comments
EVALUATION Proposed solution: Move asElement from TypeMirror down to more specific and appropriate subinterfaces. Add convenience method Types.asElement(TypeMirror).
23-06-2006

EVALUATION Will adjust specification and implementation accordingly.
24-02-2006