This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 99a63ba6e5e05154740e23f7d0f155751bfe48a3 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Feb 8 18:52:50 2024 +0000 Flag needs to be volatile --- java/org/apache/tomcat/jni/Library.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/jni/Library.java b/java/org/apache/tomcat/jni/Library.java index 8c48732740..a08dae4c07 100644 --- a/java/org/apache/tomcat/jni/Library.java +++ b/java/org/apache/tomcat/jni/Library.java @@ -30,7 +30,7 @@ public final class Library { */ private static Library _instance = null; - private static boolean initialized = false; + private static volatile boolean initialized = false; private Library() throws Exception { boolean loaded = false; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org