Divide by zero does not throw exception for longs

Andrew Haley aph@cambridge.redhat.com
Tue Jun 12 03:38:00 GMT 2001


Aneesh Aggarwal writes:
 > 
 > 
 > This is the 3.1 version. When compiled with gcj, divide by zero does not
 > exception for longs. For ints, however, it throws the exception.
That's strange: this case is explicitly tested for in
libjava/testsuite/libjava.lang/Divide_1.java. Can you try that
program on your system, please?
Thanks,
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /