test/jtreg-ext/requires/VMProps.java
changeset 50914 07498f5b6a96
parent 50908 7c51db95ccb6
child 51191 96fae3a62612
child 51214 67736b4846a0
--- a/test/jtreg-ext/requires/VMProps.java	Fri Jun 29 11:10:47 2018 +0200
+++ b/test/jtreg-ext/requires/VMProps.java	Fri Jun 29 13:43:35 2018 -0700
@@ -251,7 +251,7 @@
      * @param flagName - flag name
      */
     private void vmOptFinalFlag(Map<String, String> map, String flagName) {
-        String value = WB.getBooleanVMFlag(flagName) ? "true" : "false";
+        String value = String.valueOf(WB.getBooleanVMFlag(flagName));
         map.put("vm.opt.final." + flagName, value);
     }