Commit Graph

3971 Commits

Author SHA1 Message Date
Andy Wilkinson
fe536bf075 Allow SSL to be used with Tomcat's Http11Nio2Protocol
Fixes gh-41007
2024-06-07 12:46:19 +01:00
Andy Wilkinson
d4e9f458a3 Fix path handling and wrapping in LoaderHidingResource
Closes gh-39472
2024-06-05 12:33:21 +01:00
Andy Wilkinson
2ceb7b4217 Extract LoaderHidingResource as a top-level type
See gh-39472
2024-06-05 12:33:20 +01:00
Yanming Zhou
5cfd079c55 Remove unnecessary null check
See gh-40963
2024-06-04 08:39:26 +02:00
Ahmed Ashour
f000af6a12 Remove unused parameter and polish javadoc
See gh-40955
2024-05-30 14:42:46 -05:00
Phillip Webb
39ab959af8 Merge branch '3.1.x' into 3.2.x
Closes gh-40845
2024-05-20 21:06:59 -07:00
Phillip Webb
f743dc82fc Improve graceful shutdown documentation to remove ambiguity
Closes gh-40108
2024-05-20 21:06:22 -07:00
Andy Wilkinson
5db9f59094 Rework Jetty graceful shutdown to address race condition with 12.0.9
See gh-40724
2024-05-13 20:29:28 +01:00
Andy Wilkinson
e0f93448f6 Upgrade to Jetty 12.0.9
Closes gh-40724
2024-05-13 14:57:13 +01:00
Andy Wilkinson
e55773d14e Merge branch '3.1.x' into 3.2.x
Closes gh-40690
2024-05-10 12:37:29 +01:00
Andy Wilkinson
a67c8e4bbd Perform analysis even when property is not in the environment
Closes gh-33261
2024-05-10 12:36:59 +01:00
Moritz Halbritter
92f7414fad Favor Duration accepting timeout method over int method
Closes gh-40635
2024-05-08 14:01:09 +02:00
Moritz Halbritter
75dac1435f Merge branch '3.1.x' into 3.2.x 2024-05-02 14:48:04 +02:00
Moritz Halbritter
68a63a7797 Polish 2024-05-02 14:47:53 +02:00
Moritz Halbritter
516d3b1294 Test ANSI disabled in logging tests instead of integration tests
See gh-40172
2024-05-02 13:59:48 +02:00
Moritz Halbritter
713f4f2292 Polish "Fix broken AnsiOutput.detectIfAnsiCapable on JDK22"
See gh-40172
2024-05-02 11:27:55 +02:00
facewise
1f9b62b122 Fix broken AnsiOutput.detectIfAnsiCapable on JDK22
See gh-40172
2024-05-02 11:03:06 +02:00
Moritz Halbritter
a6dd8b71bd Add exception and failure analyzer for missing AOT initializer
The diagnostics text include the name of the AOT initializer class and
the main class name. It also tells the user how to switch of the AOT
mode.

Closes gh-38645
2024-04-30 15:11:32 +02:00
Moritz Halbritter
be5039041c Defer creation of maps in MapBinder
Closes gh-39375
2024-04-29 10:07:40 +02:00
Moritz Halbritter
00a25f5d89 Don't apply CookieSameSiteSupplier to session cookies when using Jetty
Closes gh-39766
2024-04-24 15:59:10 +02:00
Moritz Halbritter
35c9233007 Merge branch '3.1.x' into 3.2.x
Closes gh-40485
2024-04-23 09:24:32 +02:00
Moritz Halbritter
b50b0e89c9 Remove detection of missing parameter information
There are some cases where false positives of the detection prevent
compiling an application to native which otherwise would run perfectly
fine in a native image.

Closes gh-40051
2024-04-23 09:10:46 +02:00
Andy Wilkinson
82b218937c Polish "Consider HandlerMethodValidationException in DefaultErrorAttributes"
See gh-39865
2024-04-22 16:17:08 +01:00
Yanming Zhou
20e9ff9f3d Consider HandlerMethodValidationException in DefaultErrorAttributes
See gh-39865
2024-04-22 15:38:47 +01:00
Andy Wilkinson
2e114b6971 Merge branch '3.1.x' into 3.2.x
Closes gh-40450
2024-04-19 17:31:00 +01:00
Andy Wilkinson
172b3d5336 Improve diagnostics when native image fails before logging is set up
Closes gh-40429
2024-04-19 17:30:22 +01:00
Phillip Webb
38af8cd362 Merge branch '3.1.x' into 3.2.x 2024-04-18 12:52:54 -07:00
Phillip Webb
20db2b54c7 Update copyright year of changed files 2024-04-18 12:52:29 -07:00
Moritz Halbritter
5058719242 Merge branch '3.1.x' into 3.2.x
Closes gh-40364
2024-04-16 13:40:03 +02:00
Johnny Lim
201885a242 Fix target in BindValidationFailureAnalyzer
See gh-40035
2024-04-16 11:55:09 +02:00
Andy Wilkinson
1c5ba19e86 Merge branch '3.1.x' into 3.2.x
Closes gh-40326
2024-04-12 10:31:26 +01:00
Andy Wilkinson
a946f66e7c Minimize pollution of Log4j2's environment
Closes gh-40178
2024-04-12 10:25:25 +01:00
Andy Wilkinson
aab748a431 Merge branch '3.1.x' into 3.2.x
Closes gh-40321
2024-04-11 15:35:18 +01:00
Andy Wilkinson
2f3cf56f03 Fix servlet component scanning in a mock web environment
Closes gh-39736
2024-04-11 15:22:45 +01:00
Andy Wilkinson
54c6b7c3ea Merge branch '3.1.x' into 3.2.x
Closes gh-40312
2024-04-10 20:07:33 +01:00
Andy Wilkinson
ef9f1b41d7 Polish "Replace custom filter with DenyAllFilter"
See gh-40235
2024-04-10 19:44:45 +01:00
Piotr P. Karwasz
d194b7f3c0 Replace custom filter with DenyAllFilter
See gh-40235
2024-04-10 19:44:29 +01:00
Andy Wilkinson
cdc95bb92a Upgrade to Jetty 12.0.8
Closes gh-40300
2024-04-10 18:26:37 +01:00
Phillip Webb
f1018ba38a Merge branch '3.1.x' into 3.2.x 2024-04-04 20:36:29 -07:00
Phillip Webb
21f5d375b7 Polish 2024-04-04 20:14:01 -07:00
Scott Frederick
1c2a43d1e6 Merge branch '3.1.x' into 3.2.x
Closes gh-40165
2024-04-03 16:30:41 -05:00
Felix
8a42935dad Apply instanceof pattern matching
See gh-40085
2024-04-03 16:30:01 -05:00
Moritz Halbritter
957facf1cc Merge branch '3.1.x' into 3.2.x
Closes gh-40117
2024-03-27 09:35:44 +01:00
Moritz Halbritter
ff66036e90 Remove redundant Regex escapes
Closes gh-40116
2024-03-27 09:34:28 +01:00
Andy Wilkinson
729f6758f7 Polish "Fix web session javadoc typos"
See gh-39821
2024-03-15 17:07:41 +00:00
JingZhang Chen
f5d45fd31f Fix web session javadoc typo
See gh-39821
2024-03-15 17:07:25 +00:00
Andy Wilkinson
f2ddf1c082 Merge branch '3.1.x' into 3.2.x
While the bug fixed in 3.1.x (gh-39942) has already been addressed as
a side-effect of the changes made in dbb24286, the change is merged
forwards here to improve the consistency of the code between branches.
2024-03-15 15:42:47 +00:00
Andy Wilkinson
81dc0cc3cf Eliminate race condition in Tomcat's graceful shutdown
There was a race condition between the thread that's waiting for
Tomcat to become inactive or the graceful shutdown to be aborted
and the thread that aborts the shutdown and stops Tomcat when the
grace period has elapsed. This race can lead to Tomcat appearing
to have become inactive before the abort of the shutdown is
noticed. When this happens, the result of the shutdown is reported
as IDLE when it should have been REQUESTS_ACTIVE. The consequences
of this are mostly benign although it does affect the log messages
that are emitted. It is also causing some of our graceful shutdown
tests to be flaky.

This commit eliminates the race condition by considering the
state of the aborted flag before logging and returning the result
of the shutdown.

Closes gh-39942
2024-03-15 15:30:41 +00:00
Andy Wilkinson
e8acbc1fba Add TWENTY_TWO to JavaVersion enum
Closes gh-39825
2024-03-04 10:15:59 +00:00
Andy Wilkinson
8efdc1e46d Add CI for Java 22
Closes gh-39746
2024-03-04 10:07:28 +00:00