Skip to content
Permalink
Browse files
contextClassLoader should be volatile
  • Loading branch information
AlanBateman committed Mar 2, 2021
1 parent 7b0527e commit 6f54c0a8ee79a81a0995426cfd6ec8d630e96c02
Showing 1 changed file with 1 addition and 1 deletion.
@@ -153,7 +153,7 @@ private static class FieldHolder {
private final long tid;

// context ClassLoader
private ClassLoader contextClassLoader;
private volatile ClassLoader contextClassLoader;

// inherited AccessControlContext, TBD: move this to FieldHolder
private AccessControlContext inheritedAccessControlContext;

0 comments on commit 6f54c0a

Please sign in to comment.