From: Decebal Suiu Date: Tue, 23 Feb 2021 11:47:33 +0000 (+0200) Subject: Add static for asm dependency X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f01ddddf1bab4ffbedba1240c679988447527395;p=pf4j.git Add static for asm dependency --- diff --git a/pf4j/src/main/java/module-info.java b/pf4j/src/main/java/module-info.java index b11792f..55b6169 100644 --- a/pf4j/src/main/java/module-info.java +++ b/pf4j/src/main/java/module-info.java @@ -26,8 +26,8 @@ module org.pf4j { // provides javax.annotation requires java.compiler; - // provided by the ASM library - requires org.objectweb.asm; + // provided by the ASM library, use "requires static" since it's optional + requires static org.objectweb.asm; // The SLF4J library currently does not provide a module. // Version 1.8 provides a module called "org.slf4j". But this version is