felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1825703 - /felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/model/State.java
Date Fri, 02 Mar 2018 07:16:52 GMT
Author: cziegeler
Date: Fri Mar  2 07:16:51 2018
New Revision: 1825703

URL: http://svn.apache.org/viewvc?rev=1825703&view=rev
Log:
Add missing field for serialization

Modified:
    felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/model/State.java

Modified: felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/model/State.java
URL: http://svn.apache.org/viewvc/felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/model/State.java?rev=1825703&r1=1825702&r2=1825703&view=diff
==============================================================================
--- felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/model/State.java
(original)
+++ felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/model/State.java
Fri Mar  2 07:16:51 2018
@@ -56,6 +56,7 @@ public class State extends AbstractState
     throws IOException {
         out.writeInt(VERSION);
         out.writeObject(bundlesLastModified);
+        out.writeObject(bundlesConfigAdminBundleId);
         out.writeObject(initialHashes);
     }
 
@@ -72,6 +73,7 @@ public class State extends AbstractState
             throw new ClassNotFoundException(this.getClass().getName());
         }
         ReflectionUtil.setField(this, "bundlesLastModified", in.readObject());
+        ReflectionUtil.setField(this, "bundlesConfigAdminBundleId", in.readObject());
         initialHashes = (Set<String>) in.readObject();
     }
 
@@ -169,7 +171,8 @@ public class State extends AbstractState
     @Override
     public String toString() {
         return "State [bundlesLastModified=" + bundlesLastModified +
-                ", initialHashes=" + initialHashes + "]";
+                ", initialHashes=" + initialHashes +
+                ", bundlesConfigAdminBundleId=" + bundlesConfigAdminBundleId + "]";
     }
 
     public Set<Long> getBundleIdsUsingConfigAdmin() {



Mime
View raw message