[Top][All Lists]

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

[Bug classpath/28070] New: Exception instatiating LogManager

From: green at redhat dot com
Subject: [Bug classpath/28070] New: Exception instatiating LogManager
Date: 17 Jun 2006 07:00:36 -0000

LogManager static initialization throws an exception if you have a security
manager installed.  I'll attach a test case to this issue.

When I run it with gij I get:

   at java.lang.Class.initializeClass(libgcj.so.7)
   at java.util.logging.LogManager.<init>(libgcj.so.7)
   at java.util.logging.LogManager.makeLogManager(libgcj.so.7)
   at java.util.logging.LogManager.<clinit>(libgcj.so.7)
   at java.lang.Class.initializeClass(libgcj.so.7)
   at LogManagerSecurityDeath.main(LogManagerSecurityDeath.java:24)
Caused by: java.lang.NullPointerException
   at java.util.logging.LogManager.checkAccess(libgcj.so.7)
   at java.util.logging.LogManager.addLogger(libgcj.so.7)
   at java.util.logging.Logger.getLogger(libgcj.so.7)
   at java.util.logging.Logger.getLogger(libgcj.so.7)
   at java.util.logging.Logger.<clinit>(libgcj.so.7)
   at java.lang.Class.initializeClass(libgcj.so.7)
   ...5 more

I believe this is a Classpath bug, and not a gcj/libgcj error.
LogManager.controlPermission needs to be initialized before it is used.

           Summary: Exception instatiating LogManager
           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]