aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ross2013-08-21 11:20:15 (EDT)
committerJohn Ross2013-08-21 13:54:54 (EDT)
commit3636378bb84b70f6493de73531a28144c50f3ec0 (patch)
tree8f4be7eca1e4f970385acf5d4033082c33d6c82c
parentd56872147052790a4afbd9e825bd8af14de101d2 (diff)
downloadrt.equinox.bundles-3636378bb84b70f6493de73531a28144c50f3ec0.zip
rt.equinox.bundles-3636378bb84b70f6493de73531a28144c50f3ec0.tar.gz
rt.equinox.bundles-3636378bb84b70f6493de73531a28144c50f3ec0.tar.bz2
[Bug 415461] The serializable class does not declare a static final serialVersionUID field of type long.
Did not wish to change line 223 as the current way of constructing the ArrayList seemed crucial to the test. Could not use @SuppressAnnotations("serial") because the compiler compliance level is set to 1.4. We can change this but it would lead to the need for fixing a number of new warnings. Update copyright.
-rw-r--r--bundles/org.eclipse.equinox.cm.test/src/org/eclipse/equinox/cm/test/ConfigurationDictionaryTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.cm.test/src/org/eclipse/equinox/cm/test/ConfigurationDictionaryTest.java b/bundles/org.eclipse.equinox.cm.test/src/org/eclipse/equinox/cm/test/ConfigurationDictionaryTest.java
index 3be65b7..7044a7e 100644
--- a/bundles/org.eclipse.equinox.cm.test/src/org/eclipse/equinox/cm/test/ConfigurationDictionaryTest.java
+++ b/bundles/org.eclipse.equinox.cm.test/src/org/eclipse/equinox/cm/test/ConfigurationDictionaryTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 IBM Corporation and others
+ * Copyright (c) 2007, 2013 IBM Corporation and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -220,7 +220,9 @@ public class ConfigurationDictionaryTest extends TestCase {
config.update();
Dictionary dict = config.getProperties();
try {
- Collection c = new ArrayList() {};
+ Collection c = new ArrayList() {
+ private static final long serialVersionUID = 1L;
+ };
dict.put("x", c);
config.update(dict);
} catch (IOException e) {