olivier lamy
b261c11920
use a variable for maven tool and use same directory as now local repo is relative
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 17:48:08 +10:00
olivier lamy
06b04e9cda
enable cache for pmd plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:53:29 +10:00
olivier lamy
43e030b568
using the same for all invocation will work better...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:50:30 +10:00
olivier lamy
c910b0e6d5
test new local repository
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:40:05 +10:00
olivier lamy
791d4c7d2c
Revert "use an other local repository to try having install plugin stuck..."
...
This reverts commit ef17962f51
.
2018-04-20 16:38:52 +10:00
olivier lamy
ef17962f51
use an other local repository to try having install plugin stuck...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-20 16:32:14 +10:00
Greg Wilkins
67ebdea11b
Directly set warnAt to minThreads #2464
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-20 08:12:34 +10:00
Greg Wilkins
11854f502c
Directly set warnAt to minThreads #2464
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-20 08:10:20 +10:00
Olivier Lamy
9c1cd15e6f
Merge pull request #2462 from olamy/no_sources_jar_for_test_modules
...
[WIP] no need of sources jar for test jars will save some io...
2018-04-19 18:16:41 +10:00
Olivier Lamy
c7e78ae896
update logging versions #2461 ( #2465 )
...
* update logging versions #2461
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 15:45:11 +10:00
Greg Wilkins
6d0ff04dab
Directly set warnAt to minThreads #2464
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2018-04-19 15:38:22 +10:00
olivier lamy
d84cac1be7
no need of sources jar for test jars will save some io...
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 10:27:18 +10:00
olivier lamy
237d6280c3
upgrade pmd plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
9dd72454da
upgrade jar plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
c8bb36330a
upgrade dependency plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
d68e9ea23c
upgrade compiler plugin
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
olivier lamy
01c08133de
upgrade install plugin 2.5.2
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-19 09:42:01 +10:00
Simone Bordet
50c44f2297
Fixes #2454 - Avoid sending empty DATA frame in case of HTTP/2 trailers.
...
Updated the logic to avoid sending an empty data frame
when only sending the trailers in HttpTransportOverHTTP2.send().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-18 14:19:58 +02:00
Jan Bartel
0e88849a68
Issue #2164 Make osgi.serviceloader mostly optional ( #2408 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-04-18 14:48:53 +10:00
Simone Bordet
fac93fa7f8
Fixes #2451 - Review ReservedThreadExecutor.getAvailable().
...
Fixed by having getAvailable() returning _stack.size().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-17 16:30:06 +02:00
Olivier Lamy
f36eba4577
class.newInstance is deprecated #2435 ( #2437 )
...
* Class.newInstance() is deprecated in Java 9+ #2435
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-17 19:07:20 +10:00
Simone Bordet
882deb00b4
Merge pull request #2426 from lachlan-roberts/jetty-9.4.x-1555-AuthenticationProtocolHandler
...
Issue #1555 WWW-Authenticate realm header ordering
2018-04-17 10:26:53 +02:00
Lachlan Roberts
497b87eb2e
Fixed bug with regex and style cleanup.
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-17 17:34:16 +10:00
Jan Bartel
516f6d21c5
Issue #110 Avoid classloading for checking roles in jaas ( #2381 )
...
* Issue #110 Avoid classloading for checking roles in jaas
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-04-17 16:20:13 +10:00
Olivier Lamy
ce1317f204
add it test for #2430 which works... ( #2442 )
...
* add it test for 2430 which works...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
* fix missing header
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-16 10:22:56 +10:00
olivier lamy
5f2306c9cd
add a profile to run all tests even those disable with some jdks
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-14 13:03:50 +10:00
Olivier Lamy
977fb521a0
add jdk11 in the jdk list ( #2438 )
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-13 22:25:41 +10:00
olivier lamy
ffa270b6c8
disable failing tests for jdk11
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-13 21:49:02 +10:00
Simone Bordet
6224e75862
Issue #2366 - Review HTTP/2 interleaving. ( #2379 )
...
* Fixes #2366 - Review HTTP/2 interleaving.
Now using a fairer algorithm that performs multiple generation passes
but without generating all frames for the current entries - it stops
after N passes over all the entries when the number of bytes to
write is large enough.
Using HttpConfiguration.outputBufferSize as the writeThreshold on
the server and a default 32 KiB on the client to stop the generation
after a pass over all the entries.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-13 11:50:17 +02:00
olivier lamy
cffc2b0c12
use last maven version
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-13 12:48:12 +10:00
Simone Bordet
7629a8f98f
Fixes #2425 - Review BufferUtil.isMappedBuffer(). ( #2432 )
...
Now explicitly using a _mappedBuffer field in
CachedContentFactory.CachedHttpContent.
Deprecated BufferUtil.isMappedBuffer().
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-12 10:36:57 +02:00
Lachlan Roberts
29dccf668c
Changes after review 1
...
Regex will now look for comma and spaces before realm. Preventing issues accepting params with realm as a suffix like blahrealm.
Stops adding double commas when extracting realm param.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-12 10:33:47 +10:00
Simone Bordet
b09760ca9a
Code cleanups.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-11 15:05:58 +02:00
Simone Bordet
c14f7efc95
Fixes spurious failures of FlowControlStrategyTest.testServerFlowControlOneBigWrite().
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-10 19:01:15 +02:00
Simone Bordet
b26817767b
Fixed test that was not working with JDK 11.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-10 11:11:31 +02:00
Lachlan Roberts
bc4ad7c61a
Changed regex for AUTHENTICATE_PATTERN so that the realm doesn't need to appear as first parameter. #1555
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-04-10 14:47:00 +10:00
Joakim Erdfelt
e5b84856d2
Merge pull request #2418 from olamy/feature/jdk10_profile_jenkinsfile
...
add jdk10 in jenkinsfile and jdk10 maven profiles
2018-04-09 11:39:11 -05:00
Simone Bordet
06454f6409
Fixes #2420 - Simplify HttpTransportOverHTTP2.
...
Removed usage of ternary expressions in favor of if/else statements
to improve readability of the logic for the send() method.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2018-04-07 12:25:39 +02:00
Jan Bartel
ea6d18f919
Jetty 9.4.x issue 2397asm jdk10 support ( #2417 )
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-04-06 12:00:09 +10:00
olivier lamy
f6268ec919
add jdk10 profile to disable some tests
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-06 11:04:27 +10:00
olivier lamy
e6f02b578a
add jdk10 in jenkinsfile
...
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-06 10:38:49 +10:00
Jan Bartel
09bfb77e5f
Issue #2409 Ensure no duplicate config classes in osgi ( #2416 )
...
Signed-off-by: Jan Bartel <janb@webtide.com>
2018-04-06 09:18:47 +10:00
Joakim Erdfelt
be3c5a08d0
Reducing noise on test output
2018-04-05 16:33:40 -05:00
Joakim Erdfelt
ab9c3f5f1d
Merge pull request #2395 from eclipse/jetty-9.4.x-issue-2391-json-slashuencoding
...
Issue #2391 - JSON string encoding fix
2018-04-05 10:40:39 -05:00
Joakim Erdfelt
46c5824e7a
Issue #2391 - JSON Solidus is optional for escaping
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-05 09:13:37 -05:00
Joakim Erdfelt
4d7ac53d7f
Merge pull request #2414 from eclipse/jetty-9.4.x-issue-2413-server-timestamp
...
Issue #2413 - Using Instant.toString() to be consistent with timestamp
2018-04-05 05:39:07 -05:00
Jan Bartel
72404d15d6
Make mavenRepoPath system property optional for osgi tests
2018-04-05 14:02:38 +10:00
Joakim Erdfelt
ceded0bbae
Issue #2413 - Using Instant.toString() to be consistent with timestamp
...
Example output:
JDK 8:
2018-04-04 22:30:25.578:INFO:oejs.Server:main: jetty-9.4.10-SNAPSHOT; built: 2018-04-04T22:22:03.202Z; git: 2b32f82aeb64acc6105c08d8a7a141279f8b91d0; jvm 1.8.0_131-b11
JDK 9:
2018-04-04 22:29:39.035:INFO:oejs.Server:main: jetty-9.4.10-SNAPSHOT; built: 2018-04-04T22:22:03.202Z; git: 2b32f82aeb64acc6105c08d8a7a141279f8b91d0; jvm 9+181
JDK 10:
2018-04-04 17:29:07.568:INFO:oejs.Server:main: jetty-9.4.10-SNAPSHOT; built: 2018-04-04T22:22:03.202Z; git: 2b32f82aeb64acc6105c08d8a7a141279f8b91d0; jvm 10+46
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-04 17:32:20 -05:00
Joakim Erdfelt
5cab0ccd5f
Issue #2391 - JSON string escaping fix + override
...
+ all string escaping now done in JSON.escapeString()
+ special override JSON.escapeUnicode() available for
those that want to use optional Unicode escaping.
javadoc indicates one way to accomplish this.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2018-04-04 12:40:07 -05:00
Joakim Erdfelt
2b32f82aeb
Merge pull request #2393 from eclipse/jetty-9.4.x-issue-2337-ws-subprotocols
...
Issue #2337 - slightly more efficient getSubProtocols() behavior
2018-04-04 06:22:17 -05:00