Skip to content

JNI terminal is failing to load #1689

@suhelak

Description

@suhelak

There is a regression in jline-terminal-jni v3.30.7 and v4.0.0 with OpenJDK 21.0.10.
JniTerminalProvider.checkNativeAccess() is failing with UnsupportedOperationException.
A comment in the code says that Module.isNativeAccessEnabled() is not supposed to exist in JDK < 22, but it does.

Metadata

Metadata

Assignees

No one assigned

    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