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

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

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b12
    • OS:
      windows
    • Verification:
      Not verified

      Backports

        Description


        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: