Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8265209

--add-opens args for JNI_CreateJavaVM

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10
      openjdk version "16" 2021-03-16
      OpenJDK Runtime Environment (build 16+36)
      OpenJDK 64-Bit Server VM (build 16+36, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      -add-opens java.base/java.lang=ALL-UNNAMED passed to JNI_CreateJavaVM() is not recognized:

      java.io.ObjectInputStream.latestUserDefinedLoader() accessible: module java.base does not "opens java.io" to unnamed module @1e88b3c

      This happens passing "--add-opens java.base/java.lang=ALL-UNNAMED " as a single parameter or as
      separates arguments "--add-opens", "java.base/java.lang=ALL-UNNAMED".



      FREQUENCY : always


      Attachments

        Activity

          People

            sswsharm swati sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: