Skip to content

[upstream]部分--enable-native-access=ALL-UNNAMED用例需要配置为/native #225

@sendaoYan

Description

@sendaoYan
for i in `grep enable-native-access=ALL-UNNAMED test/ -rn --exclude-dir=micro -l` ; do grep "/native" -L $i ; done
        at MonitorEnterExit.lambda$testEnterWithContentionWhenPinned$9(MonitorEnterExit.java:270)
        at java.base/java.lang.VirtualThread.run(VirtualThread.java:376)
Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot open library: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib/libVThreadPinner.so
        at jdk.test.lib.thread.VThreadPinner.invoker(VThreadPinner.java:132)
        at jdk.test.lib.thread.VThreadPinner.<clinit>(VThreadPinner.java:50)
        ... 2 more
Caused by: java.lang.IllegalArgumentException: Cannot open library: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib/libVThreadPinner.so
        at java.base/java.lang.foreign.SymbolLookup.libraryLookup(SymbolLookup.java:277)
        at java.base/java.lang.foreign.SymbolLookup.libraryLookup(SymbolLookup.java:267)
        at jdk.test.lib.thread.VThreadPinner.invoker(VThreadPinner.java:127)
        ... 3 more

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions