Stéphane Nicoll
e3e01fe9d5
Polish "Add self-reference to ApplicationContextAssertProvider"
...
See gh-50500
2026-07-15 12:05:39 +02:00
Stefano Cordio
cb9b32bd22
Add self-reference to ApplicationContextAssertProvider
...
See gh-50500
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com >
2026-07-15 12:05:23 +02:00
zxuhan7
ab4d78a107
Expose Path getters on ApplicationTemp
...
See gh-50194
Signed-off-by: zxuhan7 <zxuhan7@gmail.com >
2026-07-15 11:24:52 +02:00
Stéphane Nicoll
7a89c31f91
Merge branch '4.0.x'
...
Closes gh-50950
2026-07-14 18:28:28 +02:00
Stéphane Nicoll
a2af5acbe2
Polish "Avoid removing application-managed JUL bridge handler"
...
See gh-50779
2026-07-14 18:17:03 +02:00
dhruv-15-03
fe5164521d
Avoid removing application-managed JUL bridge handler
...
`LogbackLoggingSystem` and `Log4J2LoggingSystem` install a JUL bridge
handler only when the application is not already managing `java.util.logging`.
However, `cleanUp()` removed the bridge handler whenever the bridge class
was present on the classpath, so Spring Boot uninstalled a bridge handler
that an application had installed and managed itself.
Track whether the bridge handler was installed by Spring Boot and only
remove it during cleanup when that is the case.
See gh-50779
Signed-off-by: dhruv-15-03 <dhruvrastogi2004@gmail.com >
2026-07-14 18:11:50 +02:00
Stéphane Nicoll
e44b486a00
Merge branch '4.0.x'
2026-06-30 10:10:35 +02:00
Stéphane Nicoll
22eef97293
Add missing or outdated copyright headers
...
See gh-50894
2026-06-30 10:04:39 +02:00
Andy Wilkinson
1d693b1bc4
Merge branch '4.0.x'
...
Closes gh-50885
2026-06-29 11:11:18 +01:00
Yanming Zhou
9824f25998
Remove unnecessary @Nullables from local array variable declarations
...
See gh-50881
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2026-06-29 10:28:32 +01:00
Andy Wilkinson
c5261cf0eb
Merge branch '4.0.x'
...
Closes gh-50878
2026-06-28 12:14:56 +01:00
Andy Wilkinson
ecacc0aa1e
Polish "Remove unnecessary @Nullables from local variable declarations"
...
See gh-50866
Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com >
2026-06-28 12:05:09 +01:00
Andy Wilkinson
525006c163
Merge branch '4.0.x'
...
Closes gh-50856
2026-06-24 21:12:11 +01:00
Ahmed El amraouiyine
249dab6d6f
Handle unresolved validation target types
...
See gh-50798
Signed-off-by: Ahmed El amraouiyine <amraouiyine@gmail.com >
2026-06-24 21:09:33 +01:00
Andy Wilkinson
9de4f8d0d4
Merge branch '4.0.x'
...
Closes gh-50853
2026-06-24 19:49:46 +01:00
SJLIM
34ce653f95
Add nested override coverage for @SpringBootTest imports
...
See gh-50625
Signed-off-by: SJLIM <yyvaca30@gmail.com >
2026-06-24 19:47:35 +01:00
Andy Wilkinson
7a45ee8767
Merge branch '4.0.x'
...
Closes gh-50851
2026-06-24 19:12:35 +01:00
Yanming Zhou
9d5c98b7e9
Replace isAssignableFrom() with isInstance() where feasible
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
See gh-50750
2026-06-24 19:11:59 +01:00
Andy Wilkinson
fa371e852e
Merge branch '4.0.x'
...
Closes gh-50845
2026-06-24 13:21:35 +01:00
Andy Wilkinson
8715efc615
Polish "Address new warnings from NullAway 0.13.6"
...
See gh-50701
2026-06-24 13:18:32 +01:00
Manu Sridharan
2b7f6f3c69
Address new warnings from NullAway 0.13.6
...
Signed-off-by: Manu Sridharan <msridhar@gmail.com >
See gh-50701
2026-06-24 13:16:07 +01:00
Phillip Webb
12eb46696a
Polish 'Bind empty strings to empty maps'
...
See gh-50773
2026-06-20 19:46:42 -07:00
Ahmed El amraouiyine
485bd7c636
Bind empty strings to empty maps
...
Align `MapBinder` with `IndexedElementsBinder` to ensure that
empty strings are bound as empty `Map` instances rather than
throwing a `ConverterNotFoundException`.
See gh-50773
Signed-off-by: Ahmed El amraouiyine <ahmed.elamraouiyine@vilavi.fr >
2026-06-20 19:44:29 -07:00
Stéphane Nicoll
905351fe77
Merge branch '4.0.x'
...
Closes gh-50729
2026-06-09 16:28:25 +02:00
Stéphane Nicoll
58f1a584d3
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50728
2026-06-09 16:26:28 +02:00
Stéphane Nicoll
5bf2a32b11
Merge branch '4.0.x'
2026-05-30 14:39:57 +02:00
Stéphane Nicoll
98084aab2b
Reformat additional-spring-configuration-metadata.json files
2026-05-30 14:28:53 +02:00
Stéphane Nicoll
325b234918
Merge branch '4.0.x'
...
Closes gh-50618
2026-05-29 12:31:05 +02:00
Stéphane Nicoll
3209464a8a
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50617
2026-05-29 12:30:52 +02:00
Stéphane Nicoll
ddb2b8e0eb
Merge branch '4.0.x'
2026-05-26 09:29:18 +02:00
Stéphane Nicoll
e3bb5cf669
Polish
2026-05-26 09:28:04 +02:00
Stéphane Nicoll
33580421e1
Merge branch '4.0.x'
...
Closes gh-50499
2026-05-25 17:17:10 +02:00
Stéphane Nicoll
86fed81403
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50498
2026-05-25 17:16:59 +02:00
Stéphane Nicoll
a243d230b3
Merge branch '4.0.x'
...
Closes gh-50497
2026-05-25 17:09:28 +02:00
Stéphane Nicoll
8e337c5ddc
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50496
2026-05-25 17:09:13 +02:00
Andy Wilkinson
6a74bb85a3
Merge branch '4.0.x'
...
Closes gh-50440
2026-05-14 15:03:44 +01:00
Andy Wilkinson
add52b6ccd
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50439
2026-05-14 15:02:24 +01:00
Phillip Webb
21a3eec136
Merge branch '4.0.x'
...
Closes gh-50425
2026-05-13 07:47:34 -07:00
Phillip Webb
3213393bf9
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50424
2026-05-13 07:47:07 -07:00
Phillip Webb
812c80c88d
Merge branch '4.0.x'
...
Closes gh-50414
2026-05-12 13:08:05 -07:00
Phillip Webb
4f846b1645
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50413
2026-05-12 13:07:55 -07:00
Phillip Webb
4a668f9a46
Merge branch '4.0.x'
...
Closes gh-50408
2026-05-12 11:34:02 -07:00
Phillip Webb
86c600eb90
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50407
2026-05-12 11:33:34 -07:00
Yanming Zhou
949d5e0f3f
Polish AppendableByteArray
...
See gh-50369
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2026-05-12 09:12:53 -07:00
Phillip Webb
bcf4c32426
Call setAllowBeanDefinitionOverriding before initializer
...
Update initialization order in `SpringApplication` to ensure
`setAllowBeanDefinitionOverriding` is called before initializiers.
This prevents an initializer from accidentially overriding a bean.
Closes gh-50264
2026-05-04 15:47:22 -07:00
Andy Wilkinson
1a64cac622
Merge branch '4.0.x'
...
Closes gh-50270
2026-05-01 09:34:24 +01:00
Andy Wilkinson
065c463cef
Improve nullability of TestPropertyValues
...
Closes gh-50269
2026-05-01 08:39:18 +01:00
Phillip Webb
2fffebe214
Reduce garbage of repeated WritableJson.toByteArray() calls
...
Update the default implementation of `WritableJson.toByteArray()`
to reduce the amount of garbage created from repeated calls.
Prior to this commit, each call would create a new
`ByteArrayOutputStream` and `OutputStreamWriter` to create the
byte array. Writing structured JSON results in many calls to
the `toByteArray()` method, which means we repeatedly create
and destroy the `ByteArrayOutputStream` and `OutputStreamWriter`
objects. Furthermore, both contain buffers that are often
expanded and will overlap with each other.
The updated implementation uses a custom `Appendable`
implementation that uses a single `ByteBuffer` buffer. It also
has a `ThreadLocal` cache so that repeated calls from the same
thread can reuse the buffer. The cache uses a `SoftReference`
to ensure that the JVM can reclaim space if needed (for example,
if a large JSON line was written).
Closes gh-49428
2026-04-30 12:04:39 -07:00
Stéphane Nicoll
0e2f7e2b1a
Merge branch '4.0.x'
...
Closes gh-50234
2026-04-28 13:54:58 +02:00
Stéphane Nicoll
813913ccb8
Merge branch '3.5.x' into 4.0.x
...
Closes gh-50233
2026-04-28 13:54:49 +02:00