Current snapshots failing with JDK 7

137 views
Skip to first unread message

Thomas Broyer

unread,
Jul 2, 2016, 7:07:50 PM7/2/16
to GWT Contributors
Hi all,

Current snapshots fail with JDK 7:
[INFO] [INFO]    Tracing compile failure path for type 'java.util.Comparator'
[INFO] [INFO]       [ERROR] Errors in 'jar:file:/home/travis/build/tbroyer/gwt-maven-plugin/target/it-repo/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/gwt-user-2.8.0-SNAPSHOT.jar!/com/google/gwt/emul/java/util/Comparator.java'
[INFO] [INFO]          [ERROR] Line 1: The type java.lang.invoke.SerializedLambda cannot be resolved. It is indirectly referenced from required .class files


Is this because the snaphots are built with JDK 8 (see http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html for instance) or that we actually no longer support JDK 7 (without noticing it) ?

Manuel Carrasco Moñino

unread,
Jul 3, 2016, 7:45:23 AM7/3/16
to GWT Contributors
I can configure the existing jenkins build (gwt-java7) using jdk7 to upload the snapshot instead of the current one (gwt) which uses jdk8. I guess it should fix the problem

--
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/bb56d241-c198-4bb6-9612-c5bd3ccfd6cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thomas Broyer

unread,
Jul 3, 2016, 7:54:31 AM7/3/16
to GWT Contributors


On Sunday, July 3, 2016 at 1:45:23 PM UTC+2, Manuel Carrasco Moñino wrote:
I can configure the existing jenkins build (gwt-java7) using jdk7 to upload the snapshot instead of the current one (gwt) which uses jdk8. I guess it should fix the problem

Only "problem" is that it could possibly upload  snapshots whose Java 8 tests are actually failing, because they wouldn't be run in the jdk7 build…
But yes, we can at least try that.
 

El dom., 3 jul. 2016 a las 1:07, Thomas Broyer (<t.br...@gmail.com>) escribió:
Hi all,

Current snapshots fail with JDK 7:
[INFO] [INFO]    Tracing compile failure path for type 'java.util.Comparator'
[INFO] [INFO]       [ERROR] Errors in 'jar:file:/home/travis/build/tbroyer/gwt-maven-plugin/target/it-repo/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/gwt-user-2.8.0-SNAPSHOT.jar!/com/google/gwt/emul/java/util/Comparator.java'
[INFO] [INFO]          [ERROR] Line 1: The type java.lang.invoke.SerializedLambda cannot be resolved. It is indirectly referenced from required .class files


Is this because the snaphots are built with JDK 8 (see http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html for instance) or that we actually no longer support JDK 7 (without noticing it) ?

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

Jens

unread,
Jul 3, 2016, 8:30:52 AM7/3/16
to GWT Contributors
Hm maybe something like


is needed for SerializedLambda as well?

Thomas Broyer

unread,
Jul 19, 2016, 11:54:08 AM7/19/16
to GWT Contributors
Revisiting this while smoke-testing pre-RC1; looks like you were right: we need to stub SerializedLambda too. 
Reply all
Reply to author
Forward
0 new messages