We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bdbe849 + 3e7ebea commit e2b5e14Copy full SHA for e2b5e14
1 file changed
src/main/java/org/apache/commons/beanutils/MethodUtils.java
@@ -126,7 +126,7 @@ public int hashCode() {
126
* which may introduce memory-leak problems.
127
* </p>
128
*/
129
- private static boolean CACHE_METHODS = true;
+ private static volatile boolean CACHE_METHODS = true;
130
131
/** An empty class array */
132
private static final Class<?>[] EMPTY_CLASS_PARAMETERS = new Class[0];
0 commit comments