Skip to content

Warning on startup with higher JDK versions #619

@RabbitHareLu

Description

@RabbitHareLu

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by com.fazecast.jSerialComm.SerialPort in an unnamed module (file:com/fazecast/jSerialComm/2.11.4/jSerialComm-2.11.4.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

I'm using JDK 25 for programming, and I received a warning when my program started. I noticed that the Java Panama project has been released, and I'm wondering if this project will consider using Panama for compatibility with future JDK versions.

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