aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan@vaadin.com>2014-05-11 12:38:08 +0300
committerVaadin Code Review <review@vaadin.com>2014-05-12 12:05:18 +0000
commit82033e827fcbfb396886df627a1f8d7c02359e9d (patch)
tree77f1d451abbe4c294f3c40db721bc37b3898819a /uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java
parent2b60bbb8576b456c11d324b8f8a92d8ade54ffff (diff)
downloadvaadin-framework-82033e827fcbfb396886df627a1f8d7c02359e9d.tar.gz
vaadin-framework-82033e827fcbfb396886df627a1f8d7c02359e9d.zip
Support long in state again (#13692)
The fix to #9379 broke the support for long type fields in state classes. This patch bypasses the unboxing of long values and adds the @UnsafeNativeLong annotation to the methods which may fetch and return (without modifying) long values. SerializerTest is extended to test the different data types in States. Change-Id: I29fd2c6af13cd9a0d29ecb1444ed9eb8a2b013e3
Diffstat (limited to 'uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java')
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java b/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java
index c42b8749c2..5fc5c19497 100644
--- a/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java
+++ b/uitest/src/com/vaadin/tests/widgetset/server/SerializerTestExtension.java
@@ -18,8 +18,8 @@ package com.vaadin.tests.widgetset.server;
import com.vaadin.server.AbstractExtension;
import com.vaadin.shared.communication.ClientRpc;
-import com.vaadin.tests.widgetset.client.ComplexTestBean;
import com.vaadin.tests.widgetset.client.SerializerTestRpc;
+import com.vaadin.tests.widgetset.client.SerializerTestState;
public class SerializerTestExtension extends AbstractExtension {
@@ -29,8 +29,8 @@ public class SerializerTestExtension extends AbstractExtension {
}
@Override
- public ComplexTestBean getState() {
- return (ComplexTestBean) super.getState();
+ public SerializerTestState getState() {
+ return (SerializerTestState) super.getState();
}
public void registerRpc(SerializerTestRpc rpc) {