RFR(XS): 8192840: serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java failing on Windows

Chris Plummer chris.plummer at oracle.com
Thu Nov 30 21:50:17 UTC 2017


Hello,

Please review the changes below. I'll push once I get two reviews since 
this is an integration block and would be best if it makes it into 
today's nightly build.

https://bugs.openjdk.java.net/browse/JDK-8192840
diff --git 
a/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java 
b/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java
--- 
a/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java
+++ 
b/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java
@@ -37,7 +37,8 @@
              OutputAnalyzer output = null;

              output = executor.execute("JVMTI.agent_load " + libpath);
-            output.shouldContain("Agent_OnAttach is not available");
+            output.shouldContain("Agent_OnAttach");
+            output.shouldContain("is not available");
          } catch (Exception e) {
              throw new RuntimeException(e);
          }


I ran the test on Windows-x64, Solaris-sparc, macosx-x64, and and 
linux-x64 (both product and fastdebug for all 4 platforms).

thanks,

Chris


More information about the serviceability-dev mailing list