changeset 26567:b8b544832bce

8057745: TEST_BUG: runtime/SharedArchiveFile/ArchiveDoesNotExist.java fails with openjdk build Reviewed-by: dholmes, mseledtsov
author igerasim
date Mon, 08 Sep 2014 23:49:39 +0400
parents 2fbb4a25bad0
children 65dbacf42e6d 5fcbc13c071c
files hotspot/test/runtime/SharedArchiveFile/ArchiveDoesNotExist.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }