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

Bug 358676

Summary: [Test] Remove unnecessary reflection code in org.eclipse.ua.tests
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.7   
Target Milestone: 3.8 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Chris Goldthorpe CLA 2011-09-22 18:38:19 EDT
org.eclipse.ua.tests.help.util.LoadServletUtil.setTimeout(URLConnection, int) uses reflection to invoke two methods which were introduced in Java 5. Since this bundle now has a minimum execution environment of J2SE-1.5 this can be replaced with calls to the methods directly.
Comment 1 Chris Goldthorpe CLA 2011-09-22 18:44:10 EDT
Fixed in master, the commit message is:
Bug 358676 - [Test] Remove unnecessary reflection code in org.eclipse.ua.tests
Comment 2 Chris Goldthorpe CLA 2011-09-22 19:04:54 EDT
There were two more similar cases which have been committed with the message

Bug 358676 ( Part 2 of fix ) - [Test] Remove unnecessary reflection code in org.eclipse.ua.tests