JDK-8012543 : Support for reflective invocation of default methods
Type:Sub-task
Component:core-libs
Sub-Component:java.lang:reflect
Affected Version:8
Priority:P2
Status:Closed
Resolution:Not an Issue
OS:generic
CPU:generic
Submitted:2013-04-17
Updated:2013-07-17
Resolved:2013-07-17
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.
The new default methods in JDK 8 need to be able to be invoked reflectively by
* Core reflection (java.lang.reflect.Method.invoke())
* Method handles / JSR 292 feature
Comments
I believe this works correctly today. I know of no bugs in this area.
17-07-2013
Support for calling default methods reflectively is separate from support from *modeling* default methods in core reflection. The latter has already been provided (JDK-8005042) and refined (JDK-8010017).