In a project, when I do the following: SomeClass.someMethod( this::handleResult);
I get : com.google.gwt.event.shared.UmbrellaException: Exception caught: (ReferenceError) : xFf_g$ is not defined But when I replace the above line with: SomeClass.someMethod( r-> handleResult(r) ); That works fine. It appears that the use of 'this' is causing some issues due to javascript's crappiness. Other method references work fine, I only encounter this when I use this::methodName -- 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/9d93f50d-3d49-4826-88b7-7f86fc1de3c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
