This is the mail archive of the gcc-prs@gcc.gnu.org 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
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        current CVS
>Organization:
>Environment:
Red Hat 7.0 w/ kernel 2.4.0, glibc-2.2-12
>Description:
1) This test case does not run correctly:

public class ArithExTest {
    public static void main(String[] args) 
    {
      try
        {
          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/Divide_1.java 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.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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