Bug 3970 - Proc.java sets subclass states (LinuxPtraceProcState)
Summary: Proc.java sets subclass states (LinuxPtraceProcState)
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1595
  Show dependency treegraph
 
Reported: 2007-02-05 15:48 UTC by Phil Muldoon
Modified: 2007-02-05 15:53 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Muldoon 2007-02-05 15:48:18 UTC
As Proc is an abstance class, these states should be set in the subclass. In
this case, LinuxPtraceProc.
Comment 1 Phil Muldoon 2007-02-05 15:53:15 UTC
2007-02-02  Phil Muldoon  <pmuldoon@redhat.com>

	* Proc.java (Proc): Remove setting LinuxPtraceState states.
	Use getInitialState() to find initial states from sub-classes of
	Proc.
	(getInitialState): New. Abstract.
	* LinuxPtraceProc.java (getInitialState): New. Set initial state.
	* DummyProc.java (getInitialState): Ditto.