Recompiled using HEAD dcea13b1d223513418c90c34324ac6929059de3c, with no 
JsInterop and optimization 1.
function $Xj(a, b) {
    var c, d, e, f;
    JDl(b, 'response required');
    JDl(null .V0(), 'response.uuid required');
    a.g = null .V0();
    c = false;
    for (f = null .V0().V0(); f.Md(); ) {
        d = Irb(f.Nd());
        c = c | _Xj(a, d)
    }
    for (e = null .V0().V0(); e.Md(); ) {
        d = Frb(e.Nd(), 6163);
        aYj(a, d)
    }
    c && B8l(a.d, a.c)
}

net.ltgt.gwt:gwt-maven-plugin configuration
[DEBUG] Configuring mojo 
'net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:compile' with basic 
configurator --> 
[DEBUG] (f) compilerArgs = [-gen, ???/target/gwt/gen] 
[DEBUG] (f) deploy = ???/target/gwt/deploy 
[DEBUG] (f) draftCompile = false 
[DEBUG] (f) extra = ???/target/gwt/extra 
[DEBUG] (f) failOnError = true 
[DEBUG] (f) forceCompilation = false 
[DEBUG] (f) moduleName = com.app.DraftBundle 
[DEBUG] (f) optimize = 1 
[DEBUG] (f) project = MavenProject: ???/pom.xml 
[DEBUG] (f) skipCompilation = false 
[DEBUG] (f) sourceLevel = 1.8 
[DEBUG] (f) staleMillis = 0 
[DEBUG] (f) style = OBFUSCATED 
[DEBUG] (f) webappDirectory = ???/target/app 
[DEBUG] (f) workDir = ???/target/gwt/work

more context (removed long packages_names)
// Java Code (this lambda) -----v
tracker.add(heads.subscribe(ClientTelemetryStore.this::processResponse));
// Javascript Output
o9c(2061, 1, {}, M5j);
_.$u = function L5j(a) { $Xj(this.a, a) };
var oQc = Fol(o1m, 
'ClientTelemetryStore/ClientTelemetryStore$__$Action1$__$instance$ClientTelemetryStore$processResponse__LTelemetrySubscription$SubscriptionResponse_2V$Type'
, 2061);

And... trying to add this extra context, one more failure come up. This one 
has appeared after updating to the HEAD dcea13b from 7129828 (sorry, I said 
to roberto that I was using 94e4597, but I was really using *7129828 *7 
August 2015 at 13:08:36 GMT+2).

The new nullified method; although this time is an undefined. So repeating; 
this error came up just updating from 7129828 to dcea13b.
// Java Code                                             (this lambda) 
-------V
this.store = Suppliers.memoize(() -> from(resources.get()).uniqueIndex(
ResourceDescriptor::getType));
// Javasript Output
o9c(1639, 1, pcm, mRe);
_.Xd = function lRe(a) { return undefined };
var x0b = Fol(Yum, 
'ResourceDescriptor/ResourceRegistry$__$Function$__$static$ResourceDescriptor$getType__LClass_2$Type'
, 1639);

On Sunday, October 25, 2015 at 3:42:10 AM UTC+1, Roberto Lublinerman wrote:
>
> The only thing I can think of is that when the class is created for the 
> lambda in gwtastbuilder, the super class or implemented interfaces are not 
> set up correctly.
>
> I'll check later to see if that is there case.
> On Oct 24, 2015 19:07, "'Ray Cromwell' via GWT Contributors" <
> [email protected] <javascript:>> wrote:
>
>> Are you using @JsFunction/JsInterop? Unless the implementation has 
>> changed recently, Lambda's are supported in GWT by essentially synthesizing 
>> static inner classes, and so if static inner classes work, but lambda's 
>> don't, it's really weird. The optimization stages no nothing of lambdas and 
>> only see Java classes. The exception is @JsFunction.
>>
>>
>> On Sat, Oct 24, 2015 at 2:37 PM, Ignacio Baca Moreno-Torres <
>> [email protected] <javascript:>> wrote:
>>
>>> This was from 94e45975a06ece1b8d65541aaabf833f9d8c7b07 (6 October 2015 
>>> at 04:29:19 GMT+2), I'll try tomorrow with HEAD, but looking the 
>>> commits looks improbable that the problem has been solved.
>>>
>>> On Sat, Oct 24, 2015 at 10:30 PM 'Roberto Lublinerman' via GWT 
>>> Contributors <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> Are you using a recent snapshot?
>>>> On Oct 24, 2015 04:40, "Ignacio Baca Moreno-Torres" <[email protected] 
>>>> <javascript:>> wrote:
>>>>
>>>>> There is a bug which optimizations nullify variables which might not 
>>>>> be null. I'm trying to reproduce the error outside our app but I can't, 
>>>>> I'll continue trying, but for now I going to describe the problem.
>>>>>
>>>>> return service.get().getBootstrap().bootstrap().doOnNext(data -> {
>>>>>     Account account = data.getAccount();
>>>>>     if (account == null) auth.get().resetSessionData(false);
>>>>>     else auth.get().setSessionData(account, data.getKeychain());
>>>>>     theme.get().setCustomization(data.getCustomization());
>>>>>     analytics.get().init(data.getAnalyticsUserAccount() + ":" + 
>>>>> data.getAnalyticsDomainName());
>>>>>     OsmQueryResolver.configureServer(data.getReverseGeocodingUrl());
>>>>>     final String user = account == null ? "anonymous" : 
>>>>> account.getEmail();
>>>>>     log.fine("Bootstrap data loaded successfully (user=" + user + ")");
>>>>> });
>>>>>
>>>>> Produces the next js code.
>>>>> function fie(a) {
>>>>>     var b;
>>>>>     null .b1();
>>>>>     bdf(Tub(a.b.Ee(), 388), false);
>>>>>     Ujf((b = Tub(a.k.Ee(), 937),
>>>>>     null .b1(),
>>>>>     b));
>>>>>     Tub(a.a.Ee(), 6122).VI(null .b1() + ':' + null .b1());
>>>>>     Ivg(null .b1());
>>>>>     U_l(cie, 'Bootstrap data loaded successfully (user=anonymous)')
>>>>> }
>>>>> BUT! if compile without optimizations (ex. using draft compile) or if 
>>>>> anonymous class is used instead of a lambda, the output js is ok. Next 
>>>>> block contains my current working code.
>>>>>
>>>>> //noinspection Convert2Lambda GWT optimize incompatible
>>>>> return service.get().getBootstrap().bootstrap().doOnNext(new 
>>>>> Action1<EntryPointData>() {
>>>>>     @Override public void call(EntryPointData data) {
>>>>>
>>>>>
>>>>> The bootstrap method is a call of reactive restygwt service using this 
>>>>> proyect https://github.com/ibaca/restygwt-rxadapter. I.e. bootstrap 
>>>>> return an Observable which end up making a XMLHttpRequest (a lot of layer 
>>>>> in between), and data is a EntryPoint interface, and the implementation 
>>>>> received is an overlay.
>>>>>
>>>>> I know that with this info is almost impossible to discover the 
>>>>> problem, but I put here to see if someone else have similar problem, and 
>>>>> maybe some gwt compiler developer just seeing that may see where is the 
>>>>> problem (improbable). If a get reproduced in a sample project I write 
>>>>> back 
>>>>> here.
>>>>>
>>>>> -- 
>>>>> 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 
>>>>> [email protected] 
>>>>> <javascript:>.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/89de2084-b91d-415e-8f68-2bdb3159f702%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/89de2084-b91d-415e-8f68-2bdb3159f702%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> -- 
>>>> 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 
>>>> [email protected] 
>>>> <javascript:>.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7gn0j4oyMbkCkYGWHG2H4zgVwALGGZqQUTb%3DBjEZ4DbSiQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7gn0j4oyMbkCkYGWHG2H4zgVwALGGZqQUTb%3DBjEZ4DbSiQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> 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 [email protected] 
>>> <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABVWDC7nOgq10%3D8ospVDQUgw22ACDXy%2B0L6g%2BY9meoA4wG9GVw%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABVWDC7nOgq10%3D8ospVDQUgw22ACDXy%2B0L6g%2BY9meoA4wG9GVw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> 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 [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAPVRV7cPuCTyuDQxphqwfng9YFbfhA8waEW2ozskrXrjdhg0FA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAPVRV7cPuCTyuDQxphqwfng9YFbfhA8waEW2ozskrXrjdhg0FA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/58eb74db-a0db-421b-a251-0ea4e37a759f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to