JDK-8310191 : com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 21,22
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: aix
  • CPU: ppc
  • Submitted: 2023-06-16
  • Updated: 2023-07-12
  • Resolved: 2023-06-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 22
21Fixed 22 b03Fixed
Related Reports
Relates :  
Description
After push of 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 .
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk21/pull/45 Date: 2023-06-21 08:27:38 +0000
21-06-2023

Changeset: 6a63badd Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2023-06-19 06:39:58 +0000 URL: https://git.openjdk.org/jdk/commit/6a63badd8ea3e79cd9fc3cb33aff499fc9a6d3f1
19-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14515 Date: 2023-06-16 10:44:47 +0000
16-06-2023