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

Tyler Steele tsteele at openjdk.org
Wed Aug 2 14:25:51 UTC 2023


On Sat, 29 Jul 2023 19:53:42 GMT, Deepa Kumari <duke at openjdk.org> wrote:

>> 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 pull request now contains two commits:
> 
>  - 8312078 : [PPC] JcmdScale.java Failing on AIX
>  - Passed (null) to scale vale

Marked as reviewed by tsteele (Committer).

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

PR Review: https://git.openjdk.org/jdk/pull/14935#pullrequestreview-1559132545


More information about the hotspot-runtime-dev mailing list