logback / LOGBACK-1680 [Open] Unable to use JULHelper with Java Modules ==============================
Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/LOGBACK-1680 ============================== Issue created ------------------------------ Alexey Gavrilov created this issue on 19/Sep/22 3:40 PM Summary: Unable to use JULHelper with Java Modules Issue Type: Bug Assignee: Logback dev list Created: 19/Sep/22 3:40 PM Priority: Major Reporter: Alexey Gavrilov Description: When logback is running with Java Modules (JPMS) an attempt to use JULHelper by any code fails with the following error: {code:java} Exception in thread "main" java.lang.IllegalAccessError: class ch.qos.logback.classic.jul.JULHelper (in module ch.qos.logback.classic) cannot access class java.util.logging.Level (in module java.logging) because module ch.qos.logback.classic does not read module java.logging at ch.qos.logback.classic@1.4.1/ch.qos.logback.classic.jul.JULHelper.asJULLevel(JULHelper.java:45) at com.github.agavrilov.logback@1.0-SNAPSHOT/com.github.agavrilov.logback.Main.main(Main.java:9){code} I noticed this while using LevelChangePropagator in my program. You can execute the run.sh script from the repository below to reproduce the problem: https://github.com/agavrilov76/logback-jpms-bug ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev