File openjdk-6-src-b20-suggest-parentheses.patch of Package java-1_6_0-openjdk.import5856

Index: icedtea6-1.9.1/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
===================================================================
--- icedtea6-1.9.1.orig/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
+++ icedtea6-1.9.1/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
@@ -4278,8 +4278,8 @@ int ADLParser::get_int(void) {
   skipws();                       // Skip whitespace before identifier
   start = end = _ptr;             // Start points at first character
   c = *end;                       // Grab character to test
-  while ((c >= '0') && (c <= '9')
-         || ((c == '-') && (end == start))) {
+  while (((c >= '0') && (c <= '9'))
+         || (((c == '-') && (end == start)))) {
     end++;                        // Increment end pointer
     c = *end;                     // Grab character to test
   }
openSUSE Build Service is sponsored by