On Sat, Jan 05, 2002 at 02:56:37PM -0600, Mark J Roberts wrote:
> I warned you about this... I don't know what patch you tried, but it
> obviously wasn't sufficient. Here's the diff between the broken
> 3.0.x and the fixed 3.1.x:

Mark,
thanks.

I fetched the latest MAIN-branch-revisions of
* java/math/BigInteger.java
* gnu/java/math/MPN.java
from GCC's CVS.

Now it at least starts and runs,
if it can do anything usable is the next question.

As you wrote the constructor:
BigInteger(int bits,Random r)
was broken it always evened the bit number up to even 32s.
Thus the random number generated was bigger than expected 
and never less than the maximum in the while loop.

/g?ran


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 239 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020105/1ce27c59/attachment.pgp>

Reply via email to