Merge remote-tracking branch 'origin/jetty-9.2.x'
Conflicts: VERSION.txt aggregates/jetty-all/pom.xml apache-jsp/pom.xml apache-jstl/pom.xml examples/async-rest/async-rest-jar/pom.xml examples/async-rest/async-rest-webapp/pom.xml examples/async-rest/pom.xml examples/embedded/pom.xml examples/pom.xml jetty-alpn/jetty-alpn-client/pom.xml jetty-alpn/jetty-alpn-server/pom.xml jetty-alpn/pom.xml jetty-annotations/pom.xml jetty-ant/pom.xml jetty-cdi/pom.xml jetty-client/pom.xml jetty-continuation/pom.xml jetty-deploy/pom.xml jetty-distribution/pom.xml jetty-fcgi/fcgi-client/pom.xml jetty-fcgi/fcgi-server/pom.xml jetty-fcgi/pom.xml jetty-http-spi/pom.xml jetty-http/pom.xml jetty-io/pom.xml jetty-jaas/pom.xml jetty-jaspi/pom.xml jetty-jmx/pom.xml jetty-jndi/pom.xml jetty-jsp/pom.xml jetty-jspc-maven-plugin/pom.xml jetty-maven-plugin/pom.xml jetty-monitor/pom.xml jetty-nosql/pom.xml jetty-osgi/jetty-osgi-alpn/pom.xml jetty-osgi/jetty-osgi-boot-jsp/pom.xml jetty-osgi/jetty-osgi-boot-warurl/pom.xml jetty-osgi/jetty-osgi-boot/pom.xml jetty-osgi/jetty-osgi-httpservice/pom.xml jetty-osgi/jetty-osgi-npn/pom.xml jetty-osgi/pom.xml jetty-osgi/test-jetty-osgi-context/pom.xml jetty-osgi/test-jetty-osgi-webapp/pom.xml jetty-osgi/test-jetty-osgi/pom.xml jetty-plus/pom.xml jetty-proxy/pom.xml jetty-quickstart/pom.xml jetty-rewrite/pom.xml jetty-runner/pom.xml jetty-security/pom.xml jetty-server/pom.xml jetty-servlet/pom.xml jetty-servlets/pom.xml jetty-spdy/pom.xml jetty-spdy/spdy-alpn-tests/pom.xml jetty-spdy/spdy-client/pom.xml jetty-spdy/spdy-core/pom.xml jetty-spdy/spdy-example-webapp/pom.xml jetty-spdy/spdy-http-client-transport/pom.xml jetty-spdy/spdy-http-common/pom.xml jetty-spdy/spdy-http-server/pom.xml jetty-spdy/spdy-npn-tests/pom.xml jetty-spdy/spdy-server/pom.xml jetty-spring/pom.xml jetty-start/pom.xml jetty-util-ajax/pom.xml jetty-util/pom.xml jetty-webapp/pom.xml jetty-websocket/javax-websocket-client-impl/pom.xml jetty-websocket/javax-websocket-server-impl/pom.xml jetty-websocket/pom.xml jetty-websocket/websocket-api/pom.xml jetty-websocket/websocket-client/pom.xml jetty-websocket/websocket-common/pom.xml jetty-websocket/websocket-server/pom.xml jetty-websocket/websocket-servlet/pom.xml jetty-xml/pom.xml pom.xml tests/pom.xml tests/test-continuation/pom.xml tests/test-integration/pom.xml tests/test-loginservice/pom.xml tests/test-quickstart/pom.xml tests/test-sessions/pom.xml tests/test-sessions/test-hash-sessions/pom.xml tests/test-sessions/test-jdbc-sessions/pom.xml tests/test-sessions/test-mongodb-sessions/pom.xml tests/test-sessions/test-sessions-common/pom.xml tests/test-webapps/pom.xml tests/test-webapps/test-jaas-webapp/pom.xml tests/test-webapps/test-jetty-webapp/pom.xml tests/test-webapps/test-jndi-webapp/pom.xml tests/test-webapps/test-mock-resources/pom.xml tests/test-webapps/test-proxy-webapp/pom.xml tests/test-webapps/test-servlet-spec/pom.xml tests/test-webapps/test-servlet-spec/test-container-initializer/pom.xml tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml tests/test-webapps/test-servlet-spec/test-web-fragment/pom.xml tests/test-webapps/test-webapp-rfc2616/pom.xml
This commit is contained in:
commit
50b6391be1
10
VERSION.txt
10
VERSION.txt
|
@ -1,6 +1,6 @@
|
|||
jetty-9.3.0-SNAPSHOT
|
||||
|
||||
jetty-9.2.4.v20141031 - 31 October 2014
|
||||
jetty-9.2.4.v20141103 - 03 November 2014
|
||||
+ 376365 "jetty.sh start" returns 0 on failure
|
||||
+ 396569 'bin/jetty.sh stop' reports 'OK' even when jetty was not running
|
||||
+ 396572 Starting jetty from cygwin is not working properly
|
||||
|
@ -77,9 +77,13 @@ jetty-9.2.4.v20141031 - 31 October 2014
|
|||
+ 448841 Clarified selectors==0 javadoc 448840 Clarified ServerConnector
|
||||
javadoc 448839 Fixed javadoc typo in ServerConnector
|
||||
+ 449001 Remove start.d directory from JETTY_HOME
|
||||
+ 449003 WARNING: Cannot enable requested module [protonego-impl]: not a valid
|
||||
module name
|
||||
+ 449038 WebSocketUpgradeFilter must support async.
|
||||
+ 449175 Removed extra space in NCSA log
|
||||
+ 449291 create-files downloads without license
|
||||
+ 449372 Make jvmArgs of jetty:run-forked configurable from command line
|
||||
<<<<<<< HEAD
|
||||
|
||||
jetty-9.3.0.M0 - 24 September 2014
|
||||
+ 437395 Start / Properties in template sections should be default applied for
|
||||
|
@ -116,6 +120,10 @@ jetty-9.3.0.M0 - 24 September 2014
|
|||
+ 444771 JSR356 / EndPointConfig.userProperties are not unique per endpoint
|
||||
upgrade
|
||||
+ 444863 ProxyServlet does not filter headers listed by the Connection header.
|
||||
||||||| merged common ancestors
|
||||
=======
|
||||
+ 449603 OutputStreamContentProvider hangs when host is not available.
|
||||
>>>>>>> origin/jetty-9.2.x
|
||||
|
||||
jetty-9.2.3.v20140905 - 05 September 2014
|
||||
+ 347110 renamed class transformer methods
|
||||
|
|
|
@ -289,10 +289,9 @@ public class Main
|
|||
return "";
|
||||
}
|
||||
|
||||
public void invokeMain(StartArgs args) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException, IOException
|
||||
public void invokeMain(ClassLoader classloader, StartArgs args) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException, IOException
|
||||
{
|
||||
Class<?> invoked_class = null;
|
||||
ClassLoader classloader = args.getClasspath().getClassLoader();
|
||||
String mainclass = args.getMainClassname();
|
||||
|
||||
try
|
||||
|
@ -317,8 +316,7 @@ public class Main
|
|||
{ argArray.getClass() };
|
||||
|
||||
Method main = invoked_class.getDeclaredMethod("main",method_param_types);
|
||||
Object[] method_params = new Object[]
|
||||
{ argArray };
|
||||
Object[] method_params = new Object[] { argArray };
|
||||
StartLog.endStartLog();
|
||||
main.invoke(null,method_params);
|
||||
}
|
||||
|
@ -810,14 +808,13 @@ public class Main
|
|||
System.err.println("WARNING: System properties and/or JVM args set. Consider using --dry-run or --exec");
|
||||
}
|
||||
|
||||
// Set current context class loader to what is selected.
|
||||
ClassLoader cl = classpath.getClassLoader();
|
||||
Thread.currentThread().setContextClassLoader(cl);
|
||||
|
||||
// Invoke the Main Class
|
||||
try
|
||||
{
|
||||
invokeMain(args);
|
||||
invokeMain(cl, args);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -99,6 +99,7 @@ public class ArrayTrie<V> extends AbstractTrie<V>
|
|||
this(128);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public ArrayTrie(int capacityInNodes)
|
||||
{
|
||||
super(true);
|
||||
|
@ -151,8 +152,14 @@ public class ArrayTrie<V> extends AbstractTrie<V>
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (t>=_key.length)
|
||||
{
|
||||
_rows=(char)_key.length;
|
||||
return false;
|
||||
}
|
||||
|
||||
_key[t]=v==null?null:s;
|
||||
V old=(V)_value[t];
|
||||
_value[t] = v;
|
||||
return true;
|
||||
}
|
||||
|
@ -440,6 +447,6 @@ public class ArrayTrie<V> extends AbstractTrie<V>
|
|||
@Override
|
||||
public boolean isFull()
|
||||
{
|
||||
return _rows+1==_key.length;
|
||||
return _rows+1>=_key.length;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,6 +65,24 @@ public class TrieTest
|
|||
trie.put("",9);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOverflow() throws Exception
|
||||
{
|
||||
int i=0;
|
||||
while (true)
|
||||
{
|
||||
if (++i>10000)
|
||||
break; // must not be fixed size
|
||||
if (!trie.put("prefix" + i, i))
|
||||
{
|
||||
Assert.assertTrue(trie.isFull());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Assert.assertTrue(!trie.isFull() || !trie.put("overflow", 0));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testKeySet() throws Exception
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue