commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <>
Subject [jira] Created: (LOGGING-117) Unit tests fail on linux with java16
Date Sun, 11 Nov 2007 11:25:50 GMT
Unit tests fail on linux with java16

                 Key: LOGGING-117
             Project: Commons Logging
          Issue Type: Bug
    Affects Versions: 1.1.1
            Reporter: Simon Kitching
            Assignee: Simon Kitching

When running "mvn install", the unit tests fail.

The problem is with the tests in the jdk14 directory, ie those that test commons-logging forwarding
to a java.util.logging implementation.
The same tests works fine with java15 on linux. Others have reported that the tests work fine
with java16 on Windows.

The problem seems to be that somehow java.util.logging is not registering our dummy LogHandler
implementation that the unit test uses to then verify that the messages have correctly been

Note that this is likely just a problem with the *unit test*. It is believed that the real
commons-logging code actually works fine.

It appears that the problem has something to do with the tests in the "noop" directory. Changing
the pom to do this:
makes the jdk14 tests run fine.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message