Re: GWT 2.8.0 is not compatible with java6

2016-11-04 Thread Juan Pablo Gardella
Hi Marko,

I'm using GWT RPC, so it's required gwt-servlet in the WAR file. As it's
deployed in an old Jboss server with java6, by using retrolambda, it's
possible to use gwt-servlet 2.8 in the server.

Juan

On Fri, 4 Nov 2016 at 07:37 Thomas Broyer  wrote:

> With the exception of a few corner-cases, Java 6 source code is also Java
> 8 compliant; so the GWT Compiler should be able to process it even though
> it assumes Java 8 source code.
>
> But the question was about JVM requirements: gwt-servlet.jar is compiled
> as Java 7 bytecode in 2.8, so it requires a Java 7 JVM on your server; and
> similarly gwt-dev and gwt-user require a Java 7 JVM on your developers' and
> CI machines (and if you use GIN, because GWT will "internally" compile your
> sources to Java 8 bytecode and GIN will try to actually run that code,
> you'll need a Java 8 JVM)
> Retrolambda could possibly solve the issue of gwt-servlet at least,
> possibly also gwt-dev/gwt-user at compile-time.
>
>
> On Friday, November 4, 2016 at 11:25:46 AM UTC+1, Marko wrote:
>
> How can you use retrolambda for that? Isn't retrolambda transforming the
> compiled >>bytecode<>source code<< and not
> bytecode...
>
> Marko
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 is not compatible with java6

2016-11-04 Thread Thomas Broyer
With the exception of a few corner-cases, Java 6 source code is also Java 8 
compliant; so the GWT Compiler should be able to process it even though it 
assumes Java 8 source code.

But the question was about JVM requirements: gwt-servlet.jar is compiled as 
Java 7 bytecode in 2.8, so it requires a Java 7 JVM on your server; and 
similarly gwt-dev and gwt-user require a Java 7 JVM on your developers' and 
CI machines (and if you use GIN, because GWT will "internally" compile your 
sources to Java 8 bytecode and GIN will try to actually run that code, 
you'll need a Java 8 JVM)
Retrolambda could possibly solve the issue of gwt-servlet at least, 
possibly also gwt-dev/gwt-user at compile-time.

On Friday, November 4, 2016 at 11:25:46 AM UTC+1, Marko wrote:
>
> How can you use retrolambda for that? Isn't retrolambda transforming the 
> compiled >>bytecode<>source code<< and not 
> bytecode...
>
> Marko
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 is not compatible with java6

2016-11-04 Thread Marko
How can you use retrolambda for that? Isn't retrolambda transforming the 
compiled >>bytecode<>source code<< and not 
bytecode...

Marko

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 is not compatible with java6

2016-11-03 Thread Juan Pablo Gardella
Hi all,

A workaround to use gwt-2.8.0 in Java 6 is using retrololamda
. Here how I configured it (using
maven), by adding a profile (here the gist

):


production


production





com.google.gwt
gwt-servlet
provided




${basedir}/src/env/production



org.apache.maven.plugins
maven-dependency-plugin
2.10


process-classes

unpack-dependencies


gwt-servlet
${project.build.directory}/classes






net.orfjackal.retrolambda
retrolambda-maven-plugin
2.3.0


process-classes

process-main
process-test




true
1.6





On Wed, 2 Nov 2016 at 10:53 Thomas Broyer  wrote:

>
>
> On Wednesday, November 2, 2016 at 2:38:38 PM UTC+1, Juan Pablo Gardella
> wrote:
>
> Hi all,
>
> At release notes is not mentioned that now it will support only java7.
>
>
> Good catch!
>
>
> I found tbroyer comment here:
> http://stackoverflow.com/questions/28879590/jdk-and-jre-minimal-versions-required-for-gwt-compiling-and-running
>
> Can be updated the release notes with that?
> http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0
>
> Let me know, I can create the pull request.
>
>
> Yes please, go ahead.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 is not compatible with java6

2016-11-02 Thread Thomas Broyer


On Wednesday, November 2, 2016 at 2:38:38 PM UTC+1, Juan Pablo Gardella 
wrote:
>
> Hi all,
>
> At release notes is not mentioned that now it will support only java7.
>

Good catch!
 

> I found tbroyer comment here:
> http://stackoverflow.com/questions/28879590/jdk-and-jre-minimal-versions-required-for-gwt-compiling-and-running
>
> Can be updated the release notes with that?
> http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0 
>
> Let me know, I can create the pull request.
>

Yes please, go ahead. 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.0 is not compatible with java6

2016-11-02 Thread Juan Pablo Gardella
Hi all,

At release notes is not mentioned that now it will support only java7. I
found tbroyer comment here:
http://stackoverflow.com/questions/28879590/jdk-and-jre-minimal-versions-required-for-gwt-compiling-and-running

Can be updated the release notes with that?
http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0

Let me know, I can create the pull request.

Thanks,
Juan

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.