Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320427 - MirrorSelector uses 1.5 methods
Summary: MirrorSelector uses 1.5 methods
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6.1   Edit
Assignee: Andrew Niefer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 318938
Blocks:
  Show dependency tree
 
Reported: 2010-07-20 13:52 EDT by Andrew Niefer CLA
Modified: 2010-08-18 11:05 EDT (History)
1 user (show)

See Also:
pascal: review+


Attachments
patch (1.19 KB, patch)
2010-07-20 14:01 EDT, Andrew Niefer CLA
no flags Details | Diff

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