GWT 2.8.0-beta1 available for testing

5,352 views
Skip to first unread message

Daniel Kurka

unread,
Dec 4, 2015, 4:51:13 AM12/4/15
to GWT Contributors
Hi all,

we just finished testing for GWT 2.8.0-beta1. You can either download it from goo.gl/62SeR5 or from maven central.

Release notes can be found here.

Please start testing and let us know about any issues you encounter by either discussion here or filing bugs on github.

-Daniel

luca.masini

unread,
Dec 4, 2015, 7:01:39 AM12/4/15
to GWT Contributors
Hi, I need also the gwt-maven-plugin 2.8.0-beta, the old 2.7.0 put on the classpath the old gwt-user and my projects break.

Thank you.

Thomas Broyer

unread,
Dec 4, 2015, 8:56:59 AM12/4/15
to GWT Contributors


On Friday, December 4, 2015 at 1:01:39 PM UTC+1, luca.masini wrote:
Hi, I need also the gwt-maven-plugin 2.8.0-beta,

Mojo's Plugin for GWT is an independent project, and indeed there's a 2.8.0-SNAPSHOT version (hasn't been updated for months though, some arguments might break, e.g. jsInteropMode).
 
the old 2.7.0 put on the classpath the old gwt-user and my projects break.

(make sure you declare https://oss.sonatype.org/content/repositories/google-snapshots in both repositories and pluginRepositories).

Of course, there's also the alternative to use a plugin that's not bound to a specific version of GWT: https://tbroyer.github.io/gwt-maven-plugin/ (shameless plug)
BTW, we may switch the GWT samples to that plugin in the near future…

Paul Robinson

unread,
Dec 4, 2015, 4:09:12 PM12/4/15
to google-web-tool...@googlegroups.com
Is it intentional/necessary that gwt-servlet.jar is compiled for Java 7 and not Java 6?

--
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/2daed4d2-41df-44e9-b00e-25d1cec0e8c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jens

unread,
Dec 4, 2015, 6:41:33 PM12/4/15
to GWT Contributors

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.

-- J.

Juan Pablo Gardella

unread,
Dec 4, 2015, 6:47:36 PM12/4/15
to google-web-tool...@googlegroups.com
It will be very useful to make gwt-servlet compatible with java 6

--
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.

Thomas Broyer

unread,
Dec 4, 2015, 7:44:52 PM12/4/15
to GWT Contributors
Given the intricacies of code dependencies, this is not going to be easy, and unless someone for whom it really matters jumps in to contribute a patch (possibly with help from maintainers) I'm afraid it's not going to be addressed.
Maybe it'd be easier to run Retrolambda or something similar on the "extracted" JAR to produce a Java6-compatible JAR; question is whether this should be done in GWT or in the applications that will run in a Java 6 JRE.


On Saturday, December 5, 2015 at 12:47:36 AM UTC+1, juan_pablo_gardella wrote:
It will be very useful to make gwt-servlet compatible with java 6
On 4 December 2015 at 17:41, Jens <jens.ne...@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.

-- 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+unsubscribe@googlegroups.com.

Goktug Gokdogan

unread,
Dec 4, 2015, 8:48:59 PM12/4/15
to google-web-toolkit-contributors
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-co...@googlegroups.com.

István Horváth

unread,
Dec 7, 2015, 8:28:18 AM12/7/15
to GWT Contributors
it would nice to have if you update the release notes page with exact dates on all of the version on both the links and the linked details too.

Julien Dramaix

unread,
Dec 7, 2015, 9:47:50 AM12/7/15
to GWT Contributors
Feel free to fill a patch for that :)

--
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.

Colin Alworth

unread,
Dec 7, 2015, 10:06:54 AM12/7/15
to GWT Contributors
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. That being said, we of course welcome any community assistance in maintaining GWT, and documentation is an excellent place to get started and make significant contributions without going through the code review process that GWT requires.

Java6 has been EOL'd for almost three years, though technically Java7 has also reached that stage (last April). As long as we hang on to support for Java6, we would be unable to use new classes/methods/features of Java7 (and Java8), excepting the use of something like retrolambda like Thomas suggested. We would likewise welcome any testing in that area after performing an automated change to the gwt-servlet.jar. If you find problems or discover that it works perfectly, and if you share the build scripts you used to achieve it, that would make it easier to include these changes into the official release.

István Horváth

unread,
Dec 7, 2015, 10:40:22 AM12/7/15
to GWT Contributors
good, where can i find exact dates about release dates (full date, like year month and day) from the beginning?

István Horváth

unread,
Dec 7, 2015, 10:42:26 AM12/7/15
to GWT Contributors
i not sure about this link has the correct dates: https://en.wikipedia.org/wiki/Google_Web_Toolkit
also it lacks of 2.5.0 and 2.5.1

Colin Alworth

unread,
Dec 7, 2015, 11:04:17 AM12/7/15
to GWT Contributors
Sorry, I hadn't understood that your primary interest was in release dates, but though it was more for compatibility with upstream or related tools on release. That said, I think that the list of downloads at https://code.google.com/p/google-web-toolkit/downloads/list may prove useful for historical release dates. 

--
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.

Thomas Broyer

unread,
Dec 7, 2015, 11:05:47 AM12/7/15
to GWT Contributors


On Monday, December 7, 2015 at 4:40:22 PM UTC+1, István Horváth wrote:
good, where can i find exact dates about release dates (full date, like year month and day) from the beginning?

Starting with 2.1.0 (5 years ago), releases have "official" Maven artifacts, so you can find their dates here: https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.gwt%22%20AND%20a%3A%22gwt%22

István Horváth

unread,
Dec 7, 2015, 12:15:23 PM12/7/15
to GWT Contributors
ok, i have PR for this, i hope it fits Google's needs.

2015. december 7., hétfő 15:47:50 UTC+1 időpontban Julien Dramaix a következőt írta:
Feel free to fill a patch for that :)

On Mon, Dec 7, 2015 at 2:28 PM István Horváth <arm...@gmail.com> wrote:
it would nice to have if you update the release notes page with exact dates on all of the version on both the links and the linked details too.



2015. december 4., péntek 10:51:13 UTC+1 időpontban Daniel Kurka a következőt írta:
Hi all,

we just finished testing for GWT 2.8.0-beta1. You can either download it from goo.gl/62SeR5 or from maven central.

Release notes can be found here.

Please start testing and let us know about any issues you encounter by either discussion here or filing bugs on github.

-Daniel

--
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+unsubscribe@googlegroups.com.

Juan Pablo Gardella

unread,
Dec 7, 2015, 9:58:34 PM12/7/15
to google-web-tool...@googlegroups.com
Hi contributors,

I've created a google doc with full GWT 2.8.0 release notes. It's divided by features/components and links for each commit. I didn't put reverted commits, and fixes over features like JSInterop. Everyone can put comments. It could be added later at GWT official documentation once gwt 2.8.0 is completed.

Juan

On 7 December 2015 at 11:15, István Horváth <arm...@gmail.com> wrote:
ok, i have PR for this, i hope it fits Google's needs.

2015. december 7., hétfő 15:47:50 UTC+1 időpontban Julien Dramaix a következőt írta:
Feel free to fill a patch for that :)

On Mon, Dec 7, 2015 at 2:28 PM István Horváth <arm...@gmail.com> wrote:
it would nice to have if you update the release notes page with exact dates on all of the version on both the links and the linked details too.



2015. december 4., péntek 10:51:13 UTC+1 időpontban Daniel Kurka a következőt írta:
Hi all,

we just finished testing for GWT 2.8.0-beta1. You can either download it from goo.gl/62SeR5 or from maven central.

Release notes can be found here.

Please start testing and let us know about any issues you encounter by either discussion here or filing bugs on github.

-Daniel

--
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.

--
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/5ac770a2-db1c-4676-b167-8632289decae%40googlegroups.com.

Julien Dramaix

unread,
Dec 8, 2015, 4:43:49 AM12/8/15
to google-web-tool...@googlegroups.com
This is really nice!

Could you create a pull request on the existing Release note and add the missing items ? 

Paul Robinson

unread,
Dec 8, 2015, 7:54:40 AM12/8/15
to google-web-tool...@googlegroups.com
On Mon, Dec 7, 2015 at 3:06 PM, Colin Alworth <nilo...@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?

The release notes should separate the requirements for compile time and run time Java environment.

Thomas Broyer

unread,
Dec 8, 2015, 8:45:18 AM12/8/15
to GWT Contributors


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 <nilo...@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.
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).

Paul Robinson

unread,
Dec 8, 2015, 10:21:06 AM12/8/15
to google-web-tool...@googlegroups.com
Thanks for the clarification Thomas.

--
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.

Pedro Lamarão

unread,
Dec 8, 2015, 12:40:01 PM12/8/15
to GWT Contributors
Em sexta-feira, 4 de dezembro de 2015 07:51:13 UTC-2, Daniel Kurka escreveu:
 
Please start testing and let us know about any issues you encounter by either discussion here or filing bugs on github.


Is it ready for use with Google Plugin for Eclipse?
I added it as a new SDK and retargeted my projects -- in the build path, in the compiler path for annotations.
A build with the GWT compilers ends with:

[ERROR] Unexpected internal compiler error
java.lang.NoSuchMethodError: com.google.gwt.util.tools.shared.Md5Utils.getMd5Digest(Ljava/lang/String;)[B
    at com.google.gwt.dev.util.CompilerVersion.getHash(CompilerVersion.java:42)
    at com.google.gwt.dev.javac.PersistentUnitCacheDir.<clinit>(PersistentUnitCacheDir.java:53)
    at com.google.gwt.dev.javac.PersistentUnitCache$BackgroundService.<init>(PersistentUnitCache.java:275)
    at com.google.gwt.dev.javac.PersistentUnitCache.<init>(PersistentUnitCache.java:104)
    at com.google.gwt.dev.javac.UnitCacheSingleton.get(UnitCacheSingleton.java:98)
    at com.google.gwt.dev.Compiler.getOrCreateUnitCache(Compiler.java:89)
    at com.google.gwt.dev.Compiler.run(Compiler.java:183)
    at com.google.gwt.dev.Compiler.run(Compiler.java:156)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:117)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
    at com.google.gwt.dev.Compiler.main(Compiler.java:124)

P.

Brandon Donnelson

unread,
Dec 8, 2015, 12:42:35 PM12/8/15
to google-web-tool...@googlegroups.com
I think you may have two libraries on the classpath. Regarding Eclipse, it is ready. 

Find the download that will work with mars and GWT 2.8. 

--
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.

For more options, visit https://groups.google.com/d/optout.



--

Brandon Donnelson / GXT Support Engineer


Brandon Donnelson

unread,
Dec 8, 2015, 12:43:22 PM12/8/15
to google-web-tool...@googlegroups.com
Oops, a library is missing from the classpath. :) Try adding gwt-dev. 

Pedro Lamarão

unread,
Dec 8, 2015, 1:38:18 PM12/8/15
to GWT Contributors
Changing the SDK version in the Google configuration tab had a strange effect in the build path of my projects.
Manually resetting the build path solved my issue.
Thanks!
P.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
--

Brandon Donnelson / GXT Support Engineer


Goktug Gokdogan

unread,
Dec 8, 2015, 10:20:33 PM12/8/15
to google-web-toolkit-contributors
Hi Brandon. Little bit of topic but I think we may want to make it less convenient to use old devmode as it is deprecated. You may want to remove the options for dev mode in GPE (if you haven't already). For example, the default menu option for running unit test is to run it in dev mode.


On Tue, Dec 8, 2015 at 9:42 AM, Brandon Donnelson <brandon....@sencha.com> wrote:

stuckagain

unread,
Dec 9, 2015, 11:22:28 AM12/9/15
to GWT Contributors
Great news!

I tried to recompile with Java8 and GWT 2.8 beta1 a project I am working on. But I see these 2 errors:

guava-gwt 18.0 does not seem to compile:
[INFO]    Tracing compile failure path for type 'com.google.common.collect.GwtPlatform'
[INFO]       [ERROR] Errors in 'jar:file:/C:/Users/dnouls/.m2/repository/com/google/guava/guava-gwt/18.0/guava-gwt-18.0.jar!/com/goo
gle/common/collect/super/com/google/common/collect/GwtPlatform.java'
[INFO]          [ERROR] Line 38: The method createFrom(T[], int) is undefined for the type Array

GQuery 1.4.3 also has a problem:
Tracing compile failure path for type 'com.google.gwt.query.client.GQuery'
   [ERROR] Errors in 'jar:file:/C:/Users/dnouls/.m2/repository/com/googlecode/gwtquery/gwtquery/1.4.3/gwtquery-1.4.3.jar!/
/gwt/query/client/GQuery.java'
      [ERROR] Line 226: The method $(Element) is ambiguous for the type GQuery


On Friday, December 4, 2015 at 10:51:13 AM UTC+1, Daniel Kurka wrote:
Hi all,

we just finished testing for GWT 2.8.0-beta1. You can either download it from goo.gl/62SeR5 or from maven central.

Release notes can be found here.

Please start testing and let us know about any issues you encounter by either discussion here or filing bugs on github.

-Daniel

Thomas Broyer

unread,
Dec 9, 2015, 11:43:06 AM12/9/15
to GWT Contributors


On Wednesday, December 9, 2015 at 5:22:28 PM UTC+1, stuckagain wrote:
Great news!

I tried to recompile with Java8 and GWT 2.8 beta1 a project I am working on. But I see these 2 errors:

guava-gwt 18.0 does not seem to compile:
[INFO]    Tracing compile failure path for type 'com.google.common.collect.GwtPlatform'
[INFO]       [ERROR] Errors in 'jar:file:/C:/Users/dnouls/.m2/repository/com/google/guava/guava-gwt/18.0/guava-gwt-18.0.jar!/com/goo
gle/common/collect/super/com/google/common/collect/GwtPlatform.java'
[INFO]          [ERROR] Line 38: The method createFrom(T[], int) is undefined for the type Array


TL;DR: use Guava 19.0-SNAPSHOT.

Lars

unread,
Dec 9, 2015, 3:23:27 PM12/9/15
to GWT Contributors

Thomas Broyer

unread,
Dec 9, 2015, 4:58:50 PM12/9/15
to GWT Contributors
So, we talked about it during our Steering Committee meeting today and, hoping I'm transcribing correctly:
  • GWT has moved to Java 7 and uses Java 7-isms, so Java 6 compatibility is gone (but I believe we announced it at some point already, that 2.7 would be the last version to support Java 6)
  • the current patches in review adding Java 8-only emulations (using defender methods in interfaces for instance) are only about super-sources, so shouldn't change the current requirement (i.e. they don't mean GWT would require Java 8)
  • as long as GWT can be built with Java 7, GWT 2.8 will be compatible with Java 7. We'll have to discuss the matter again if there's a change requiring Java 8 (such as CustomFieldSerializers for new Java 8 classes), so it's not totally excluded that GWT 2.8 might require Java 8 (and as I said above, if that's the case, it would mean gwt-servlet.jar would require Java 8 too unless one uses Retrolambda or similar; if that ever happens, –and this is my own comment, not in the name of the Steering Committee– contributions to apply Retrolambda during the build would be welcome, to produce a com.google.gwt:gwt-servlet:2.8.0:java7 in addition to the "normal" com.google.gwt:gwt-servlet:2.8.0 requiring Java 8).
TL;DR: Java 6 compat is gone, GWT still compatible with Java 7 and 2.8 will likely be, though might require Java 8.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

David

unread,
Dec 10, 2015, 3:43:59 AM12/10/15
to google-web-tool...@googlegroups.com
I don't seem to have access to 19.0 snapshot, but 19.0 is out. However it does not work with gwt 2.8 beta1. So I am stuck on this since I will need to wait for 20.0 which will be released after gwt 2.8 is released.

--
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/09a1cab0-b31c-4c5e-a8c5-5a0877a831c6%40googlegroups.com.

Guillaume Rebesche

unread,
Dec 11, 2015, 6:52:28 PM12/11/15
to GWT Contributors
Hi,
I have updated to 2.8.0-beta1 our big application without major issues (have to use guava 19.0-SNAPSHOT and gwt-maven-plugin 2.8.0-SNAPSHOT for now).
Everything looks good except the SDM refresh. If I do a small change, stop SDM and recompile, everything is good. But I do the same small change and refresh I have some errors (big trace in attached file) related to Gin (I'm using the latest (yet old) version of Gin).
Doesn't anyone have any idea why a full recompile work but not a refresh?

cheers,
Guillaume
SDM refresh issue
Reply all
Reply to author
Forward
0 new messages