For Jetty 9.2.x, supporting the backport of the JDK ALPN APIs
of JDK 8u252 would have required a number of backports from
Jetty 9.4.x.
Rather than doing all that work for an EOL Jetty branch, we
instead excluded the modules/tests that required ALPN, so
that the Jetty 9.2.x branch can still be built with 8u252
or later, but it will lack some of the artifacts.
Users needing those artifacts are encouraged to move to
Jetty 9.4.x or later.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Use updated setuid with clearSupplementalGroups
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* remove version from setuid.mod
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Explicitly removing the idled out thread from the stack,
rather than calling tryExecute().
Side benefit is that we are now removing idled out threads
that are least recently used.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Issue #4550 XmlConfiguration argument matching
Improve argument matching by:
+ rejecting obviously non matches (with allowance for unboxing)
+ sorting methods so that derived arguments are tried before more generic (eg String before Object)
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4550 XmlConfiguration argument matching
Improve argument matching by:
+ can unbox from any Number to any Number
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4550
Do not check the assignability of the arguments. Instead rely on the order of the methods.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4550
unbox test no longer required
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4550
Simplified test
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4550
Cleanup comparator
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4550
Cleanup comparator
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Fixes#4577 IPAccessHandler in context
Fixes and tests #4577 IPAccessHandler in context by using target instead of pathInfo for path matching.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Tests #4577 IPAccessHandler target
Updates from review.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
* Issue #4577 IpAccessHandler NPE
Match on full URI path rather than target.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Changed the way the test directory was created: it was based on a
millisecond timestamp, but the tests run fast and it was possible that
two tests were creating the directory within the same millisecond.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Fixes#4575 Stopping Reserved Thread by removing the `isRunning` check
from `reservedWait`. The main run loop is also simplified to improve
`isRunning` checks before the thread is put on the stack. Javadoc
improved to explain each step.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Fixed#4550 named parameters with a moderate refactor.
The named parameter matching was duplicated, only considering number of args and not applied to call arguments. This refactor puts all the behaviour in common methods and reorders the arguments to match parameters.
Signed-off-by: Greg Wilkins <gregw@webtide.com>