Panama/foreign EA - May 2021
mbien42 at gmail.com
Wed May 19 23:50:25 UTC 2021
On 20.05.21 01:41, Paul Sandoz wrote:
> See the section on restricted methods:
>> On May 19, 2021, at 4:25 PM, Michael Bien <mbien42 at gmail.com> wrote:
>> what would be the current ceremony to run a panama program?
>> --enable-preview --add-modules jdk.incubator.foreign -Dforeign.restricted=permit -Djava.library.path=...
>> worked until this build, getting
>> Caused by: java.lang.IllegalCallerException: Illegal native access from module: UNNAMED
>> at java.base/jdk.internal.reflect.Reflection.ensureNativeAccess(Reflection.java:113)
>> at jdk.incubator.foreign/jdk.incubator.foreign.CLinker.getInstance(CLinker.java:129)
>> at dev.mbien.jcriu.CRIUContextImpl.<clinit>(CRIUContextImpl.java:142)
>> ... 70 more
>> in the test of my toy project now. This might be related to the security manager changes - i couldn't find any notes.
>> thanks! (i like the ResourceScopes)
>> On 19.05.21 23:26, Maurizio Cimadamore wrote:
>>> And... maybe it would be a good idea to actually include a link :-)
>>> On 19/05/2021 22:25, Maurizio Cimadamore wrote:
>>>> We have just released another early-access Panama/foreign build, which includes all the goodies we've been working on so far, from API changes, to VM upcall optimizations, to jextract stability/usability improvements.
>>>> Keep the feedback coming - we couldn't do this without your help and support.
More information about the panama-dev