Nevermind, memory had to be increased.
On Thursday, June 11, 2015 at 8:35:30 AM UTC-7, Brandon Donnelson wrote:
>
> Would GWT 2.8, Java 1.8 (-sourceLevel 1.8) be able to compile this?
>
> @JsType(prototype="Window")
>
> public interface Window {
>
> static Window window() {
>
> // returns $wnd;
>
> return Util.getWindow();
>
> }
>
>
> void alert(String msg);
>
> }
>
>
> Window.window().alert("Does this work?");
>
>
>
> Maybe it's premature to ask this, but the compiler chokes on this with an
> out of memory error.
>
>
>
>
> For Reference:
>
> public class Util {
>
> public static native Window getWindow() /*-{
>
> return $wnd;
>
> }-*/;
>
> }
>
--
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/99a84822-d845-4bb0-8675-8176b4aa4d33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.