You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mk...@apache.org on 2018/04/10 18:08:27 UTC

lucene-solr:branch_7x: SOLR-12207: rethowing AssertionError from jdk reflection bug

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 48325cf8c -> f8f1e23b8


SOLR-12207: rethowing AssertionError from jdk reflection bug


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f8f1e23b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f8f1e23b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f8f1e23b

Branch: refs/heads/branch_7x
Commit: f8f1e23b8fe6c105a7c7f1c1e76a49af382a0dd4
Parents: 48325cf
Author: Mikhail Khludnev <mk...@apache.org>
Authored: Tue Apr 10 15:53:45 2018 +0300
Committer: Mikhail Khludnev <mk...@apache.org>
Committed: Tue Apr 10 21:07:59 2018 +0300

----------------------------------------------------------------------
 solr/CHANGES.txt                                             | 3 +++
 solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java | 4 ++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f8f1e23b/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6c1b857..8e7fd8b 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -100,6 +100,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
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f8f1e23b/solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java b/solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java
index fab4105..6d9ba6d 100644
--- a/solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java
+++ b/solr/core/src/java/org/apache/solr/util/SolrPluginUtils.java
@@ -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);
+      }
     }
   }