Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 372543

Summary: javax.servlet 3.0 requires Java 1.6
Product: [RT] RAP Reporter: Austin Riddle <austin.riddle>
Component: RelengAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: blocker    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Austin Riddle CLA 2012-02-24 15:08:49 EST
In the javax.servlet 3.0 bundle: "Bundle-RequiredExecutionEnvironment: JavaSE-1.6"
Comment 1 Ralf Sternberg CLA 2012-02-24 15:23:24 EST
Why is this a problem for us?  RAP has to be compiled with servlet 3.0, but it still works with servlet 2.5.
Comment 2 Ivan Furnadjiev CLA 2012-02-24 15:29:51 EST
Servlet 3.0 is part of our runtime. It's not possible to run an application anymore with JRE 1.5. Change the "Runtime JRE" in RAP Controls Demo launch config to 1.5 and you will see the result.
Comment 3 Ralf Sternberg CLA 2012-02-24 15:34:11 EST
Sure, but is there anything we can do about it?
Comment 4 Austin Riddle CLA 2012-02-24 15:44:08 EST
(In reply to comment #3)
> Sure, but is there anything we can do about it?

Sure, update our minimum JRE to 1.6! :-)
Comment 5 Ivan Furnadjiev CLA 2012-02-25 05:24:43 EST
Just for the record - I opened a bug against platform (bug 372564) that Eclipse Help can't be used with JVM 1.5 due to same reason. See bug 362724 comment#33 and bug 361022. As Jetty 8 has been built against 1.6, probably we have to change our minimum JRE to 1.6 too.
Comment 6 Ralf Sternberg CLA 2012-02-27 05:41:04 EST
I don't see a good reason to change our BREE to 1.6 and I don't think we should do that now.  RWT can be used in different environments and it still works with servlet 2.5.  Why breaking users that want to use RAP with Java 1.5?
Comment 7 Ralf Sternberg CLA 2012-05-21 16:38:29 EDT
I'm closing this bug as WONTFIX. As a platform we should keep our requirements low and RWT still works with 1.5 and can be used stand-alone with javax.servlet 2.5. Currently, there is no reason to raise the required execution environment for RWT.