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 3c86972 commit c8e1b03Copy full SHA for c8e1b03
src/main/java/rx/plugins/RxJavaPlugins.java
@@ -200,7 +200,11 @@ public void registerSingleExecutionHook(RxJavaSingleExecutionHook impl) {
200
}
201
202
203
- /* test */ static Object getPluginImplementationViaProperty(Class<?> pluginClass, Properties props) {
+ /* test */ static Object getPluginImplementationViaProperty(Class<?> pluginClass, Properties propsIn) {
204
+ // Make a defensive clone because traversal may fail with ConcurrentModificationException
205
+ // if the properties get changed by something outside RxJava.
206
+ Properties props = (Properties)propsIn.clone();
207
+
208
final String classSimpleName = pluginClass.getSimpleName();
209
/*
210
* Check system properties for plugin class.
0 commit comments