[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/26990] New: SecurityManager.checkExit() problem

From: green at redhat dot com
Subject: [Bug classpath/26990] New: SecurityManager.checkExit() problem
Date: 2 Apr 2006 17:20:30 -0000

I found the following while debugging azureus on FC5.

The following program throws an exception when run on gcj, but
it exists cleanly on Sun java.  It looks like we're calling checkExit()
on the wrong SecurityManager (or should we even be calling it when a program
exists normally?).

public class ExitTest
  public static void main (String args[]) throws Exception
    System.setSecurityManager(new SecurityManager()
                                public void checkExit(int status)
                                  throw new SecurityException("This is a bug");

           Summary: SecurityManager.checkExit() problem
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]