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

No documented method for setting module addexports to JNI_CreateJavaVM

    Details

    • Subcomponent:
    • Resolved In Build:
      b30
    • CPU:
      x86_64
    • OS:
      windows_10

      Backports

        Description

        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.


          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hseigel Harold Seigel
                  Reporter:
                  webbuggrp Webbug Group
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: