From f01ddddf1bab4ffbedba1240c679988447527395 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Tue, 23 Feb 2021 13:47:33 +0200 Subject: [PATCH] Add static for asm dependency --- pf4j/src/main/java/module-info.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5