RFR [XS] 8155239 [TESTBUG] Simple test setup for JVMTI ClassFileLoadHook
Chris Plummer
chris.plummer at oracle.com
Wed Apr 27 21:53:36 UTC 2016
Hi Ioi,
Looks good. Thanks for doing this.
I assume this is only meant for testing the conversion of a String, and
anything beyond that is use at your own risk (like renaming a field or a
method).
thanks,
Chris
On 4/27/16 6:44 AM, Ioi Lam wrote:
> Hi,
>
> Please review this simple test bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8155239
> http://cr.openjdk.java.net/~iklam/jdk9/8155239_simple_classfileloadhook.v01/
>
>
> Testing ClassFileLoadHook is a pain. In many cases, we are not testing
> CFLH itself, but rather "how does my feature interact with CFLH. One
> example is the interaction between CDS and CFLH. This RFE makes it
> easy to write such tests.
>
> Please see SimpleClassFileLoadHookTest.java for an example.
>
> I've tested under Linux and I am now trying to test under all other
> platforms.
>
> Thanks
> - Ioi
More information about the hotspot-dev
mailing list