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

Bug 333627

Summary: [Test] Upgrade to use Java 5 for org.eclipse.ua.tests
Product: [Eclipse Project] Platform Reporter: Snehasish Paul <snehpaul>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: cgold, ChrisAustin, john.arthorne, snehpaul
Version: 3.7   
Target Milestone: 3.7 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to change execution environment to J2SE 1.5 none

Description Snehasish Paul CLA 2011-01-06 02:54:08 EST
Build Identifier: 3.7

We were planning to write junit test for the help services returning XML using XML Schema. XML Schema requires javax.xml.validation package, which is available since JRE 1.5.
These junit tests will be added to org.eclipse.ua.tests component, so for XML Schema to work we need to use Compiler compliance level 1.5.

Reproducible: Always
Comment 1 Chris Goldthorpe CLA 2011-01-06 12:30:32 EST
Copying John Arthorne - am I correct in thinking that there is no approval ( PMC or otherwise ) needed to upgrade org.eclipse.ua.tests to use the Java 5 execution environment?
Comment 2 John Arthorne CLA 2011-01-06 17:02:25 EST
(In reply to comment #1)
> Copying John Arthorne - am I correct in thinking that there is no approval (
> PMC or otherwise ) needed to upgrade org.eclipse.ua.tests to use the Java 5
> execution environment?

Correct. We have only been running automated tests on Java 5 and above for some time now.
Comment 3 Chris Goldthorpe CLA 2011-01-06 19:25:30 EST
Created attachment 186236 [details]
Patch to change execution environment to J2SE 1.5
Comment 4 Chris Goldthorpe CLA 2011-01-06 19:37:16 EST
I have committed "Patch to change execution environment to J2SE 1.5". There are a large number of new warnings which I will look into cleaning up before closing out the bug.
Comment 5 Chris Goldthorpe CLA 2011-01-07 17:05:46 EST
I've reduced the number of warnings by applying quick fixes to infer generic arguments. Resolving ads Fixed.