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.
1 parent a2fbfb6 commit 3e7ebeaCopy full SHA for 3e7ebea
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