Skip to content

Commit

Permalink
make variable volatile
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Oct 23, 2024
1 parent 9c54977 commit 101f2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/java/org/apache/comet/NativeBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public abstract class NativeBase {

private static final String libraryToLoad = System.mapLibraryName(NATIVE_LIB_NAME);
private static boolean loaded = false;
private static Throwable loadErr = null;
private static volatile Throwable loadErr = null;
private static final String searchPattern = "libcomet-";

static {
Expand Down

0 comments on commit 101f2bc

Please sign in to comment.