Pointer/Scope API questions
sundararajan.athijegannathan at oracle.com
sundararajan.athijegannathan at oracle.com
Wed Jan 8 11:09:25 UTC 2020
[...]
>>>
>> Are you also adding `--add-modules
>> jdk.incubator.foreign,jdk.incubator.jextract` when running? I was
>> seeing a similar error when I forgot to do that.
>
>
> Ah, no. Works now.
>
>
> Is it supposed to throw an exception there though? The modules are
> apart of the JDK and preview features are enabled so I don't
> understand why the extra step of adding the modules at runtime is
> being required here. Is it a bug?
No. It is not a bug. You've to explicitly add "incubator" modules for
compilation as well as for runtime.
-Sundar
More information about the panama-dev
mailing list