This is an automated email from the ASF dual-hosted git repository.
libenchao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new dc115a8afc [CALCITE-6048] ServerTest#testTruncateTable fails
intermittently due to method not found exception
dc115a8afc is described below
commit dc115a8afc4c1836424de0ceea91f635b6ec904e
Author: Benchao Li <[email protected]>
AuthorDate: Thu Dec 7 00:22:54 2023 +0800
[CALCITE-6048] ServerTest#testTruncateTable fails intermittently due to
method not found exception
Close apache/calcite#3567
---
core/src/main/java/org/apache/calcite/util/ReflectUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/calcite/util/ReflectUtil.java
b/core/src/main/java/org/apache/calcite/util/ReflectUtil.java
index 57bc535d6e..f9875d14a7 100644
--- a/core/src/main/java/org/apache/calcite/util/ReflectUtil.java
+++ b/core/src/main/java/org/apache/calcite/util/ReflectUtil.java
@@ -436,7 +436,7 @@ public abstract class ReflectUtil {
Collections.emptyList());
}
- @Override public @Nullable Method lookupVisitMethod(
+ @Override public synchronized @Nullable Method lookupVisitMethod(
Class<? extends R> visitorClass,
Class<? extends E> visiteeClass,
String visitMethodName,