aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/test/java/com/yahoo/processing/request
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-08-25 06:33:04 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2022-08-25 06:52:13 +0200
commitaa90841e3e36242d286f79a1f53ae84a0e9ff216 (patch)
treeef7189a75612a6da71ddbaa0d2d01150bae3432e /container-core/src/test/java/com/yahoo/processing/request
parente3dd94868062b6673889df4dc9994710706fde1b (diff)
If you get a ClassCastException when doing clone by reflection it might be that you are using a
staale method reference that has been replaced by new code from a new/reloaded bundle. If so we clear the method cache and gives it a new try.
Diffstat (limited to 'container-core/src/test/java/com/yahoo/processing/request')
-rw-r--r--container-core/src/test/java/com/yahoo/processing/request/test/PropertyMapTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/test/java/com/yahoo/processing/request/test/PropertyMapTestCase.java b/container-core/src/test/java/com/yahoo/processing/request/test/PropertyMapTestCase.java
index de5437ab658..129409d3102 100644
--- a/container-core/src/test/java/com/yahoo/processing/request/test/PropertyMapTestCase.java
+++ b/container-core/src/test/java/com/yahoo/processing/request/test/PropertyMapTestCase.java
@@ -1,8 +1,8 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.processing.request.test;
+import com.yahoo.lang.PublicCloneable;
import com.yahoo.processing.request.properties.PropertyMap;
-import com.yahoo.processing.request.properties.PublicCloneable;
import org.junit.jupiter.api.Test;
import java.util.Arrays;