RFR (T) 8232120: com/sun/jdi/InvokeTest fails with -Xcheck:jni: assert(k->is_instance_klass()) failed: cast to InstanceKlass

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Fri Oct 11 15:49:08 UTC 2019


Thanks Harold and Dan!

On 10/11/19 11:12 AM, Daniel D. Daugherty wrote:
> On 10/11/19 10:30 AM, coleen.phillimore at oracle.com wrote:
>> Summary: Should have allowed recv klass to be an array.
>>
>> Tested with tier1 -Xcheck:jni, all pass now.  There's another RFE to 
>> add -Xcheck:jni to our tiered testing.
>>
>> open webrev at 
>> http://cr.openjdk.java.net/~coleenp/2019/8232120.01/webrev
>
> src/hotspot/share/prims/jniCheck.cpp
>     No comments.
>
> Thumbs up.
>
> Dan
>
> P.S.
> I moved the bug back to hotspot/runtime.
>

One of David's comments made me think there was more to this, which 
someone who knows jdi would have to look at.  But it turned out to be 
simple.

thanks,
Coleen
>
>> bug link https://bugs.openjdk.java.net/browse/JDK-8232120
>>
>> Thanks,
>> Coleen
>



More information about the hotspot-runtime-dev mailing list