mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: lucy, alanb
Backport-of: 4d66d97745
This commit is contained in:
@@ -119,10 +119,13 @@ class DynamicLoadWarningTest {
|
||||
test().whenRunning(loadJvmtiAgent1)
|
||||
.stderrShouldContain(JVMTI_AGENT_WARNING);
|
||||
|
||||
// dynamically load loadJvmtiAgent1 twice, should be one warning
|
||||
test().whenRunning(loadJvmtiAgent1)
|
||||
.whenRunning(loadJvmtiAgent1)
|
||||
.stderrShouldContain(JVMTI_AGENT_WARNING, 1);
|
||||
// dynamically load loadJvmtiAgent1 twice, should be one warning on platforms
|
||||
// that can detect if an agent library was previously loaded
|
||||
if (!Platform.isAix()) {
|
||||
test().whenRunning(loadJvmtiAgent1)
|
||||
.whenRunning(loadJvmtiAgent1)
|
||||
.stderrShouldContain(JVMTI_AGENT_WARNING, 1);
|
||||
}
|
||||
|
||||
// opt-in via command line option to allow dynamic loading of agents
|
||||
test().withOpts("-XX:+EnableDynamicAgentLoading")
|
||||
|
||||
Reference in New Issue
Block a user