2002/07/01 20:59:11
[org.ibex.core.git] / src / org / bouncycastle / asn1 / DERObjectIdentifier.java
index b22c7ae..8f04454 100644 (file)
@@ -29,9 +29,10 @@ public class DERObjectIdentifier
                                     // space for 5 7 bit numbers in an int
         byte[]                  iBuf = new byte[5];    
         
-        dOut.write(
-                    Integer.parseInt(tok.nextToken()) * 40
-                    + Integer.parseInt(tok.nextToken()));
+        // FIXED by Adam Megacz -- GCJ doesn't handle evaluation order properly
+        String t1 = tok.nextToken();
+        String t2 = tok.nextToken();
+        dOut.write(Integer.parseInt(t1) * 40 + Integer.parseInt(t2));
 
         while (tok.hasMoreTokens())
         {