RFR: JDK-8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX

Matthias Baesken mbaesken at openjdk.org
Fri Jun 16 10:52:28 UTC 2023


After push of [JDK-8307478](https://bugs.openjdk.org/browse/JDK-8307478) , the following test started to fail on AIX :
com/sun/tools/attach/warnings/DynamicLoadWarningTest.java ; failure output :

java.lang.RuntimeException: 'WARNING: A JVM TI agent has been loaded dynamically' found in stderr
at jdk.test.lib.process.OutputAnalyzer.stderrShouldNotContain(OutputAnalyzer.java:320)
at DynamicLoadWarningTest$AppRunner.stderrShouldNotContain(DynamicLoadWarningTest.java:308)
at DynamicLoadWarningTest.testLoadOneJvmtiAgent(DynamicLoadWarningTest.java:138)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)

Should be handled in a similar way to [JDK-8309549](https://bugs.openjdk.org/browse/JDK-8309549) .

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

Commit messages:
 - JDK-8310191

Changes: https://git.openjdk.org/jdk/pull/14515/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14515&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310191
  Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14515.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14515/head:pull/14515

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


More information about the core-libs-dev mailing list