< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page

        

@@ -147,11 +147,11 @@
 // the option must match exactly.
 static bool match_option(const JavaVMOption* option, const char** names, const char** tail,
   bool tail_allowed) {
   for (/* empty */; *names != NULL; ++names) {
     if (match_option(option, *names, tail)) {
-      if (**tail == '\0' || tail_allowed && **tail == ':') {
+      if (**tail == '\0' || (tail_allowed && **tail == ':')) {
         return true;
       }
     }
   }
   return false;
< prev index next >