This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libgcj/1718: ArithmeticException regressions

>Number:         1718
>Category:       libgcj
>Synopsis:       ArithmeticException regressions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 21 04:06:00 PST 2001
>Originator:     Bryce McKinlay
>Release:        current CVS
Red Hat 7.0 w/ kernel 2.4.0, glibc-2.2-12
1) This test case does not run correctly:

public class ArithExTest {
    public static void main(String[] args) 
          int k = 3 / 0;
      catch (Exception x)
          System.out.println ("ok");

The exception gets thrown all the way back to the default
handler, missing the hander defined in the test case.

2) The testsuite case libjava.lang/ loops 
indefinatly. I can see the SIGFPE in gdb but execution seems
to resume at a point before the instructions that generated
the exception.

NullPointerExceptions seem to be working fine, though.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]