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
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
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
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