Draft incubator code reflection JEP
nadeesh t v
nadeeshtv at gmail.com
Thu Feb 5 08:26:08 UTC 2026
Hi Paul,
>A draft incubator code reflection JEP is now visible here
https://openjdk.org/jeps/8361105
I would like to point out a couple of things that are not super clear to me
on a first read.
>As the GPU library traverses the code model it will encounter an element
>that models the invocation expression to the gray method. .....
> To achieve this we must declare that the gray method is also reflectable
Does it mean we should only call those methods which can be annotated
with @Reflect. Therefore, effectively we should not invoke 3rd party/ even
JDK library methods?
>Foreign programming models
Font size of it is too small to notice it as a section header while reading
from a mobile phone.
>In total there are four syntactic locations where @Reflect can appear that
governs,
But I could only see 3 bullet points instead of 4. Are two of them fused
in one?
Would it be possible to show an example of each of them and refer from it
here so that it will be a bit more clear.
I can see you mention `cast expression`, could you please clarify what that
also really means?
Best regards,
Nadeesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/babylon-dev/attachments/20260205/fe907584/attachment-0001.htm>
More information about the babylon-dev
mailing list