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

No documented method for setting module addexports to JNI_CreateJavaVM

XMLWordPrintable

    • b30
    • x86_64
    • windows_10

        A DESCRIPTION OF THE PROBLEM :
        The interactions between the new module system and JNI do not appear to be documented. Though there are many new options available when calling java from the command line, those options are not currently accepted by JNI_CreateJavaVM. Directly attempting to set properties such as "jdk.module.addexports" produce

        Java HotSpot(TM) 64-Bit Server VM warning: Ignoring system property options whose names match the '-Djdk.module.*'. names that are reserved for internal use.

        There needs to be additional documentation of how new language features such as modules interact with JNI. Without such documentation, it is difficult to access features when embedding the JVM that are available when launching from the command line.


              hseigel Harold Seigel (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: