[gwt-contrib] two errors in master
Hi, Given that the reuse-SDM cache patch (+ various Java 8 patches, hot damn) landed, I tried our app with master. I'm seeing two issues: 1. A transient/only-happened-once ConcurrentModificationException: https://gist.github.com/stephenh/6e32c3077b67769e46cb 2. Some compile errors related to guava/guava-gwt: https://gist.github.com/stephenh/92f451858eb9828c199f [ERROR] Line 1691: The method and(Predicate, Predicate) is undefined for the type Predicates [ERROR] com.google.common.collect.Maps.ImprovedAbstractMap cannot be resolved to a type Not quite sure what is going on here...I have guava and guava-gwt 18.0 on the classpath and, AFAICT, no other version is shadowing it, e.g. due to be included-non-rebased in another jar (which is surprising for once that the problem isn't related to that :-)). Also, along the old/shadowed version theory, I checked and Predicates.and seems to have been in Guava for awhile. This same app runs fine in gwt-2.7.0 final. Has there been a change recently that might affect this? Anything I can do to help poke around? (Normally I would have submitted a patch (assuming it's semi-trivial) for the first issue, but my GWT environment is on another machine.) Thanks, Stephen -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/20141130162413.4cd9bdfd%40sh10. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: two errors in master
Note that in my previous email, both errors came from running (Super)DevMode, but FWIW the Guava errors also occur in a regular production compile (which I was not anticipating). - Stephen On Sunday, November 30, 2014 4:24:21 PM UTC-6, Stephen Haberman wrote: > > Hi, > > Given that the reuse-SDM cache patch (+ various Java 8 patches, hot > damn) landed, I tried our app with master. I'm seeing two issues: > > 1. A transient/only-happened-once ConcurrentModificationException: > > https://gist.github.com/stephenh/6e32c3077b67769e46cb > > 2. Some compile errors related to guava/guava-gwt: > > https://gist.github.com/stephenh/92f451858eb9828c199f > > [ERROR] Line 1691: The method and(Predicate, > Predicate) is undefined for the type Predicates > > [ERROR] com.google.common.collect.Maps.ImprovedAbstractMap cannot be > resolved to a type > > Not quite sure what is going on here...I have guava and guava-gwt 18.0 > on the classpath and, AFAICT, no other version is shadowing it, e.g. > due to be included-non-rebased in another jar (which is surprising for > once that the problem isn't related to that :-)). > > Also, along the old/shadowed version theory, I checked and > Predicates.and seems to have been in Guava for awhile. > > This same app runs fine in gwt-2.7.0 final. Has there been a change > recently that might affect this? Anything I can do to help poke around? > > (Normally I would have submitted a patch (assuming it's semi-trivial) > for the first issue, but my GWT environment is on another machine.) > > Thanks, > Stephen > > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/bf5374d8-07d5-40f5-b8a0-721df8278537%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: two errors in master
Hm funny. Just wanted to verify the Predicates issue but I can not launch my app anymore for some weird reason. Somehow the java compiler has detected a duplicate class in guava-gwt-18.0.jar: - com.google.common.collect.AbstractIterator - com.google.common.base.AbstractIterator They are clearly not duplicates as they have different packages. Strange. At least I can second your ConcurrentModificationException as I have seen it once as well and then never again. -- J. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/cce548b9-10c7-42c5-a68d-d9f8c880acca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: two errors in master
> Note that in my previous email, both errors came from running > (Super)DevMode, but FWIW the Guava errors also occur in a regular > production compile (which I was not anticipating). > Ah, crap, I had thought checked for this, but I had mistakenly introduced a 2nd variable: source level. In both devmode/production, GWT master works fine with "-sourceLevel 1.7", but fails with those Guava errors with "-sourceLevel 1.8". Maybe I'll go try and build a 1.8 version of Guava and see if the issue is in Guava itself? Not sure. - Stephen -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/8a1f1aff-33c5-4cc8-b7e7-6709740a3335%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.