JDK-8010427 : Refine Method.isDefault implementation
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-03-20
  • Updated: 2013-04-12
  • Resolved: 2013-03-20
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 b84Fixed
Description
The screening done by Method.isDefault can be made more precise given forthcoming changes from Lambda to add private and static methods to interfaces.
Comments
verified in b85
12-04-2013

This change is a refinement of the Method.isDefault implementation. It is correct with the current default method support in the rest of the platform, but cannot be directly tested until the HotSpot support for private and static methods on interfaces is available.
21-03-2013