RFR(S) : 8012337 : Change Whitebox implementation to make absence of method in Whitebox.class not fatal
Mikael Gerdin
mikael.gerdin at oracle.com
Wed Apr 17 04:22:20 PDT 2013
Igor,
On 2013-04-17 12:11, Igor Ignatyev wrote:
> Hi all,
>
> Please review patch.
>
> Problem:
> If there is some method that presences in native part of whitebox, but
> absences in java side, we get 'j.l.NoSuchMethodError' exception
The intended use of is of course that whitebox.cpp and WhiteBox.java are
in sync since they are in the same hg repository.
I understand that some feel that they need to copy WhiteBox to some
other test suite and I find this change acceptable but unfortunate.
>
> Fix:
> Batch registration of WB functions was replaced with one by one
> registration
>
> Testing:
> JPRT of sanity tests and tests that use WhiteBox: runtime/interned,
> compiler/whitebox
>
> webrev: http://cr.openjdk.java.net/~iignatyev/8012337/webrev.00/
It's too bad that you need a shell script here but I don't see any way
around it.
I'm ok with you pushing this.
/Mikael
> jbs: https://jbs.oracle.com/bugs/browse/JDK-8012337
More information about the hotspot-dev
mailing list