Bug 132749 - need to adopt ICU4J APIs
Summary: need to adopt ICU4J APIs
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 127876
  Show dependency tree
 
Reported: 2006-03-21 16:42 EST by Karice McIntyre CLA
Modified: 2006-03-22 12:17 EST (History)
1 user (show)

See Also:


Attachments
archive of patches for affected JDT UI projects (5.18 KB, application/zip)
2006-03-21 16:43 EST, Karice McIntyre CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karice McIntyre CLA 2006-03-21 16:42:30 EST
To complete the plan item to deliver ICU4J support in the Eclipse (see bug
127876) code must be migrated to use the com.ibm.icu.* classes in place of the
default java implementation.  This component is affected.  I will attach
patches with the changes required (only import changes at this point).  This
needs to be done for M6.
Comment 1 Karice McIntyre CLA 2006-03-21 16:43:37 EST
Created attachment 36699 [details]
archive of patches for affected JDT UI projects

There is a patch file for each affected project, named accordingly.
Comment 2 Tobias Widmer CLA 2006-03-22 05:28:03 EST
Released patch into HEAD
Comment 3 Markus Keller CLA 2006-03-22 11:37:05 EST
Karice, why do we have to specify the plugin dependency as
"Import-Package: com.ibm.icu.text"?

Is there something special about that plugin that prevents the usual "Require-Bundle:"?
Comment 4 Karice McIntyre CLA 2006-03-22 11:52:01 EST
Yes there is something special.  Basically, there is a replacement plugin available (com.ibm.icu.base) that you can drop in place of ICU4J if the size of your application is more important to you than adopting ICU4J function (mainly RCP apps).  So using require-bundle will break people who use the replacement plugin.  The replacement plugin contains a subset of the ICU4J APIS and the package/class structure is the same, but instead the implementation simply calls the default Java implementation rather than the ICU implementation.
Comment 5 Markus Keller CLA 2006-03-22 12:17:48 EST
I see, thanks for the explanation.