Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318938 - MirrorSelector uses 1.5 methods
Summary: MirrorSelector uses 1.5 methods
Status: RESOLVED 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.7 M1   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 320427
  Show dependency tree
 
Reported: 2010-07-05 16:20 EDT by Andrew Niefer CLA
Modified: 2010-07-20 13:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2010-07-05 16:20:45 EDT
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-13 15:52:12 EDT
This should have been reported with API tools, see bug 319781
Comment 2 Andrew Niefer CLA 2010-07-20 13:52:41 EDT
fixed in head