Thanks for the clarification Thomas.

On Tue, Dec 8, 2015 at 1:45 PM, Thomas Broyer <t.bro...@gmail.com> wrote:

>
>
> On Tuesday, December 8, 2015 at 1:54:40 PM UTC+1, Paul Robinson wrote:
>>
>>
>>
>> On Mon, Dec 7, 2015 at 3:06 PM, Colin Alworth <niloc...@gmail.com> wrote:
>>
>>> If I could be permitted to slight restate what Julien just said: We will
>>> make a note of it, as we have done in the past, such as when the default
>>> moved from java6 to java7:
>>> http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0_RC1.
>>>
>>
>> I was questioning what happens for GWT RPC in production at runtime.
>>
>> GWT 2.6 (and also 2.7) did not require Java 7 at runtime for RPC, whereas
>> GWT 2.8 does. Does the suggestion that it might require Java 8 by the time
>> GWT 2.8 is released apply to compile time or run time?
>>
>
> With the current build scripts, yes; and it'll be quite hard to decouple
> the two.
>
>
>> The release notes should separate the requirements for compile time and
>> run time Java environment.
>>
>
> You have no guarantee that your code will run in an earlier Java
> environment when you compile with a later one (i.e. if you cross-compile;
> see
> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javac.html#BHCIJIEG).
> Things used to work earlier, but Java 8 makes it very real.
> See
> http://developer-blog.cloudbees.com/2014/12/beware-siren-target-call.html
> and http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html
> for examples of that.
> If you want to be compatible with Java 6, you should use a Java 6 JDK or
> at least a Java 6 bootclasspath (though as I said, Java 7 is in most cases
> –if not all– compatible with Java 6 if you make sure you don't use
> Java7-specific APIs).
> If you require Java 8 at compile-time, then there are risks that your code
> won't work in a Java 6 or Java 7 environment.
>
> If any statement could me made, it'd be about client-side and server-side;
> or compile-time in the sense of the GWT Compiler, not to be confused with
> JavaC.
>
> Building GWT in a way such that it's compatible at runtime with Java 7 (or
> 6) would at a minimum require building it (JavaC) with Java 7 (or 6) and
> then running tests with Java 8; or running Retrolambda or similar on
> gwt-servlet and requestfactory-* (but then ideally those would have to be
> exercised too). Anything else would require changing the build scripts and
> be much more complicated.
> Because Oracle Java 7 is EOL'd, the chances that this happens are very low
> *unless* someone helps make it happen (or Vaadin, Sencha or RedHat –who
> have paying customers that probably would face that issue– possibly jump
> in).
> (note: this is *me* talking, *not* in the name of the steering committee).
>
> --
> 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/837ee151-4b87-42d5-8b2c-a9a83a157e68%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/837ee151-4b87-42d5-8b2c-a9a83a157e68%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/CAGHNWNJh97QN%3D3yywU8fhh7OdNoZWEer9dZ3K%2B%3Ds76POVLHN8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to