]> source.dussan.org Git - vaadin-framework.git/commitdiff
Excludes WeakValueMap from the serializable test #12401
authorJonatan Kronqvist <jonatan@vaadin.com>
Tue, 3 Sep 2013 06:53:10 +0000 (09:53 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 3 Sep 2013 06:58:48 +0000 (06:58 +0000)
Also added a note to the WeakValueMap JavaDoc stating that it is
not serializable.

Change-Id: If342746ad7c7cac0db8bac4ba75236970cc4cd01

server/src/com/vaadin/util/WeakValueMap.java
server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java

index b5ac12ce9108c18241b63f0d2cd6909d508998bc..1134594cbac11f08c34122e50f8c2ef975e7afc3 100644 (file)
@@ -30,6 +30,8 @@ import java.util.Set;
  * A Map holding weak references to its values. It is internally backed by a
  * normal HashMap and all values are stored as WeakReferences. Garbage collected
  * entries are removed when touched.
+ * <p>
+ * <em>Note</em> this class is not serializable.
  * 
  * @author Vaadin Ltd
  * @since 7.1.4
index 2a7e456fcb12df2bff680b08474f61f8766b6cb8..e5420b8921bf98f30d66e68151afaa54779f29f0 100644 (file)
@@ -65,6 +65,7 @@ public class TestClassesSerializable extends TestCase {
             "com\\.vaadin\\.util\\.ConnectorHelper", //
             "com\\.vaadin\\.server\\.VaadinSession\\$FutureAccess", //
             "com\\.vaadin\\.external\\..*", //
+            "com\\.vaadin\\.util\\.WeakValueMap.*", //
     };
 
     /**