Bug 61148 - deprecate JDOM API
Summary: deprecate JDOM API
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-05 18:40 EDT by Jim des Rivieres CLA
Modified: 2004-05-20 09:23 EDT (History)
0 users

See Also:


Attachments
patch for o.e.jdt.core (68.71 KB, patch)
2004-05-05 19:23 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch for o.e.jdt.core.tests (10.28 KB, patch)
2004-05-05 19:23 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to patch for o.e.jdt.core.tests.model to remove depecations (3.79 KB, patch)
2004-05-05 19:24 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to o.e.jdt.core to deprecate DOMException (906 bytes, patch)
2004-05-18 18:31 EDT, Jim des Rivieres CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2004-05-05 18:40:51 EDT
The original JDOM API (package org.eclipse.jdt.core.jdom) is obsolete. This 
API was replaced in 2.0 by the finter-grained DOM/AST API 
(org.eclipse.jdt.core.dom), but it was not until 3.0 that DOM/AST API was 
complete (was lacking a rewrite capability).

The JDOM API is still used internally, but it's a matter of time before it is 
converted to use DOM/AST.

Since we don't particularly want new clients to start using JDOM, it should be 
deprecated.
Comment 1 Jim des Rivieres CLA 2004-05-05 19:23:12 EDT
Created attachment 10318 [details]
patch for o.e.jdt.core

Patch adds deprecation notices to JDOM API, and reworks implementation to
remove deprecations warnings.
Comment 2 Jim des Rivieres CLA 2004-05-05 19:23:50 EDT
Created attachment 10319 [details]
patch for o.e.jdt.core.tests
Comment 3 Jim des Rivieres CLA 2004-05-05 19:24:51 EDT
Created attachment 10320 [details]
patch to patch for o.e.jdt.core.tests.model to remove depecations
Comment 4 Jim des Rivieres CLA 2004-05-05 19:27:29 EDT
Philippe,  Please review and release for M9.
Comment 5 Jerome Lanneluc CLA 2004-05-10 05:01:55 EDT
Thanks Jim. I've released your changes.
Comment 6 Olivier Thomann CLA 2004-05-18 18:12:27 EDT
org.eclipse.jdt.core.jdom.DOMException has not been deprecated.
Jerome, is this intended? If not, we have to reopen this PR.
Comment 7 Jim des Rivieres CLA 2004-05-18 18:29:12 EDT
This was unintentional. DOMException should be deprecated like everything else 
in the package. The deprecation notice should be added for M9.
Comment 8 Jim des Rivieres CLA 2004-05-18 18:31:50 EDT
Created attachment 10812 [details]
patch to o.e.jdt.core to deprecate DOMException
Comment 9 Jerome Lanneluc CLA 2004-05-19 07:05:56 EDT
Thanks Olivier and Jim. I've released the DOMException patch.
Comment 10 Frederic Fusier CLA 2004-05-20 09:23:19 EDT
Verified for 3.0 M9 with build I200405200010.