My code depends on Logback which seems to have a bug in its module-info.java
file. The author seems to be indisposed for an extended period of time. Is there a way for me to patch this dependency's module-info.java
file without having to recompile and depend on a forked version?
Asked
Active
Viewed 103 times
2

Gili
- 86,244
- 97
- 390
- 689
-
1Based on the bug, how about using an explicit VM arg `--add-reads ch.qos.logback.classic=java.logging`? – Naman Nov 24 '20 at 07:57
-
@Naman That did it. Thank you! Please post a formal answer and I'll mark it as accepted. – Gili Nov 24 '20 at 15:54
-
I assume ch.qos.logback.classic wasn't compiled as a module, as this would have been caught at compile-time. Maybe they compiled the module-info.java separately but didn't test it. – Alan Bateman Dec 08 '20 at 07:35