0x8000000 / -1 bug (Re: Arithmetic bug in Linux JDK 1.1.7v3)

1999-11-27 Thread SHUDO Kazuyuki
The interpreter of JDK 1.2.2 RC2 still has the bug mentioned below. Sun's JIT and TYA can handle the case correctly. On Wed, 23 Jun 1999 20:35:35 -0700 [EMAIL PROTECTED](Matt Welsh) said: > The following program causes the Linux JDK 1.1.7v3 to crash with a > SIGFPE. This is because the x86 cau

Re: Arithmetic bug in Linux JDK 1.1.7v3

1999-07-05 Thread SHUDO Kazuyuki
Hi Albrecht, > > The following program causes the Linux JDK 1.1.7v3 to crash with a > > SIGFPE. This is because the x86 causes an arithmetic exception when > > you divide 0x8000 by -1; the JVM spec, however, says that the result > > of this should be 0x8000 with NO exception thrown. (The

Re: Arithmetic bug in Linux JDK 1.1.7v3

1999-06-25 Thread Albrecht Kleine
Hi, > > The following program causes the Linux JDK 1.1.7v3 to crash with a > SIGFPE. This is because the x86 causes an arithmetic exception when > you divide 0x8000 by -1; the JVM spec, however, says that the result > of this should be 0x8000 with NO exception thrown. (The fix is to catch

Arithmetic bug in Linux JDK 1.1.7v3

1999-06-23 Thread Matt Welsh
The following program causes the Linux JDK 1.1.7v3 to crash with a SIGFPE. This is because the x86 causes an arithmetic exception when you divide 0x8000 by -1; the JVM spec, however, says that the result of this should be 0x8000 with NO exception thrown. (The fix is to catch the SIGFPE a