From cf774aa6d4622a4d235b63a1649ad82cbb669f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristiano=20Gavi=C3=A3o?= Date: Sun, 5 Aug 2018 16:03:43 -0300 Subject: [PATCH] Fixing FELIX-5898 added java.io.Serializable to org.apache.felix.configurator.impl.json.OrderedDictionary --- .../felix/configurator/impl/json/OrderedDictionary.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configurator/src/main/java/org/apache/felix/configurator/impl/json/OrderedDictionary.java b/configurator/src/main/java/org/apache/felix/configurator/impl/json/OrderedDictionary.java index 3891f159212..d7e0463b099 100644 --- a/configurator/src/main/java/org/apache/felix/configurator/impl/json/OrderedDictionary.java +++ b/configurator/src/main/java/org/apache/felix/configurator/impl/json/OrderedDictionary.java @@ -18,6 +18,7 @@ */ package org.apache.felix.configurator.impl.json; +import java.io.Serializable; import java.util.Collection; import java.util.Collections; import java.util.Dictionary; @@ -33,7 +34,10 @@ * Actually this class is a simple adapter from the Dictionary interface * to a synchronized LinkedHashMap */ -public class OrderedDictionary extends Dictionary implements Map { +public class OrderedDictionary extends Dictionary implements Map, Serializable { + + private static final long serialVersionUID = -525111601546803041L; + private static class EnumarationImpl implements Enumeration { private final Iterator iterator;