Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333627 - [Test] Upgrade to use Java 5 for org.eclipse.ua.tests
Summary: [Test] Upgrade to use Java 5 for org.eclipse.ua.tests
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 02:54 EST by Snehasish Paul CLA
Modified: 2011-01-07 17:05 EST (History)
4 users (show)

See Also:


Attachments
Patch to change execution environment to J2SE 1.5 (8.58 KB, patch)
2011-01-06 19:25 EST, Chris Goldthorpe CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.