Commit Graph
266 Commits
Author SHA1 Message Date
chisanw 857d1b7a8a Fix typos in service connection documentation
See gh-51431

Signed-off-by: chisanw <keuye06380618@gmail.com>
2026-08-25 12:07:13 -07:00
Phillip Webb 068bb037bf Change code to make Eclipse compiler happy
Extract a local variable to fix compiler error that only seems to
happen in Eclipse.
2026-08-24 19:07:53 -07:00
Andy Wilkinson 6dbc7e9a51 Use method on String to identify Java 27
At the time of writing, https://javaalmanac.io lists
EnumSet.spliterator as being new in Java 27, but that's not the case.

This commit switches to using String.encodedLength(Charset) instead.
This method is new in Java 27 and also aligns with the existing
TWENTY_SIX value that already uses a method on String for version
identification.

See gh-51422
2026-08-24 15:47:34 +01:00
Andy Wilkinson 6e58a6ff8b Polish
See gh-51422
2026-08-24 15:31:30 +01:00
Andy Wilkinson ff153f21d8 Add TWENTY_SEVEN to JavaVersion
Closes gh-51422
2026-08-24 14:51:52 +01:00
Stéphane Nicoll 43d3cf57eb Close reader in GsonTester
This harmonizes how JSON marshaller testers operate on a stream. Also
added tests that checks the source is closed as expected for all
implementations.

Closes gh-51417
2026-08-24 08:21:51 +02:00
Stéphane Nicoll 5402f5b43f Polish "Release file handle when comparing AOT file content"
See gh-51398
2026-08-24 08:05:45 +02:00
dlwldn30 4a1abb9617 Release file handle when comparing AOT file content
RequireNewOrMatchingContentFileHandler reads the already generated file
through content.getInputStream().readAllBytes(). That method does not
close the stream, and the stream is never assigned, so it cannot
be closed at all.

During AOT processing the content is a FileSystemResource, so each
comparison leaks a file handle. FileSystemGeneratedFiles already uses
try-with-resources when it consumes an InputStreamSource.

Read the existing content inside a try-with-resources block.

See gh-51398

Signed-off-by: dlwldn30 <dlwldn30@naver.com>
2026-08-24 08:05:38 +02:00
Stéphane Nicoll b7ba1d8521 Revert "Work around Gradle changing line endings during property expansion"
This reverts commit 936998647e.

Closes gh-50905
2026-08-10 16:19:33 +02:00
Stéphane Nicoll f40977b642 Allow profiles auto-completion for spring.profiles.group
Closes gh-51273
2026-08-05 15:11:48 +02:00
Stéphane Nicoll d9ff81ff4a Polish "Adapt to improvements in Nullaway 0.13.8"
See gh-50972
2026-07-21 14:48:46 +02:00
Stéphane Nicoll 6d45e6aa64 Upgrade to Logback 1.5.38
Closes gh-50985
2026-07-20 10:30:27 +02:00
Stéphane Nicoll f01e775082 Polish 2026-07-15 13:22:42 +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 22eef97293 Add missing or outdated copyright headers
See gh-50894
2026-06-30 10:04:39 +02: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 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
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
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
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 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
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 98084aab2b Reformat additional-spring-configuration-metadata.json files 2026-05-30 14:28:53 +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 e3bb5cf669 Polish 2026-05-26 09:28:04 +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 8e337c5ddc Merge branch '3.5.x' into 4.0.x
Closes gh-50496
2026-05-25 17:09:13 +02: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 3213393bf9 Merge branch '3.5.x' into 4.0.x
Closes gh-50424
2026-05-13 07:47:07 -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 86c600eb90 Merge branch '3.5.x' into 4.0.x
Closes gh-50407
2026-05-12 11:33:34 -07:00
Andy Wilkinson 065c463cef Improve nullability of TestPropertyValues
Closes gh-50269
2026-05-01 08:39:18 +01: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
Andy Wilkinson afc61f922c Merge branch '3.5.x' into 4.0.x
Closes gh-50213
2026-04-25 07:47:49 +01:00
Andy Wilkinson 98daa8ea30 Merge branch '3.5.x' into 4.0.x 2026-04-23 11:33:21 +01:00
Andy Wilkinson ef8527bb0e Merge branch '3.5.x' into 4.0.x
Closes gh-50185
2026-04-23 08:55:02 +01:00
Andy Wilkinson 4a7bd332b6 Merge branch '3.5.x' into 4.0.x
Closes gh-50183
2026-04-23 08:52:16 +01:00
Andy Wilkinson 8e013b6f90 Merge branch '3.5.x' into 4.0.x
Closes gh-50178
2026-04-23 08:48:16 +01:00
Phillip Webb 3cf39544c3 Merge branch '3.5.x' into 4.0.x
Closes gh-50064
2026-04-13 15:41:08 -07:00
Phillip Webb 481b972fad Merge branch '3.5.x' into 4.0.x
Closes gh-50064
2026-04-13 15:26:23 -07:00
Stéphane Nicoll 2e7adbdef4 Merge branch '3.5.x' into 4.0.x
Closes gh-50041
2026-04-13 09:17:22 +02:00
Andy Wilkinson 9fdb2db07c Merge branch '3.5.x' into 4.0.x
Closes gh-50012
2026-04-10 09:56:33 +01:00
Stéphane Nicoll e4c4283dce Polish
See gh-49837
2026-03-30 11:24:19 +02:00
Stéphane Nicoll 57a3521c45 Merge branch '3.5.x' into 4.0.x
Closes gh-49818
2026-03-27 11:44:54 +01:00
Phillip Webb e8ec285fd5 Merge branch '3.5.x' into 4.0.x
Closes gh-49736
2026-03-24 17:39:33 -07:00
Phillip Webb 4694f6fa6a Merge branch '3.5.x' into 4.0.x
Closes gh-49731
2026-03-24 13:38:12 -07:00
Stéphane Nicoll a96bfd6a0b Merge branch '3.5.x' into 4.0.x
Closes gh-49727
2026-03-24 10:29:30 +01:00
Phillip Webb e464348fa4 Merge branch '3.5.x' into 4.0.x
Closes gh-49697
2026-03-21 14:22:46 -07:00