This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167917 - Deprecate legacy native execution API
Summary: Deprecate legacy native execution API
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 19:53 UTC by Leonid Lenyashin
Modified: 2009-09-01 06:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Lenyashin 2009-06-30 19:53:20 UTC
To avoid any use of old execution API it need to be deprecated in 6.8
Comment 1 Maria Tishkova 2009-07-01 10:01:42 UTC
I have checked legacy NativeExecutor and didn't find any usages of the NativeExecutor, NativeExecution, etc.

So, we can easy to make this code depricated
Comment 2 Maria Tishkova 2009-07-01 10:07:51 UTC
But we still use ExecutionListener interface from cnd.api.execution package...
Comment 3 Thomas Preisler 2009-07-31 19:58:21 UTC
Can you be a bit more specific about exactly which classes you plan to deprecate and what to replace them with?  I see many usages of org.netbeans.modules.cnd.api.execution.NativeExecutor. Also, NativeExecutor is used by several external modules like ATD from Sun Studio.
Comment 4 Leonid Lenyashin 2009-08-03 11:35:34 UTC
I do not know about the classes, but we need to move everybody to new NativeExecution. The existing clients are exactly
the reason why we need to deprecate the interface first. The deprecation warning should alarm all clients and make them
moving to the new API.
Comment 5 Maria Tishkova 2009-08-31 12:14:20 UTC
fixed in http://hg.netbeans.org/cnd-main?cmd=changeset;node=3bf630af4d35
Comment 6 Maria Tishkova 2009-08-31 13:51:49 UTC
API is deprecated, would like to notice that depricated API is still used in DefaultProjectActionHandler.
will file separate IZ 
Comment 7 Quality Engineering 2009-09-01 06:04:32 UTC
Integrated into 'main-golden', will be available in build *200909010201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3bf630af4d35
User: Maria Tishkova <mromashova@netbeans.org>
Log: fixed IZ#167917 Deprecate legace native execution API