https://issues.apache.org/bugzilla/show_bug.cgi?id=50836
Summary: LifecycleState#isAvailable() to be more restrictive
Product: Tomcat 7
Version: 7.0.8
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
I think some of the values returned by LifecycleState#isAvailable() are wrong.
1. I am certain that MUST_DESTROY should return false, because it is a state
that is later than stopped.
2. I think that STOPPING_PREP should return false, because we can get there
from the FAILED state.
3. I think that STARTING should return false, because it is too early to return
true there.
As a result, the following is the complete list of states are to return true in
#isAvailable():
STARTED, MUST_STOP
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]