Stephane Nicoll
e59da2de1e
Allow test compilation to reference existing generated classes
...
Previously, the generated classes from an InMemoryGeneratedFiles were
not taken into account and if generated code refers to any of them,
compilation failed.
This commit introduces a ClasFile abstraction, similar to ResourceFile
for resources that represents an existing generated class.
Closes gh-29141
Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com >
2022-09-15 16:01:55 +02:00
Stephane Nicoll
aa5d7398d5
Polish
2022-09-15 16:01:49 +02:00
Stephane Nicoll
b44eb63d29
Workaround LinkageError with TestCompiler
...
See gh-29159
2022-09-15 16:00:25 +02:00
Stephane Nicoll
97e946698b
Merge branch '5.3.x'
2022-09-15 11:00:17 +02:00
Spring Builds
13933ee2c6
Next development version (v5.3.24-SNAPSHOT)
2022-09-15 07:59:36 +00:00
rstoyanchev
8f617780f7
Merge branch '5.3.x'
2022-09-14 19:28:45 +01:00
rstoyanchev
ae8b7973b4
Improve Javadoc on RequestEntity#getUrl
...
Closes gh-28930
2022-09-14 19:25:55 +01:00
Juergen Hoeller
8a37dc23e2
Upgrade to EclipseLink 3.0.3, JRuby 9.3.8, Woodstox 6.3.1
2022-09-14 19:42:43 +02:00
Juergen Hoeller
5e162881a6
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
2022-09-14 19:29:57 +02:00
Juergen Hoeller
a7f430bda8
Upgrade to Checkstyle 10.3.3, RxJava 3.1.5, SmallRye Mutiny 1.7, HtmlUnit 2.64, JsonPath 2.7
2022-09-14 19:28:27 +02:00
rstoyanchev
f3c082abac
Deprecate ignoreDefaultModelOnRedirect property
...
Closes gh-28324
2022-09-14 18:14:04 +01:00
Juergen Hoeller
250880bf90
Upgrade to RSocket 1.1.3, RxJava 3.1.5, SmallRye Mutiny 1.7, Groovy 4.0.5, Gson 2.9.1, Protobuf 3.21.5, Mockito 4.8, JsonPath 2.7
2022-09-14 19:10:46 +02:00
Juergen Hoeller
462ffa778b
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
2022-09-14 18:43:25 +02:00
Juergen Hoeller
5a781eeb54
Upgrade to RSocket 1.1.3, Netty 4.1.82, Tomcat 9.0.65, Undertow 2.2.19, Hibernate Validator 6.2.5
2022-09-14 18:42:04 +02:00
rstoyanchev
02f61e3aae
Fix failing test in CancelWithoutDemandCodecTests
...
The test started failing after recent commit
e370c15bc6 .
See gh-29038
2022-09-14 16:43:35 +01:00
Sam Brannen
6d5fa89efe
Remove Caucho exclusion for main
...
See gh-28876
2022-09-14 17:18:40 +02:00
Sam Brannen
b87d48b99b
Merge branch '5.3.x'
2022-09-14 17:18:00 +02:00
Sam Brannen
a879d18c9c
Reintroduce Caucho exclusion for 5.3.x
...
See gh-28876
2022-09-14 17:10:17 +02:00
Marc Wrobel
ce49068ff9
Fix links in Javadoc and reference docs
...
- Fix broken links (by using a new URL, an alternative URL, or a
Wayback Machine link)
- Use HTTPS where possible
- Remove https://issuetracker.springsource.com/browse/EBR-349 : this
link is dead and is also mentioned in
https://jira.spring.io/browse/SPR-8093
- Clean up nohttp allowlist.lines
Closes gh-28876
2022-09-14 17:00:11 +02:00
Sam Brannen
8d92c57777
Merge branch '5.3.x'
...
# Conflicts:
# spring-tx/src/main/java/org/springframework/jca/cci/core/support/CciDaoSupport.java
2022-09-14 16:52:55 +02:00
Sam Brannen
62a0ab3667
Polish contribution
2022-09-14 16:50:32 +02:00
Marc Wrobel
92a231cf91
Fix typos in Javadoc, reference docs, and code
...
Closes gh-28822
2022-09-14 16:45:34 +02:00
Sam Brannen
992a81ab68
Merge branch '5.3.x'
...
# Conflicts:
# spring-web/src/main/java/org/springframework/web/util/WebUtils.java
2022-09-14 16:12:04 +02:00
Sam Brannen
50dff77d01
Polish contribution
2022-09-14 16:08:01 +02:00
Marc Wrobel
0f479293b1
Replace use of the <tt> HTML tag in Javadoc
...
The <tt> HTML tag was used in HTML 4 to define teletype text. It is not
supported in HTML5, and its use is discouraged.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt
Closes gh-28819
2022-09-14 15:56:16 +02:00
Sam Brannen
af2481f6da
Merge branch '5.3.x'
2022-09-14 15:54:34 +02:00
Johnny Lim
5f5d383eeb
Fix Javadoc since tag for AbstractGenericWebContextLoader.createContext()
...
See gh-28983
Closes gh-29154
2022-09-14 15:53:18 +02:00
Sam Brannen
a2445dcb8a
Polishing
2022-09-14 15:27:11 +02:00
Sam Brannen
911d1f2dea
Suppress warnings
2022-09-14 15:27:11 +02:00
Stephane Nicoll
e9997d4004
Polish
2022-09-14 14:40:02 +02:00
Sam Brannen
354117da7f
Merge branch '5.3.x'
2022-09-14 14:38:10 +02:00
Sam Brannen
529481c44c
Polish contribution
...
See gh-29150
2022-09-14 14:35:43 +02:00
Jens Dietrich
35d379f9d3
Add missing @Nullable in SettableListenableFuture
...
Closes gh-29150
2022-09-14 14:32:37 +02:00
rstoyanchev
e370c15bc6
Fix error handling regression for non-streaming Flux
...
Closes gh-29038
2022-09-14 12:00:31 +01:00
Juergen Hoeller
3307630a95
Upgrade to Jackson 2.13.4, Netty 4.1.82, Tomcat 10.0.23, Undertow 2.2.19, Hibernate ORM 5.6.11, Hibernate Validator 7.0.5
2022-09-14 12:56:16 +02:00
Juergen Hoeller
50d34366bc
Polishing
2022-09-14 12:55:53 +02:00
Stephane Nicoll
6feeeec70e
Upgrade to Micrometer 1.10.0-M6
...
Closes gh-29151
2022-09-14 11:53:24 +02:00
Brian Clozel
d3d91d4d22
Merge branch '5.3.x'
2022-09-13 21:41:10 +02:00
Brian Clozel
c871758a51
Upgrade to Reactor 2020.0.23
...
Closes gh-29129
2022-09-13 21:35:11 +02:00
Brian Clozel
9c48dda4f3
Upgrade to Reactor 2022.0.0-M6
2022-09-13 21:29:47 +02:00
Brian Clozel
19d991a67b
Revisit resource cleanup in ClientHttpRequestFactory
...
Prior to this commit, resource management around
`ClientHttpRequestFactory` and `RestTemplate` was unclear. Some
factories implementation were implementing a `DisposableBean` and other
contracts were not managing request factory resources.
In the meantime, neither `ClientHttpRequestFactory` nor `RestTemplate`
are typically meant to be contributed as beans to the application
context. Most often, they're instantiated within beans and their
lifecycle should be managed by those.
This commit makes all `ClientHttpRequestFactory` `Closeable` and ensures
that all existing implementations have a similar behavior between
`dispose()` and `close()`. Since `RestTemplate` (actually
`HttpAccessor`) can instantiate factories on its own, they also now
extend `Closeable` to properly close those resources, if not externally
managed.
Closes gh-29010
2022-09-13 15:53:01 +02:00
Arjen Poutsma
71f9a84d22
Fix releasing bug in StringDecoder
...
This commit fixes an issue in StringDecoder, where, if the buffer did
not contain any delimiters, it was released before it was relayed to
any subscribers.
Closes gh-29119
2022-09-13 15:46:24 +02:00
Sébastien Deleuze
2687de0fe8
Add HandshakeWebSocketService runtime hints
...
Closes gh-29146
2022-09-13 15:37:06 +02:00
Brian Clozel
241261b6b6
Polish
...
See gh-28341
2022-09-13 14:00:55 +02:00
Brian Clozel
5f62d1dc8e
Add className variants in ReflectionHintsPredicates
...
This commit adds predicates variants that accept `String className`
instead of actual `Class<?>` when checking for fields and method hints.
This is useful when the type under test is not visible from the current
test class.
Closes gh-29143
2022-09-13 14:00:55 +02:00
Sébastien Deleuze
198e17f659
Add AbstractEntityManagerFactoryBean proxy hints for Hibernate
...
Closes gh-29138
2022-09-13 13:52:27 +02:00
Sam Brannen
948c9b85a0
Revise internals of AOT testing support
2022-09-13 13:06:33 +02:00
Sam Brannen
e7a297a948
Rename TestAotMappings to AotTestContextInitializers
...
- for consistency with AotTestAttributes and similar classes
See gh-28205, gh-28204
2022-09-13 12:07:30 +02:00
Sam Brannen
a3b6b41bd7
Polish BootstrapUtils
2022-09-13 11:28:57 +02:00
Sam Brannen
1e2541a0a3
Remove support for setting default CacheAwareContextLoaderDelegate
...
The ability to set a system property to change the default
CacheAwareContextLoaderDelegate was only needed by the Spring Native
project in the Spring Framework 5.3.x line and should not be used by
other projects.
This commit therefore reverts the changes made in conjunction with
gh-27540.
Closes gh-29061
2022-09-13 11:14:51 +02:00