Sam Brannen
098c924e32
Introduce @Suite classes for individual modules
2022-12-07 12:12:41 -05:00
Sam Brannen
4289a64e24
Improve Javadoc for SqlLobValue
2022-12-07 12:12:41 -05:00
Sam Brannen
7615762039
Update copyright headers
2022-12-07 12:11:45 -05:00
Brian Clozel
d601f3196a
Fix BindingReflectionHintsRegistrar anonymous classes support
...
This commit ensures that giving an anonymous class for reflection hints
registration does not result in a NullPointerException, since the
canonical name of anonymous classes is null.
Fixes gh-29657
2022-12-07 16:37:01 +01:00
Arjen Poutsma
92a6e7ddcd
Fix InputStream violation in DataBufferInputStream
...
This commit fixes an issue in DataBufferInputStream::mark, which before
did not follow the contract defined by InputStream.
Closes gh-29642
2022-12-07 15:23:19 +01:00
ShenFeng312
c79474d269
Polish var-args declarations
...
Closes gh-29640
2022-12-07 04:30:40 +01:00
Sam Brannen
f4bc9ffb98
Reintroduce component index support for Jakarta annotations
...
Spring Framework 6.0 GA introduced a regression in the component index
support for Jakarta annotations such as @Named and @ManagedBean.
Prior to this commit, @Named and @ManagedBean components were
registered in the component index at build time; however, component
scanning failed to find those component at run time.
This commit updates ClassPathScanningCandidateComponentProvider so that
`jakarta.*` annotation types are once again supported for component
scanning via the component index at run time.
Closes gh-29641
2022-12-06 16:23:31 -05:00
Sam Brannen
e124e802a3
Polishing
2022-12-06 16:23:31 -05:00
Sam Brannen
348cc01284
Rename MultipartWebClientIntegrationTests classes to avoid duplicate names
2022-12-06 12:50:36 -05:00
Sam Brannen
9f7a510f90
Polishing
2022-12-06 12:29:03 -05:00
divcon
f64397d822
Apply "instanceof pattern matching" in spring-webflux
...
Closes gh-29635
2022-12-06 10:03:26 -05:00
rstoyanchev
918edaba2e
Add convenience methods for binding error messages
...
Closes gh-29574
2022-12-06 13:37:08 +00:00
rstoyanchev
5214bd3093
Fix issue with getHeaders in NoHandlerFoundException
...
Closes gh-29626
2022-12-06 13:37:08 +00:00
Moritz Halbritter
752ef6f456
Fall back to JdkClientHttpConnector as ClientHttpConnector
2022-12-06 14:33:03 +01:00
rstoyanchev
bea1980e22
Correct (again) permissions key in backport bot config
2022-12-06 09:41:05 +00:00
rstoyanchev
f3360e4ee2
Correct permissions key in backport bot config
2022-12-06 09:38:13 +00:00
rstoyanchev
8330bd424b
Add write permission in backport bot config
2022-12-06 09:34:07 +00:00
rstoyanchev
507c9697fb
Correct event name in backport bot config
2022-12-06 09:27:03 +00:00
rstoyanchev
52c073724d
Enable backport bot for pull requests
2022-12-06 09:13:29 +00:00
Sam Brannen
de07ad47f1
Polishing, suppression of deprecation warnings, copyright headers, etc.
2022-12-05 14:16:22 -05:00
rstoyanchev
93ea2e1df9
Push canWrite down into MultipartHttpMessageWriter
...
The implementation in the base class only matches the
MultipartHttpMessageWriter subclass. The other two override it anyway.
Closes gh-29631
2022-12-05 15:37:48 +00:00
CoderYellow
a7bf14b364
Fix canWrite of PartHttpMessageWriter
...
See gh-29631
2022-12-05 15:37:48 +00:00
rstoyanchev
7899fa3b0a
Polishing contribution
...
Closes gh-29622
2022-12-05 15:37:48 +00:00
Marten Deinum
c1da2a4e73
Improve Netty code sample
...
See gh-29622
2022-12-05 15:37:48 +00:00
rstoyanchev
db53b618c1
Simplify form data handling in HttpRequestValues
...
Closes gh-29615
2022-12-05 15:37:48 +00:00
rstoyanchev
913163884a
Improve invalid Content-Type handling in WebFlux
...
Closes gh-29565
2022-12-05 15:37:48 +00:00
Brian Clozel
4a555aaef1
Reduce heap memory usage in ConcurrentLruCache
...
Prior to this commit, the `ConcurrentLruCache` implementation would use
arrays of `AtomicReference` as operation buffers, and the buffer count
would be calculated with the nearest power of two for the CPU count.
This can result in significant heap memory usage as each
`AtomicReference` buffer entry adds to the memory pressure. As seen in
FasterXML/jackson-databind#3665 , this can add a significant overhead for
no real added benefit for the current use case.
This commit changes the current implementation to use
`AtomicReferenceArray` as buffers and reduce the number of buffers.
JMH benchmarks results are within the error margin so we can assume that
this does not change the performance characteristics for the typical use
case in Spring Framework.
Fixes gh-29520
2022-12-05 13:02:11 +01:00
Brian Clozel
e9ada8d15c
Upgrade JMH build plugins
...
This commit upgrades the Gradle JMH plugin to 0.6.8 and the companion
JMH version to 1.36.
2022-12-05 13:02:11 +01:00
Sam Brannen
63d841664c
Polish ref docs build
2022-12-04 22:35:04 -05:00
Sam Brannen
9779d25d98
Revise PDF ref docs to include TOC, authors, and legal sections
2022-12-04 22:13:20 -05:00
Sam Brannen
89d0c6b962
Do not refer to HTML ref docs from HTML ref docs
2022-12-04 22:11:41 -05:00
Sam Brannen
20da0835b3
Polish overview for consistency
2022-12-04 12:33:44 -05:00
Sam Brannen
4f232a9003
Update copyright headers
2022-12-03 18:24:44 -05:00
Sam Brannen
c24a51323d
Reinstate test for JmxUtils.locateMBeanServer()
2022-12-03 18:23:41 -05:00
Sam Brannen
69d022712b
Polish Javadoc for ErrorResponse etc.
2022-12-03 16:19:33 -05:00
Sam Brannen
aa1f3d1681
Apply "instanceof pattern matching"
2022-12-03 16:06:58 -05:00
Spark61
b366cd352e
Fix ErrorResponse#type documentation
...
Closes gh-29632
2022-12-03 22:06:16 +01:00
Juergen Hoeller
ac667a1e2b
Upgrade to Apache HttpClient 5.2
...
Includes JRuby 9.4, Groovy 4.0.6, Hibernate ORM 5.6.14, HSQLDB 2.7.1, SLF4J 2.0.5, Caffeine 3.1.2, Gson 2.10, POI 5.2.3, Protobuf 3.21.10, WebJars Locator 0.52, HtmlUnit 2.67, Mockito 4.9, Checkstyle 10.5
Closes gh-29627
2022-12-02 20:57:35 +01:00
rstoyanchev
a09f93768a
Fix URI override for HttpExchange
...
Closes gh-29624
2022-12-02 17:02:05 +00:00
Brian Clozel
0ccd2f8b87
Deprecate GraphQL media type in favor of new one
...
This commit deprecates the `"application/graphql+json"` media type in
favor of the new `"application/graphql-response+json"`, since the former
has been removed in graphql/graphql-over-http#215 .
Closes gh-29617
2022-12-02 16:25:59 +01:00
Baljit Singh
b1fdb148d0
ResponseStatusException delegates to protected constructor
...
This ensures that by default the reason is used to set the "detail"
field. It's a follow-up fix to a27f2e994b
which resolved the issue partially.
Closes gh-29608
2022-12-02 14:20:16 +00:00
Juergen Hoeller
955ca4d146
Revised support for Jetty 12 (tested against 12.0.0.alpha2)
...
Avoids HttpFields optimization completely, relying on Servlet header access instead.
ServletServerHttpResponse provides applyHeaders/adaptHeaders split for better reuse.
See gh-29575
2022-12-01 19:45:40 +01:00
Juergen Hoeller
d5732fed45
Polishing
2022-12-01 17:46:31 +01:00
Juergen Hoeller
4c7b04e32a
Use resolved factory method return type for supplier code generation
...
Closes gh-29598
2022-12-01 17:46:23 +01:00
Johnny Lim
74ec10bf3a
Polish
...
Closes gh-29619
2022-12-01 17:34:33 +01:00
Juergen Hoeller
dd6cb1b728
Polishing
2022-12-01 15:48:24 +01:00
Juergen Hoeller
1e4c10cef1
Add equals/hashCode methods to ProblemDetail
...
Closes gh-29606
2022-12-01 15:47:40 +01:00
Juergen Hoeller
e47978e168
Avoid unnecessary parameter name inspection for constructor-arg resolution
...
Closes gh-29612
2022-12-01 15:47:12 +01:00
Sam Brannen
52e967a525
Apply update_copyright_headers.sh to staged files as well
2022-11-30 15:18:11 +01:00
Sam Brannen
1de9d123a5
Update Javadoc for MBeanTestUtils
2022-11-30 15:15:51 +01:00