RFR 8042123: Support default and static interface methods in JDI, JDWP and JDB (was 8031195)

Staffan Larsen staffan.larsen at oracle.com
Tue Apr 29 14:57:48 UTC 2014


Let’s try it again. Reviewed.

/Staffan

On 29 apr 2014, at 16:44, Jaroslav Bachorik <jaroslav.bachorik at oracle.com> wrote:

> This is a take two on addressing this issue.
> The previous attempt caused build breakage when building SA-JDI because of non-implemented abstract methods.
> Because of "tainted" issue number I had to make a new clone.
> 
> 
> Issue : https://bugs.openjdk.java.net/browse/JDK-8042123
> Webrev: http://cr.openjdk.java.net/~jbachorik/8042123/webrev.00
> 
> This is the same patch as was used for JDK-8031195 with the added "default" keyword to the newly introduced interface methods. The default implementations just throw UnsupportedOperationException.
> 
> The build did break when doing "make bootcycle-images" - I've rerun the build locally and using JPRT and after adding "default" keyword the breakages does not appear any more.
> 
> Sorry for the mess ...
> 
> 
> Thanks,
> 
> -JB-



More information about the serviceability-dev mailing list