JDK-7192245 : Add parser support for default methods
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: unknown
  • Submitted: 2012-08-17
  • Updated: 2012-11-20
  • Resolved: 2012-10-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.

To download the current JDK release, click here.
JDK 8
8 b63Fixed
Description
Add parser support for virtual extension methods (aka default methods).

Syntax as follows:

interface Foo {
   default void foo() { ... }
}

Comments
verified in b65
20-11-2012

Backport default method parser code from lambda-repository
28-09-2012