
On Wed, Nov 20, 2019, 6:00 AM <logback-user-request@qos.ch> wrote:
Send logback-user mailing list submissions to logback-user@qos.ch
To subscribe or unsubscribe via the World Wide Web, visit http://mailman.qos.ch/mailman/listinfo/logback-user or, via email, send a message with subject or body 'help' to logback-user-request@qos.ch
You can reach the person managing the list at logback-user-owner@qos.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of logback-user digest..."
Today's Topics:
1. logback 1.3.0-alpha5 NPE (Rolf Schumacher) 2. Re: logback 1.3.0-alpha5 NPE (Ceki)
----------------------------------------------------------------------
Message: 1 Date: Tue, 19 Nov 2019 23:23:24 +0100 From: Rolf Schumacher <rolf@august.de> To: logback-user@qos.ch Subject: [logback-user] logback 1.3.0-alpha5 NPE Message-ID: <1d91697c-8bc3-db36-d40b-91aeea319061@august.de> Content-Type: text/plain; charset="utf-8"; Format="flowed"
I've reduced my problem to a very simple maven project, located here as zip-file:
/https://www.file-upload.net/download-13793489/deeschd.zip.html/
doing a /mvn test/ runs fine with Java-11.
uncommenting
/// requires transitive ch.qos.logback.classic;/
in /src/main/jave/module-info.java/
and running /mvn test/ again leads to an NPE.
Why does the mentioning of an existing module in /module-info.java /lead to an NPE? //
This source code is a reduction of an existing project. It has been has been moved from Java-8 to Java-11.
The source code contains a /LogbackConfigurator.java/ (implementing ch.qos.logback.classic.spi.Configurator).
/LogbackConfigurator.java/ needs /ch.qos.logback.classic/ in /module-info.java/ in order to compile.
Am I doing something wrong, or is this a bug?
Any help welcome
Rolf
participants (1)
-
Quentin Campbell