[slf4j-dev] [JIRA] Updates for SLF4J-595: Add module-info.java to jul-to-slf4j

slf4j developers list slf4j-dev at qos.ch
Wed Jul 12 18:40:00 CEST 2023


SLF4J / SLF4J-595 [Open]
Add module-info.java to jul-to-slf4j

==============================

Here's what changed in this issue in the last few minutes.


There are 2 comments.


View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-595

==============================
 2 comments
------------------------------

Ceki Gülcü on 12/Jul/23 18:29

[~cowwoc] I am trying to reproduce the warning you mention and am failing to do do.

Have you tried adding "{{requires jul.to.slf4j;}}" in your project's {{module-info.java}} file?

------------------------------

Ceki Gülcü on 12/Jul/23 18:34

[~cowwoc] If I omit declaring {{requires jul.to.slf4j}} in a test project xyz then I get the following 
{code}
java: package org.slf4j.bridge is not visible
  (package org.slf4j.bridge is declared in the unnamed module, but module xyz does not read it)
{code}


==============================
 This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af)



More information about the slf4j-dev mailing list