RFR (XS): 8224110 [lworld] Reflective method invocation fails with assert: "illegal type"

Roger Riggs Roger.Riggs at oracle.com
Wed Jun 12 14:52:34 UTC 2019


Hi,

Would this be just a temporary restriction?
I could see the benefits of being able to use an inline array class for 
varargs.

?, Roger

On 06/12/2019 09:27 AM, David Simms wrote:
> Greetings,
>
> Please review this small fix to prevent "inline type" arrays being 
> sent directly "JVM_InvokeMethod" and "JVM_NewInstanceFromConstructor". 
> I don't believe it is the intention of these methods to receive such a 
> type, in the original problem, there was a javac warning of passing 
> arg[0] implicitly converted to args array.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8224110
>
> Webrev: http://cr.openjdk.java.net/~dsimms/valhalla/8224110/
>
>




More information about the valhalla-dev mailing list