346998 AbstractLifeCycle.isRunning() returns false if state changes from STARTING to STARTED during call

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3251 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Michael Gorovoy 2011-05-25 02:34:01 +00:00
parent b40d6ea5a3
commit 3ddabaf64f
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,7 @@ jetty-7.4.2-SNAPSHOT
+ 346124 ServletContext resources paths not resolved correctly when using UNC shares + 346124 ServletContext resources paths not resolved correctly when using UNC shares
+ 346179 o.e.j.util.ScannerTest fails on MacOS X platform + 346179 o.e.j.util.ScannerTest fails on MacOS X platform
+ 346181 o.e.j.server.StressTest stalls on MacOS X platform + 346181 o.e.j.server.StressTest stalls on MacOS X platform
+ 346998 AbstractLifeCycle.isRunning() returns false if state changes from STARTING to STARTED during call
+ JETTY-1342 Recreate selector if wakeup throws JVM bug + JETTY-1342 Recreate selector if wakeup throws JVM bug
+ 346614 HttpConnection.handle() spins in case of SSL truncation attacks + 346614 HttpConnection.handle() spins in case of SSL truncation attacks
+ 346764 OrderedGroupBinding deployment binding + 346764 OrderedGroupBinding deployment binding

View File

@ -98,7 +98,9 @@ public abstract class AbstractLifeCycle implements LifeCycle
public boolean isRunning() public boolean isRunning()
{ {
return _state == __STARTED || _state == __STARTING; final int state = _state;
return state == __STARTED || state == __STARTING;
} }
public boolean isStarted() public boolean isStarted()