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

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Tue Apr 29 14:44:15 UTC 2014


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