344513 Attempting to set ConfigurationClasses in jetty-web.xml causes NPE
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3056 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
4e2d8d9c18
commit
69ee5b641d
|
@ -7,7 +7,8 @@ jetty-7.4.1-SNAPSHOT
|
|||
+ 343482 refactored overlay deployer layout to use WAR layout
|
||||
+ 343923 flush timeouts applied to outer loop
|
||||
+ 344059 Websockets draft-07
|
||||
+ 344067 - Add support for OSGi fragment bundles to add static resources to web-bundles
|
||||
+ 344067 Add support for OSGi fragment bundles to add static resources to web-bundles
|
||||
+ 344513 Attempting to set ConfigurationClasses in jetty-web.xml causes NPE
|
||||
+ JETTY-954 WebAppContext eats any start exceptions instead of stopping the server load
|
||||
|
||||
jetty-7.4.0.v20110414
|
||||
|
|
|
@ -813,7 +813,7 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
*/
|
||||
public void setConfigurationClasses(String[] configurations)
|
||||
{
|
||||
if (isStarted())
|
||||
if (isRunning())
|
||||
throw new IllegalStateException();
|
||||
_configurationClasses = configurations==null?null:(String[])configurations.clone();
|
||||
_configurationClassesSet = true;
|
||||
|
@ -826,7 +826,7 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
|||
*/
|
||||
public void setConfigurations(Configuration[] configurations)
|
||||
{
|
||||
if (isStarted())
|
||||
if (isRunning())
|
||||
throw new IllegalStateException();
|
||||
_configurations = configurations==null?null:(Configuration[])configurations.clone();
|
||||
_configurationsSet = true;
|
||||
|
|
Loading…
Reference in New Issue