Skip to content

Conscrypt is using a method that is restricted in Java 24 #1332

Description

@eygraber

After updating to Java 24 I started seeing the following warning printed:

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.conscrypt.NativeLibraryUtil in an unnamed module (file:/home/eli/.gradle/caches/8.14/transforms/2bfa0d7044a6e230a91943c4aeb93083/transformed/conscrypt-openjdk-uber-2.5.2.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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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