[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/26668] java.util.logging bugs
From: |
mark at gcc dot gnu dot org |
Subject: |
[Bug classpath/26668] java.util.logging bugs |
Date: |
14 May 2006 16:07:10 -0000 |
------- Comment #17 from mark at gcc dot gnu dot org 2006-05-14 16:07 -------
(In reply to comment #16)
> This patch means that some Mauve tests now fail as internal LogManager code
> trips some code that causes security exceptions:
>
> FAIL: gnu.testlet.java.util.logging.Handler.getErrorManager: uncaught
> exception: java.lang.ExceptionInInitializerError
> [...]
> I looked at the first of these, getErrorManager(). The test tries first to
> get
> the error manager without permission, and then after obtaining permission from
> its own test security manager. The first test now fails with an exception, as
> an exception is generated in the initialisation of the log manager. When
> trying to set the level of the root logger, it fails due to the security
> manager's restrictions. I presume this is why the others now also fail.
> Beforehand, this was obscured by the initialisation taking place in the
> constructor before the security manager was activated.
This has been fixed in CVS now.
Keeping the bug report open since we want to LoggingTest in Mauve.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26668