It seems that GenTool goes into infinite loop again
Version: gwt 2.5.1-rc1
Code:
public interface EntityBaseProxy extends EntityProxy { ... }
@ExtraTypes(AuthorProxy.class)
public interface UserProxy extends EntityBaseProxy { ... }
public interface AuthorProxy extends UserProxy { ... }
Result:
Exception in thread "main" java.lang.StackOverflowError
at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:990)
at java.util.Collections$UnmodifiableList.<init>(Collections.java:1145)
at
java.util.Collections$UnmodifiableRandomAccessList.<init>(Collections.java:1222)
at java.util.Collections.unmodifiableList(Collections.java:1131)
at
com.google.web.bindery.requestfactory.gwt.rebind.model.EntityProxyModel.getExtraTypes(EntityProxyModel.java:110)
at
com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visitExtraTypes(RequestFactoryGenerator.java:123)
at
com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visit(RequestFactoryGenerator.java:95)
at
com.google.web.bindery.requestfactory.gwt.rebind.model.EntityProxyModel.accept(EntityProxyModel.java:101)
at
com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visitExtraTypes(RequestFactoryGenerator.java:125)
at
com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator$AllReachableTypesVisitor.visit(RequestFactoryGenerator.java:95)
*...*
On Thursday, September 8, 2011 7:54:30 PM UTC+2, Brad Leupen wrote:
>
> Hey Thomas,
>
> Thanks for the reply. I think I actually tried that at one point on
> the RC and ran into a stack overflow. Regardless, the design still
> wont really work for me because the base Component proxy object really
> has no idea what it's subclasses are or its subclasses' dependent
> ValueProxies.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.