Browse Source

Fixed serialization issues

Change-Id: I5dc1f2dc061c4b6bb6d00040b972802df97d3f89
tags/7.1.0
Artur Signell 11 years ago
parent
commit
da29e2b1a5

+ 2
- 1
server/src/com/vaadin/server/LocaleService.java View File

@@ -19,6 +19,7 @@
*/
package com.vaadin.server;

import java.io.Serializable;
import java.text.DateFormat;
import java.text.DateFormatSymbols;
import java.text.SimpleDateFormat;
@@ -37,7 +38,7 @@ import com.vaadin.ui.UI;
* @since 7.1
* @author Vaadin Ltd
*/
public class LocaleService {
public class LocaleService implements Serializable {

private UI ui;


+ 1
- 1
server/src/com/vaadin/server/Page.java View File

@@ -306,7 +306,7 @@ public class Page implements Serializable {
}
}

private static interface InjectedStyle {
private static interface InjectedStyle extends Serializable {
public void paint(int id, PaintTarget target) throws PaintException;
}


+ 4
- 0
server/tests/src/com/vaadin/tests/server/TestClassesSerializable.java View File

@@ -60,6 +60,10 @@ public class TestClassesSerializable extends TestCase {
"com\\.vaadin\\.sass.*", //
"com\\.vaadin\\.testbench.*", //
"com\\.vaadin\\.util\\.CurrentInstance\\$1", //
"com\\.vaadin\\.server\\.communication\\.PushConnection", //
"com\\.vaadin\\.server\\.communication\\.AtmospherePushConnection", //
"com\\.vaadin\\.util\\.ConnectorHelper", //
"com\\.vaadin\\.server\\.VaadinSession$FutureAccess", //
};

/**

Loading…
Cancel
Save