RFR: 8057752: WhiteBox extension support for testing

Mikael Gerdin mikael.gerdin at oracle.com
Wed Sep 10 09:11:15 UTC 2014


On Monday 08 September 2014 16.52.41 Stefan Johansson wrote:
> Hi,
> Please review these changes for RFE:
> https://bugs.openjdk.java.net/browse/JDK-8057752
> Webrev:
> http://cr.openjdk.java.net/~sjohanss/8057752/webrev.00/

Looks good.

> Summary:
> Added the call to register_extended to make it possible extend the
> WhiteBox API. The Java API is still defined in WhiteBox.java, if the
> extension methods are not defined by an extension a linker error will
> occur.

Right, the code is designed so that it's possible to use mismatching versions 
of WhiteBox.java as long as you avoid calling the unlinkable methods.


> Stefan

More information about the hotspot-dev mailing list