On Mar 18, 2020, at 3:01 PM, John Rose <john.r.r...@oracle.com> wrote:
> 
> explicitCastArguments

P.S.  That method has an intentionally scary name,
but behind the name, it’s just “asType, the JVM edition,
plus narrowing primitive conversions”.  The design
center for asType is safe and sane conversions as
allowed by variable assignment in Java, while the
other guy adds all the other conversions that might
be useful.  If you know statically what is the input
value type, as with BSMs working on CP data, then
“explicitCastArguments” is just as safe as “asType”
but it does more tricks for you.

Reply via email to