Summary: | Compile errors against Foundation 1.0: org.eclipse.update.core | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | DJ Houghton <dj.houghton> | ||||||||
Component: | Update (deprecated - use Eclipse>Equinox>p2) | Assignee: | Branko Tripkovic <btripkov> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P1 | CC: | dejan, jeffmcaffer | ||||||||
Version: | 3.2 | ||||||||||
Target Milestone: | 3.2 RC3 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 139488 | ||||||||||
Attachments: |
|
Description
DJ Houghton
2006-04-27 15:57:50 EDT
Created attachment 40204 [details]
fix jarprocessor compile problems
This patch fixes the 3 compile problems in the jarprocessor package
Released retro +1. would be good to get someone else... +1 Created attachment 40391 [details]
vm 1.4 Exceptions removed
This patch takes out getCause(), initCause(), getStackTrace(), usage from exception handling in MirrorSite and Utilities.
This is the last patch this bug needs so please look at it soon.
What is the goal of the patch? There are still references to java.nio.* and java.net.* classes that don't exist in foundation. So we still have to compile against the foundation class libraries. Or is that ok and are we just trying to remove some of the references now and will fix the rest later? The calls to the java.nio.* classes/methods are wrapped in a try/catch block to protect against calling them when they aren't there, but the other code is not protected. As for the patch itself it looks good except the new class needs a copyright notice. Created attachment 40424 [details] patch for org.eclipse.update.core Here is a new patch for the project. After Branko's changes to remove the references to URI, there were only 6 references to 1.4 APIs. (java.nio.* code) I looked into this and they were isolated to a single class which was just using FileChannel#transferTo. Based on the comments in bug 137336 comment #19, and based on the fact that if we remove these nio references then we can compile against straight foundation (+xml), I have modified the code to do this. I also added the copyright to the new exception class. +1 - I think we are ready to go here. Committed. |