8057745: TEST_BUG: runtime/SharedArchiveFile/ArchiveDoesNotExist.java fails with openjdk build
authorigerasim
Mon, 08 Sep 2014 23:49:39 +0400
changeset 26567 b8b544832bce
parent 26566 2fbb4a25bad0
child 26568 65dbacf42e6d
child 26569 5fcbc13c071c
8057745: TEST_BUG: runtime/SharedArchiveFile/ArchiveDoesNotExist.java fails with openjdk build Reviewed-by: dholmes, mseledtsov
hotspot/test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java
--- a/hotspot/test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java	Mon Sep 08 11:14:41 2014 -0400
+++ b/hotspot/test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java	Mon Sep 08 23:49:39 2014 +0400
@@ -61,7 +61,7 @@
            "-version");
 
         output = new OutputAnalyzer(pb.start());
-        output.shouldContain("java version");
+        output.shouldMatch("(java|openjdk) version");
         output.shouldNotContain("sharing");
         output.shouldHaveExitValue(0);
     }