Skip to content

Java 24 warning about native access #1289

@parsaloi

Description

@parsaloi

Describe the bug
Encountered a warning related to native invocation java.lang.System::load from an unnamed module

To Reproduce

// Gradle
dependencies {
    implementation("org.xerial:sqlite-jdbc:3.50.1.0")
}

<!--Maven-->
<dependencies>
    <dependency>
        <groupId>org.xerial</groupId>
        <artifactId>sqlite-jdbc</artifactId>
        <version>3.50.1.0</version>
    </dependency>
</dependencies>

Expected behavior
Add module-info.java to the related unnamed module.

Logs

WARNING: java.lang.System::load has been called by org.sqlite.SQLiteJDBCLoader in an unnamed module (file:///.gradle/caches/modules-2/files-2.1/org.xerial/sqlite-jdbc/3.50.1.0/6b1e999f284a82ae07f0e9ec455d3f2035614c6/sqlite-jdbc-3.50.1.0.jar)

Environment (please complete the following information):

  • OS: Linux
  • CPU architecture: amd64
  • sqlite-jdbc version 3.50.1.0

Additional context
Using Gradle v8.14.2, Maven v3.9.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions