Merge
This commit is contained in:
commit
1bbe27a179
@ -132,9 +132,10 @@ public class ToolsOpts extends TestHelper {
|
||||
}
|
||||
if (pat.compareTo("-J-version") == 0 ||
|
||||
pat.compareTo("-J-showversion") == 0) {
|
||||
if (!tr.contains("java version")) {
|
||||
if (!tr.contains("java version") &&
|
||||
!tr.contains("openjdk version")) {
|
||||
throw new RuntimeException("failed: " + pat +
|
||||
" should have display java version.");
|
||||
" should display a version string.");
|
||||
}
|
||||
} else if (pat.compareTo("-J-XshowSettings:VM") == 0) {
|
||||
if (!tr.contains("VM settings")) {
|
||||
|
Loading…
Reference in New Issue
Block a user