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

Bug 320427

Summary: MirrorSelector uses 1.5 methods
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: p2Assignee: Andrew Niefer <aniefer>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: 3.4.2Flags: pascal: review+
Target Milestone: 3.6.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 318938    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description Andrew Niefer CLA 2010-07-20 13:52:15 EDT
+++ This bug was initially created as a clone of Bug #318938 +++

MirrorSelector uses java.util.Timer(String, boolean) which is a 1.5 method.

The manifest says this bundle should work in a 1.4 EE, running under a 1.4 vm results in:
java.lang.NoSuchMethodError: java/util/Timer.<init>(Ljava/lang/String;Z)V
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorSelector.<clinit>(MirrorSelector.java:40)
Comment 1 Andrew Niefer CLA 2010-07-20 14:01:20 EDT
Created attachment 174772 [details]
patch
Comment 2 Pascal Rapicault CLA 2010-08-18 11:05:18 EDT
Patch released in 3.6.x.