Skip to content

Commit 04d2033

Browse files
Sonia Zaldana Callesjerboaa
authored andcommitted
8273803: Zero: Handle "zero" variant in CommandLineOptionTest.java
Backport-of: 2d13fb21af783ebbe3dd5c2632aea11347317026
1 parent 7dfd132 commit 04d2033

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/lib/jdk/test/lib/cli/CommandLineOptionTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -502,6 +502,8 @@ private static String getVMTypeOption() {
502502
return "-minimal";
503503
} else if (Platform.isGraal()) {
504504
return "-graal";
505+
} else if (Platform.isZero()) {
506+
return "-zero";
505507
}
506508
throw new RuntimeException("Unknown VM mode.");
507509
}

0 commit comments

Comments
 (0)