harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r567537 - /harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java
Date Mon, 20 Aug 2007 03:42:40 GMT
Author: pyang
Date: Sun Aug 19 20:42:39 2007
New Revision: 567537

URL: http://svn.apache.org/viewvc?rev=567537&view=rev
Log:
Fix HARMONY-4650(BigInteger(int signum, int digits[]) constructor bug)

Modified:
    harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java

Modified: harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java?rev=567537&r1=567536&r2=567537&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java (original)
+++ harmony/enhanced/classlib/trunk/modules/math/src/main/java/java/math/BigInteger.java Sun
Aug 19 20:42:39 2007
@@ -247,7 +247,7 @@
         if (digits.length == 0) {
             sign = 0;
             numberLength = 1;
-            digits = new int[] { 0 };
+            this.digits = new int[] { 0 };
         } else {
             sign = signum;
             numberLength = digits.length;



Mime
View raw message