JDK-8282239 : [testbug, AIX] ProcessBuilder/Basic.java fails with incorrect LIBPATH
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: aix
  • CPU: ppc
  • Submitted: 2022-02-22
  • Updated: 2022-02-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Description
From Tyler Steele:
I see two failures in ProcessBuilder/Basic.java that result from the same source. The expected output is constructed with LIBPATH which is not the same between parent and child process, so the parent (test) process does not construct the correct expected output.
 
Failing output:
 
# Failure 1:
>'=C:=\\,LIBPATH=/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/jdk/lib/server:/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/jdk/lib:/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/jdk/../lib,'< not equal to '=C:=\\,LIBPATH=/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/jdk/lib/server:/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/jdk/lib:/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/jdk/../lib:/home/jenkins/temp/openjdk/jdk-fork/build/aix-ppc64-server-release/images/test/jdk/jtreg/native,'

java.lang.Exception: Stack trace
        at java.base/java.lang.Thread.dumpStack(Thread.java:1380)
        at Basic.fail(Basic.java:2825)
        at Basic.fail(Basic.java:2826)
        at Basic.equal(Basic.java:2832)
        at Basic.realMain(Basic.java:1886)
        at Basic.main(Basic.java:2835)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

# Failure 2:

Incorrect handling of envstrings containing NULs
java.lang.Exception: Stack trace
        at java.base/java.lang.Thread.dumpStack(Thread.java:1380)
        at Basic.fail(Basic.java:2825)
        at Basic.fail(Basic.java:2826)
        at Basic.check(Basic.java:2829)
        at Basic.realMain(Basic.java:1940)
        at Basic.main(Basic.java:2835)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)
---

Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7581 Date: 2022-02-22 21:22:57 +0000
22-02-2022