SOLR-12207: rethowing AssertionError from jdk reflection bug

This commit is contained in:
Mikhail Khludnev 2018-04-10 15:53:45 +03:00
parent e90ab4bb81
commit 764dcc336b
2 changed files with 7 additions and 0 deletions

View File

@ -123,6 +123,9 @@ Bug Fixes
* SOLR-12096: Fixed inconsistent results format of subquery transformer for distributed search (multi-shard).
(Munendra S N, Mikhail Khludnev via Ishan Chattopadhyaya)
* SOLR-12207: Just rethrowing AssertionError caused by jdk bug in reflection with invocation details.
(ab, Dawid Weiss, Mikhail Khludnev)
Optimizations
----------------------

View File

@ -1018,6 +1018,10 @@ public class SolrPluginUtils {
}
throw new RuntimeException("Error invoking setter " + setterName + " on class : " + clazz.getName(), e1);
}
catch (AssertionError ae) {
throw new RuntimeException("Error invoking setter " + setterName + " on class : " + clazz.getName()+
". This might be a case of SOLR-12207", ae);
}
}
}