You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2020/01/09 14:15:46 UTC
[lucene-solr] branch branch_8x updated: SOLR-14165: SolrResponse
serialVersionUID has changed in a backward incompatible way
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new b8ec731 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way
b8ec731 is described below
commit b8ec731af67f08abe4d459590e23d2c844110c4f
Author: noble <no...@apache.org>
AuthorDate: Fri Jan 10 01:11:42 2020 +1100
SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way
---
solr/CHANGES.txt | 19 +++++++++++++++++++
.../org/apache/solr/client/solrj/SolrResponse.java | 15 +++++++++------
2 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 9048d98..25b1493 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -146,6 +146,25 @@ Other Changes
* SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common (Andras Salamon via Tomás Fernández Löbbe)
+================== 8.4.1 ==================
+
+Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
+
+Versions of Major Components
+---------------------
+Apache Tika 1.19.1
+Carrot2 3.16.0
+Velocity 2.0 and Velocity Tools 3.0
+Apache ZooKeeper 3.5.5
+Jetty 9.4.19.v20190610
+
+
+Bug Fixes
+----------------------
+
+* SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way (Andy Webb via noble)
+
+
================== 8.4.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/SolrResponse.java b/solr/solrj/src/java/org/apache/solr/client/solrj/SolrResponse.java
index 7abde81..de2b2fe 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/SolrResponse.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/SolrResponse.java
@@ -16,12 +16,6 @@
*/
package org.apache.solr.client.solrj;
-import org.apache.solr.common.MapWriter;
-import org.apache.solr.common.SolrException;
-import org.apache.solr.common.SolrException.ErrorCode;
-import org.apache.solr.common.util.NamedList;
-import org.apache.solr.common.util.SuppressForbidden;
-
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
@@ -29,6 +23,12 @@ import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
+import org.apache.solr.common.MapWriter;
+import org.apache.solr.common.SolrException;
+import org.apache.solr.common.SolrException.ErrorCode;
+import org.apache.solr.common.util.NamedList;
+import org.apache.solr.common.util.SuppressForbidden;
+
/**
*
@@ -37,6 +37,9 @@ import java.io.Serializable;
*/
public abstract class SolrResponse implements Serializable, MapWriter {
+ /** make this compatible with earlier versions */
+ private static final long serialVersionUID = -7931100103360242645L;
+
/** Elapsed time in milliseconds for the request as seen from the client. */
public abstract long getElapsedTime();