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 27656 - Deprecate Process.createProcess(DO) and Executor.execute(DO) methods (Was: Stop using getPackageName in execution)
Summary: Deprecate Process.createProcess(DO) and Executor.execute(DO) methods (Was: St...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: API
Depends on:
Blocks: 27646
  Show dependency tree
 
Reported: 2002-09-27 16:29 UTC by David Strupl
Modified: 2008-12-22 21:51 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2002-09-27 16:29:41 UTC
Deprecation of org.openide.filesystems.FileObject
- String getPackageName(char) affects : 
   org.openide.execution.ProcessExecutor.Process
createProcess(DataObject)
   org.openide.execution.Executor.ExecutorTask
execute(DataObject)
Comment 1 Peter Zavadsky 2002-09-30 12:32:45 UTC
Yarda, what to do with those methods.

1) Either to get them working (via introducing som cookie like
Arguments cookie, e.g. ClassNameCookie, to be able to get the class
name from the data object.
2) Or just to deprecate and announce it as not working?

.. other way?
Comment 2 Peter Zavadsky 2002-10-02 08:46:49 UTC
There seems to be slight problem. ExecInfo is already deprecated. 
So after deprecating these methods, there wouldn't left any
recommended one.
Comment 3 Jaroslav Tulach 2002-10-02 09:02:17 UTC
I suggest to log a warning whenever a ExecInfo object is created. It
is deprecated, java specific and whoever instantiates it is suspicious.
Comment 4 Jesse Glick 2004-01-27 23:17:38 UTC
s/deprecate/remove/g, probably.

For 3.6 ExecInfo no longer prints a stack trace because debuggercore
was using it and was not able to stop without significant rewriting.
Comment 5 Jesse Glick 2004-03-16 16:59:38 UTC
Whole API is deprecated in trunk.
Comment 6 Marian Mirilovic 2005-12-20 15:46:08 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.