Dmitry Sulman
0c2ba4e38e
Recursively box/unbox nested inline value classes
...
See gh-34592
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com >
2025-03-18 17:50:28 +01:00
Sam Brannen
c6a9aa59a3
Remove BDDMockito Checkstyle rule
...
This commit removes the BDDMockito Checkstyle rule, since it did not
actually enforce the use of BDDMockito.
This commit also updates static imports to use Mockito instead of
BDDMockito where appropriate (automated via the Eclipse IDE Organize
Imports clean-up task).
Closes gh-34616
2025-03-18 16:35:57 +01:00
Juergen Hoeller
ad949a7450
Add includeNonSingletons flag for ObjectProvider stream access
...
Closes gh-34591
2025-03-18 16:10:30 +01:00
Juergen Hoeller
86b2617c7f
Suggest compilation with -parameters in case of ambiguity
...
Closes gh-34609
2025-03-17 19:22:56 +01:00
Juergen Hoeller
760376c318
Restore check for jar root existence (now via getEntryName/getJarEntry)
...
Closes gh-34607
2025-03-17 19:20:41 +01:00
Juergen Hoeller
5b6abe4c13
Upgrade to ASM 9.8 (for early Java 25 support)
...
Closes gh-34600
2025-03-17 19:16:42 +01:00
Sam Brannen
7a839e988a
Make dependencies on AssertJ and JUnit in spring-core-test optional
...
This commit also removes unnecessary dependencies in
spring-core-test.gradle and updates framework-docs.gradle accordingly.
Closes gh-34612
2025-03-17 18:11:25 +01:00
Sébastien Deleuze
46859d6391
Polishing
...
Closes gh-34594
2025-03-17 11:39:15 +01:00
Russell Bolles
573e74b8bd
Refine FormHttpMessageConverter exception handling
...
FormHttpMessageConverter could throw a more specific
HttpMessageNotReadableException instead of an IllegalArgumentException
when the http form data is invalid.
See gh-34594
Signed-off-by: Russell Bolles <rbolles@netflix.com >
2025-03-17 11:37:42 +01:00
Sam Brannen
6c231804a0
Upgrade to Mockito 5.16.1
2025-03-16 15:33:33 +01:00
Tran Ngoc Nhan
7c3913050a
Fix formatting and update links to scripting libraries and HDIV
...
Closes gh-34603
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com >
(cherry picked from commit 666e2df0f3 )
2025-03-15 13:51:28 +01:00
Sam Brannen
ec488282a8
Upgrade to JUnit 5.12.1
2025-03-14 18:03:23 +01:00
Juergen Hoeller
911cdb2ad0
Add resolveAutowireCandidates variant with includeNonSingletons and allowEagerInit
...
Closes gh-34591
2025-03-13 18:48:43 +01:00
Brian Clozel
0f83c483bb
Remove invalid link from reference documentation
...
Closes gh-34593
2025-03-13 15:26:09 +01:00
Sébastien Deleuze
c9050607bc
Fix StringUtils#uriDecode Javadoc
...
Closes gh-34590
2025-03-13 12:57:44 +01:00
Brian Clozel
5e82ee6bd7
Next development version (v6.2.5-SNAPSHOT)
2025-03-13 09:44:23 +01:00
Juergen Hoeller
387677eae8
Upgrade to JUnit 5.12
...
Closes gh-34416
2025-03-12 12:46:34 +01:00
Juergen Hoeller
4a314867d7
Upgrade to Reactor 2024.0.4 and Micrometer 1.14.5
...
Closes gh-34578
Closes gh-34580
2025-03-12 11:51:33 +01:00
Sam Brannen
020f556841
Support custom attribute with a value in MockCookie.parse()
...
Prior to this commit, MockCookie.parse() failed with an
IllegalArgumentException when attempting to parse a custom attribute
with a value, such as "Version=1". This is a regression that was
inadvertently introduced in 7fc4937199
when adding support for the "Partitioned" attribute which does not
support a value.
This commit addresses this regression by parsing both the name and the
value from an optional, custom attribute.
See gh-31454
Closes gh-34575
2025-03-12 11:19:38 +01:00
rstoyanchev
6ea3b5a0e8
Fix Javadoc failure
...
See gh-34549
2025-03-10 20:59:33 +00:00
rstoyanchev
d764087dbf
Correct since tag
...
See gh-34549
2025-03-10 18:17:47 +00:00
rstoyanchev
9ab43b138a
Enhancement in HandlerMethodValidationException
...
Add dedicated method to Visitor for constraints directly on a
RequestBody method parameter (rather than nested).
Closes gh-34549
2025-03-10 18:01:55 +00:00
rstoyanchev
09ae080b99
isDisconnectedClientException protected for null
...
Closes gh-34533
2025-03-10 17:19:13 +00:00
Juergen Hoeller
70a1b2fae3
Upgrade to Checkstyle 10.21.4
2025-03-10 11:00:53 +01:00
Juergen Hoeller
90ddb40d7a
Upgrade to Jetty 12.0.17 and Jetty Reactive HttpClient 4.0.9
...
Includes Apache HttpClient 5.4.1, Netty 4.1.119, Jackson 2.18.3, Gson 2.12.1, FreeMarker 2.3.34, Protobuf 4.30, Groovy 4.0.26, Jython 2.7.4, JRuby 9.4.12, Caffeine 3.2, QDox 2.2, Awaitility 4.3, EasyMock 5.5, HtmlUnit 4.10
Closes gh-34561
2025-03-10 11:00:35 +01:00
Juergen Hoeller
143985e862
Add tests for primary/fallback/defaultCandidate precedence
...
Closes gh-34449
2025-03-08 12:22:14 +01:00
Juergen Hoeller
4bd280b87e
Explain availability and uniqueness (including primary/fallback/default) in javadoc
...
Closes gh-34447
2025-03-08 12:22:04 +01:00
Juergen Hoeller
5877a38fa1
Add explicit note on JSpecify support in Spring Framework 6.2 vs 7.0
...
Closes gh-34551
2025-03-08 12:21:46 +01:00
Vedran Pavic
94d29bac9f
Fix typo in Spring MVC error responses documentation
...
Closes gh-34552
Signed-off-by: Vedran Pavic <vedran@vedranpavic.com >
2025-03-07 13:37:57 +01:00
Dmitry Sulman
a6f3f18d89
Allow supertypes in ContentResultMatchersDsl matchers
...
Closes gh-34542
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com >
2025-03-07 09:29:48 +01:00
Sam Brannen
8334cb1abb
Revise tests to better express intent
2025-03-06 17:32:32 +01:00
Sam Brannen
2d88f18bf1
Update Javadoc
2025-03-06 16:26:40 +01:00
Sam Brannen
15a6641677
Clean up warnings in Gradle build
2025-03-06 16:26:32 +01:00
Juergen Hoeller
63c8e7cb5d
Restore lenient matching of unresolved nested bound
...
Closes gh-34541
2025-03-06 15:44:12 +01:00
Sam Brannen
c5ecc50bfe
Document wrapping behavior for TestExecutionListener callbacks
...
Closes gh-34422
2025-03-06 13:31:23 +01:00
Sam Brannen
0fd94f1b9f
Polishing
2025-03-06 13:30:20 +01:00
Juergen Hoeller
2472126475
Add fallback to pre-6.2.3 behavior for unresolvable generics
...
Closes gh-34535
2025-03-05 22:45:22 +01:00
Juergen Hoeller
f3b50c9a58
Ignore null beans in SimpleAutowireCandidateResolver.resolveAutowireCandidates
...
Closes gh-34543
2025-03-05 22:44:09 +01:00
Sam Brannen
0a6e666857
Ensure GenericTypeResolverTests compiles with Eclipse compiler
2025-03-05 14:07:52 +01:00
Juergen Hoeller
403362fe3c
Polishing
2025-03-04 18:44:56 +01:00
Juergen Hoeller
534f123fe8
Add explicit FileSystemResource path check for trailing slash
...
Closes gh-34509
2025-03-04 18:44:25 +01:00
Sam Brannen
e421104cf3
Supply RuntimeHints to an AotContextLoader
...
This commit introduces a new loadContextForAotProcessing(...) variant
in AotContextLoader which accepts a RuntimeHints argument. This new
method is an interface default method which delegates to the existing
loadContextForAotProcessing(MergedContextConfiguration) variant for
backward compatibility.
In addition, the original loadContextForAotProcessing(...) variant is
now deprecated and has been converted to an interface default method
which throws an UnsupportedOperationException.
Note, however, that the framework now only invokes the new
loadContextForAotProcessing(...) variant within TestContextAotGenerator.
Closes gh-34513
2025-03-03 17:39:56 +01:00
Sam Brannen
adfeba23e0
Polishing
2025-03-03 17:39:47 +01:00
Sam Brannen
7789e12575
Polishing
2025-03-03 15:04:42 +01:00
Sam Brannen
30d793cefe
Revise deprecation of SqlQuery.rowsExpected
...
Closes gh-34526
2025-03-03 14:33:19 +01:00
Yanming Zhou
78cc5df748
Deprecate unused "rowsExpected" property of SqlQuery for removal
...
See gh-34526
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-03-03 14:33:14 +01:00
Juergen Hoeller
5ffaea7a43
Avoid JarURLConnection resource leak in AbstractFileResolvingResource.exists()
...
Closes gh-34528
2025-03-03 13:32:51 +01:00
Brian Clozel
1633ad24f3
Ignore nohttp check on buildSrc/build
2025-03-03 11:23:21 +01:00
Rhett CfZhuang
5faf2ed7f4
Fix missing Partitioned cookie support in reactive HTTP clients
...
This commit adds support for the Partitioned cookie attribute in the
reactive HTTP clients that support this: Reactor and HttpComponents.
Closes gh-34521
Signed-off-by: Rhett CfZhuang <dark.momo985@gmail.com >
[brian.clozel@broadcom.com: rework tests and support HttpComponents]
Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
2025-03-03 11:23:13 +01:00
Juergen Hoeller
d2733cea36
Notify lenientCreationFinished condition after locked creation as well
...
Closes gh-34522
2025-03-01 22:20:23 +01:00