@JsType with isNative = false (the default) are probably treated as normal classes now if you do not use -generateJsInteropExports as compiler parameter. I guess it works again if you use the compiler parameter?-- 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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/3f124c9c-f38b-413b-91c9-ab1c0c741e24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Now consider GWT libraries that use non native JsTypes to export their API to JavaScript so they can be used by an Angular UI or similar. If it would be the default then lots of apps would miss optimization opportunities just because they use the libraries and might not use any pure js at all.
This is especially harmful as the flag is an all or nothing flag. So you have to explicitly decide to export to JS. in the future you should also be able to define a regex which tells the compiler which classes to export. This will be helpful if you depend on multiple such libraries but your app only needs to export one if them as well.
-- 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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/c901940b-5b21-4717-b9d7-58a471eaa357%40googlegroups.com.
Jens is spot on. We want people to explicitly use -generateJsInteropExports if they rely on exporting since it has a hit on code size.
--
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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/6ea6ad27-695d-4eec-8e0c-c2a49be9a422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks guys. A note on this should certainly make it into the public JsInterop doc, somewhere close to the definition of the JsType/JsMethod/JsProperty contract.
On Mon, Aug 22, 2016 at 8:04 AM Jens <jens.ne...@gmail.com> wrote:
Jens is spot on. We want people to explicitly use -generateJsInteropExports if they rely on exporting since it has a hit on code size.--Maybe the mention of the parameter should be added to the JsType JavaDoc for a final 2.8 release.-- 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+unsu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/6ea6ad27-695d-4eec-8e0c-c2a49be9a422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----BORIS BRUDNOYWeb Application Developer, Java/GWT Enthusiast (LinkedIn)
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+unsu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAD%3DgKQ0_A3T9i-6nn9rL5bFBC9SatO8rbYiY%2BWQ82arAQwmTsg%40mail.gmail.com.