Hello all,
I had a recursive setter get created while switching a field’s name.
I ended up with:
public void setSearchTerm(String searchTerm) {
setSearchTerm(searchTerm);
}
And the gwtCompile just stops and sits there… (I presume after a very very very very long time it would error out?)
Is this a known bug? Feature?
-Mike
so… I should set my optimize to level 8 or less as a work around?
This also impacts PRETTY mode?
--
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-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/0938f2a8-7abc-4e48-8d0a-2c90e08c9e95n%40googlegroups.com.
It does. And I have. Is there that much difference between optimize level 8 versus optimize level 9?
It took me forever to find the bug though.
I’m doing a whole lot of rewrites related to converting from restygwt to domino-jackson for client side JSON serialize and deserialize. (Migrating to all Jakarta with a final goal of migrating the back-end to Spring Boot).
It would have been helpful it had errored out with (hopefully) an indication of which file was causing the issue instead of costing me most of the day being perplexed as to why it was just sitting there. If it wasn’t for the IDE flagging the method as infinite recursed when I browsed that file looking for anything, I would still be stuck.
It’s being a bit of a pain, as restygwt + gwt-jackson seems to support jackson annotations better than domino-jackson at this point in time and you can’t have gwt-jackson at all on the classpath along with domino-jackson if using anything that inherits ObjectMapper…
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/fd7d23f9-ee58-4d2e-839d-fc064a903b17n%40googlegroups.com.