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

Regression since 8u60: System.getenv doesn't return env var set in JNI code

XMLWordPrintable

    • b12
    • windows
    • Not verified


        After upgrade to Java 1.8.0.121(1.8.0.60 or higher),the System.getenv ()
        doesn't return the variables that the application set at run time.
        Those environment variables are set through JNI interface (Java call C++ to
        set environment variables) at run time.
        This seems to be a regression since 8u60 as 8u51 works.

              robm Robert Mckenna
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: