WicketTester requiring itself to be serializable
------------------------------------------------

                 Key: WICKET-945
                 URL: https://issues.apache.org/jira/browse/WICKET-945
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta3
            Reporter: Kent Tong


Similar to https://issues.apache.org/jira/browse/WICKET-727, in 
BaseWicketTester, it creates objects of anonymous classes as pages 
(DummyPanelPage). By definition, they refer to the tester itself and will try 
to drag it in when they're serialized.

public final Panel startPanel(final Class panelClass)
        {
                return (Panel)startPage(new ITestPageSource()
                {
                        private static final long serialVersionUID = 1L;

                        public Page getTestPage()
                        {
                                return new DummyPanelPage(new TestPanelSource()
                                {
                                        private static final long 
serialVersionUID = 1L;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to