Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [RAP 3.1] Java 1.8 constraint on org.eclipse.rap.rwt.testfixture
[RAP 3.1] Java 1.8 constraint on org.eclipse.rap.rwt.testfixture [message #1730049] Thu, 21 April 2016 07:39 Go to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi,
we are seeing a non-blocking error in console about a Java 1.8 constraint on plugin org.eclipse.rap.rwt.testfixture.

Bundle-RequiredExecutionEnvironment: JavaSE-1.8

Ok, it's in RAP 3.1.0, which is shipping for Neon, which indeed has a constraint on Java 8.
We just wonder if this is intended or not, since other RAP/RWT bundles are Java 1.7 based.
Thank you for any clarification.
Re: [RAP 3.1] Java 1.8 constraint on org.eclipse.rap.rwt.testfixture [message #1730057 is a reply to message #1730049] Thu, 21 April 2016 08:02 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Vincenzo,
we try to keep the RAP runtime bundles Java 7 compatible. The only
exception is the "org.eclipse.rap.jface.databinding" as required
platform bundles now need Java 8. We decided to change the execution
environment of demo and test bundles to Java 8 even the current code is
still Java 7 compatible. This will allow as to use the new features in
Java 8 like functional interfaces and lambda expressions in our test
code, which will improve the test code readability.
Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: [RAP 3.1] Java 1.8 constraint on org.eclipse.rap.rwt.testfixture [message #1730064 is a reply to message #1730057] Thu, 21 April 2016 08:48 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi Ivan,
thank you.
So, to make it clear: for a production environment tied to Java 7 and need for all RAP features (including JFace Databinding) it is safe to stay with RAP versions 3.0.x and not RAP 3.1, right?

Thank you
Vincenzo
Re: [RAP 3.1] Java 1.8 constraint on org.eclipse.rap.rwt.testfixture [message #1730090 is a reply to message #1730064] Thu, 21 April 2016 10:51 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
yes.. if you are using JFace Databinding and your execution environment
is Java 7 you have to stay with RAP 3.0.x. See this bug for the list of
related platform bundles that require Java 8:
490900: Use Java 8 for org.eclipse.rap.jface.databinding
https://bugs.eclipse.org/bugs/show_bug.cgi?id=490900
You could use RAP 3.1 with Java 7 too, but without databinding.
Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:How to dispose GC on Image
Next Topic:FileDialog doesn't work behind proxy
Goto Forum:
  


Current Time: Sun Sep 22 01:22:09 GMT 2024

Powered by FUDForum. Page generated in 0.03606 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top