JDK-8005046 : Provide checking for a default method in javax.lang.model
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-12-13
  • Updated: 2017-05-17
  • Resolved: 2012-12-18
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 8
8 b71Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Project Lambda is adding default methods to the Java platform.  The types modeling methods in javax.lang.model should be able to return this information.
Comments
There are two basic approaches to providing this functionality: * Add an isDefault() method to the TypeElement interface * Add an isDefault(TypeElement) method to the Elements utility interface The former is more convenient for the end-user but is slightly more source incompatibility for the implementer. Given the trade-offs in this case, I think user convenience should prevail.
14-12-2012