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

Deepa Kumari duke at openjdk.org
Wed Aug 2 14:43:01 UTC 2023


On Wed, 19 Jul 2023 13:41:38 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)

This pull request has now been integrated.

Changeset: c1a3f143
Author:    Deepa Kumari <dpakri181 at gmail.com>
Committer: Tyler Steele <tsteele at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c1a3f143bf881dac6d6e517293c79a68129c6f5a
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8312078: [PPC] JcmdScale.java Failing on AIX

Reviewed-by: stuefe, tsteele

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

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


More information about the hotspot-runtime-dev mailing list