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

Deepa Kumari duke at openjdk.org
Wed Aug 2 06:06:49 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

Hi @TheRealMDoerr ,

 I am looking for reviews on this PR. I would be happy to get some suggestions or feedback. 

Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/14935#issuecomment-1661544903


More information about the hotspot-runtime-dev mailing list