Skip to content

[MINOR] Java 25 - A restricted method in java.lang.System has been called #18

@col-panic

Description

@col-panic

To reproduce

Starting with Java 25 I receive the following message once. There are no problems on using the code, however,

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by io.questdb.client.std.Os in an unnamed module (file:/home/jboss/lib/main/org.questdb.questdb-client-1.2.0.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

There are reports on this for other libraries too, like here jline/jline3#1067 (comment)

questdb-client is 1.2.0

QuestDB version:

7.3.5

OS, in case of Docker specify Docker and the Host OS:

debian trixie

File System, in case of Docker specify Host File System:

ext4

Full Name:

Marco Descher

Affiliation:

n/a

Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?

  • Yes, I have

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions