Define specification for JVM_GetJvmArguments

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Fix
    • Priority: P3
    • tbd
    • Affects Version/s: 9
    • Component/s: core-libs

      VM argument parsing includes the following:

      JAVA_TOOLS_OPTION environment variable
      Options passed via JNI invocation API
      _JAVA_OPTION environment variable

      -XX:VMOptionsFile is intended to protect the password not to be made visible from ps. Similiarly, it should not be shown in jps. -XX:Flags includes only VM -XX flags but no -XX prefix is specified in the Flags file.

      java.lang.management.RuntimeMXBean::getInputArguments() specifies to return the VM input arguments. It has a security permission check.

      In addition, -Djava.class.path=<classpath> is not included in the returned value of JVM_GetJvmArguments.

      JVM_GetJvmArguments and other APIs need to be examined and specified what input arguments should be included.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: