On Fri, Dec 4, 2015 at 3:41 PM, Jens <jens.nehlme...@gmail.com> wrote:

>
> Is it intentional/necessary that gwt-servlet.jar is compiled for Java 7
>> and not Java 6?
>>
>
> gwt-servlet.jar isn't really compiled, its just assembled. The build
> script compiles gwt-dev and gwt-user using Java 7 as minimum and then
> gwt-servlet.jar is created by pulling in a subset of already compiled
> classes of gwt-user and gwt-dev. That means gwt-servlet.jar also requires
> Java 7. So generally its intentional.
>
> Also as soon as we land Java 8 API emulations GWT will be compiled using
> Java 8 which would mean gwt-servlet.jar also requires Java 8. Its probably
> not possible to keep gwt-servlet.jar compatible to Java 7 because as soon
> as we add java.time emulation to GWT we probably also add GWT-RPC custom
> field serializers for Java 8 classes like LocalDate, etc.
>

As you mention, it looks like the only reason to compile with Java8 is the
custom field serializers. When that happens, those extra custom field
serializers could be supplied as a separate jar.


> -- 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/afbc2b40-5a48-4e6d-960e-e59d46a81936%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/afbc2b40-5a48-4e6d-960e-e59d46a81936%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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA1aWD4n%2BLhoMAat7HQ7hjABEFcOguF0czK%2BBs3X0L24cQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to