On Fri, Feb 11, 2011 at 3:21 PM, Carl-Eric Menzel <[email protected]>wrote:
> On Fri, 11 Feb 2011 11:51:12 +0100 > Carl-Eric Menzel <[email protected]> wrote: > > > On Fri, 11 Feb 2011 11:06:09 +0100 > > Martijn Dashorst <[email protected]> wrote: > > > > > The anon-inner class still keeps a reference to the previous page. > > > > Yes, I know, that's how anonymous classes work. I don't understand why > > that is now a problem though. It has worked well so far. > > Especially since this would basically make any kind of anonymous class > in a Page impossible. What about anonymous instances of, for example > AbstractReadOnlyModel that are created in a page and passed on to its > components? And quite possibly also passed on to other pages from > there. Is this all going to be forbidden now or am I missing something? > There is no difference with 1.4 in this respect. 1.5 behaves the same way as 1.4. > > Carl-Eric > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
