RFR: JDK-8312078 : [PPC] JcmdScale.java Failing on AIX [v2]

Deepa Kumari duke at openjdk.org
Sat Jul 29 19:53:42 UTC 2023


> On AIX, NMT/JcmdScale.java fails with: java.lang.RuntimeException: 'Incorrect scale value: (null)' missing from stdout/stderr.
> 
> Upon analysis the test on Linux and AIX, When a null pointer is passed to the **%s** format specifier, Linux's printf implementation interprets it as an empty string, resulting in the output **(null)**. However, on AIX , the implementation does not interpret it as an empty string. It may handle the null pointer differently, potentially by ignoring it and producing no output at all.
> 
> 
> JBS Issue : [JDK-8312078](https://bugs.openjdk.org/browse/JDK-8312078)

Deepa Kumari has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - 8312078 : [PPC] JcmdScale.java Failing on AIX
 - Passed (null) to scale vale

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/14935/files
  - new: https://git.openjdk.org/jdk/pull/14935/files/4c06945a..da8bef71

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14935&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14935&range=00-01

  Stats: 31259 lines in 575 files changed: 15654 ins; 13036 del; 2569 mod
  Patch: https://git.openjdk.org/jdk/pull/14935.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14935/head:pull/14935

PR: https://git.openjdk.org/jdk/pull/14935


More information about the hotspot-runtime-dev mailing list