Hi,
-- I have a requirement where I am creating a set of custom collection classes by deriving from existing ones, such as
public class CustomArrayList<E> extends ArrayList<E>{
public CustomArrayList(){
}
}
Then I use a replace with rule to replace ArrayList with this custom collection
//gwt.xml file contains this configuration <replace-with class="xxxxxxxx.yyyyyyy.CustomArrayList"> <when-type-is class="java.util.ArrayList" /> </replace-with>
This seems to crash the compiler randomly. I would say in about 3 runs it crashes once. Please note the project has a bit clientside codebase spanning atleast 1000 odd classes.
The error shown is
verifying instantiability of
CustomArrayList<java.lang.Object>
[INFO] [WARN] Checking all subtypes of Object which qualify for serialization [ERROR] Exception in thread "main" java.lang.StackOverflowError [ERROR] at com.google.gwt.dev.util.log.AbstractTreeLogger.commitMyBranchEntryInMyParentLogger(AbstractTreeLogger.java:252) [ERROR] at com.google.gwt.dev.util.log.AbstractTreeLogger.commitMyBranchEntryInMyParentLogger(AbstractTreeLogger.java:252) [ERROR] at
I also posted this question on SO -
http://stackoverflow.com/questions/43132656/strange-exception-error-in-gwt-build-when-i-extend-arraylist-or-other-common-c
Any pointers shall be extremely helpful.
thanks,
Debasish
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment