J2CL doesn't require @JsType; JsType serves same purpose as in GWT.

The likely steps required to make GWT library work with J2CL
(future-proofing) already described in multiple talks earlier but briefly;
no JSNI/JSO, no GWT.create, no generators and no com.google.gwt.*
references. This applies recursively to the library's deps as well.

On Wed, May 31, 2017 at 1:29 PM, Anders Forsell <[email protected]>
wrote:

> Hello,
>
> From the small examples of J2CL examples I have seen, the Java classes
> have been annotated with @JsType.
> I understand that all Java code will be transpiled to ES6 JS classes with
> J2CL but can you refer/use other Java classes/libraries without adding
> specific annotations?
>
> More concretely, if I have a GWT/Java library will I be able to use that
> library with J2CL without modifying the source of it?
>
> Thanks,
>
> Anders
>
> --
> 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/3193454b-b4c7-
> 428b-8a19-3e730601868f%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/3193454b-b4c7-428b-8a19-3e730601868f%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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA1H7mpxJB-u%2B6BNyD_NEjVZArrOak7PX_E_kkzb-70j8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to