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

Bug 318938

Summary: MirrorSelector uses 1.5 methods
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.4.2   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 320427    

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