Bug 139040 - Compile errors against foundation 1.0: org.eclipse.update.configurator
Summary: Compile errors against foundation 1.0: org.eclipse.update.configurator
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 139489
  Show dependency tree
 
Reported: 2006-04-27 14:52 EDT by DJ Houghton CLA
Modified: 2006-05-01 14:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2006-04-27 14:52:54 EDT
n0426

When compiling the org.eclipse.update.configurator project against Foundation 1.0 class libraries we get the following compile errors due to use of JDK 1.4 APIs.


The method decode(String) in the type URLDecoder is not applicable for the arguments (String, String)
org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator
UpdateURLDecoder.java

The method decode(String) in the type URLDecoder is not applicable for the arguments (String, String)
org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator
UpdateURLDecoder.java

The method getChannel() is undefined for the type RandomAccessFile
org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator
Locker_JavaNio.java
Comment 1 DJ Houghton CLA 2006-05-01 14:58:36 EDT
The first 2 errors should be ok. (their access is surrounded by a try/catch (NoSuchMethodError)

The 3rd error is contained within the Locker_JavaNio class which is also protected when running against class libraries where java.nio.* is not available.

That's all the errors so there is no real work to do here. (only verification that the current code path was valid) Patch for bug 139489 can now safely be applied.

Closing this bug as WORKSFORME since there was no work to do.