Rossen Stoyanchev
01426481ea
Enforce timeout in WebFlux multipart tests
2021-09-17 14:53:45 +01:00
Rossen Stoyanchev
8b5f5d9f65
Fix multipart request test with Jetty server
...
See gh-27424
2021-09-17 14:53:45 +01:00
Rossen Stoyanchev
853ab5d67b
Fix Jetty 10+ test failure related to empty path handling
...
See gh-27424
2021-09-17 14:53:27 +01:00
Rossen Stoyanchev
513cc1576e
Fix Jetty WebSocket test failures for WebFlux
...
See gh-27424
2021-09-17 14:53:17 +01:00
Rossen Stoyanchev
48875dc44f
Fix Jetty WebSocket test failures
...
See gh-27424
2021-09-17 14:53:09 +01:00
Rossen Stoyanchev
b732ff3495
Ensure mutable headers for Jetty WebFlux request
...
In Jetty 10, request headers are immutable, see
https://github.com/eclipse/jetty.project/pull/4777 , but we need to
remove/hide forwarded headers when they have been used.
See gh-27424
2021-09-17 14:52:45 +01:00
Brian Clozel
cce61c3918
Merge branch '5.3.x'
2021-09-17 15:30:16 +02:00
Brian Clozel
a50537fbaf
Polish "Fix collectionToDelimitedString failure for null elements."
...
Fixes gh-27419
2021-09-17 15:15:51 +02:00
Koy
0d6cc12274
Fix collectionToDelimitedString failure for null elements.
...
Prior to this commit, calling `StringUtils#collectionToDelimitedString`
would fail with an NPE if the collection contains null elements.
This commit ensures that null elements are converted as `"null"` in the
resulting String without failure.
See gh-27419
2021-09-17 15:15:26 +02:00
Sam Brannen
5eac8555d9
Temporarily exclude failing Jetty 11 tests
...
See gh-27424
2021-09-17 11:50:54 +02:00
Juergen Hoeller
d84ca2ba90
Jakarta EE 9 migration
...
Upgrades many dependency declarations; removes old EJB 2.x support and outdated Servlet-based integrations (Commons FileUpload, FreeMarker JSP support, Tiles).
Closes gh-22093
Closes gh-25354
Closes gh-26185
Closes gh-27423
See gh-27424
2021-09-17 09:14:07 +02:00
Juergen Hoeller
5822f1bf85
Drop RPC-style remoting
...
Closes gh-27422
2021-09-17 08:59:58 +02:00
Juergen Hoeller
3c8724ba3d
Remove JiBX support
...
Closes gh-27425
2021-09-17 08:58:52 +02:00
Juergen Hoeller
b7b078d26e
Remove Joda-Time support
...
Closes gh-27426
2021-09-17 08:58:40 +02:00
Juergen Hoeller
b74e93807e
Remove JDK 9 workarounds etc
...
See gh-17778
2021-09-17 08:58:19 +02:00
Sam Brannen
e0a4b05142
Merge branch '5.3.x'
2021-09-16 14:11:44 +02:00
Sam Brannen
008aa48d5c
Fix formatting for SQL IN clause example in ref docs
...
See gh-27388
2021-09-16 14:10:54 +02:00
Brian Clozel
33cddef026
Upgrade Javadoc URLs for JDK 17 based build
...
Prior to this commit, the Javadoc task would fail on
`spring-context-indexer` and `spring-instrumentation`. It seems that
missing remote docs or HTTP redirects were failing the process.
This commit removes the missing published Javadocs and updates the
version for the JDK API.
See gh-17778
2021-09-15 18:45:15 +02:00
Brian Clozel
4e3d1fa4e9
Temporarily downgrade Java compat level for AspectJ classes
...
AspectJ doesn't support JDK17 language level (yet).
For the time being, this commit is downgrading the language level for
the aspectJ generated classes to 1.8.
See gh-27416
2021-09-15 16:20:48 +02:00
Juergen Hoeller
cf2429b0f0
Remove support for deprecated Java SecurityManager (-> JDK 17 build compatibility)
...
Includes hard JDK 9+ API dependency in CGLIB ReflectUtils (Lookup.defineClass) and removal of OutputStream spy proxy usage (avoiding invalid Mockito proxy on JDK 17)
Closes gh-26901
2021-09-15 15:30:25 +02:00
Juergen Hoeller
0640da74bc
Upgrade to Checkstyle 9.0, Groovy 3.0.9, Hibernate ORM 5.5.7
...
Includes downgrade of Kotlin language level to 1.8 (for KotlinScriptTemplateTests)
2021-09-15 15:26:13 +02:00
Brian Clozel
f53bf8e9e1
Merge branch '5.3.x'
2021-09-15 14:44:39 +02:00
Brian Clozel
00eef79e5c
Upgrade to JApicmp Gradle Plugin 0.3.0
...
Fixes gh-27414
2021-09-15 14:40:42 +02:00
Sam Brannen
350d3e8b22
Update @since tag in code template to 6.0
2021-09-15 14:24:14 +02:00
Brian Clozel
09b233365f
Update project version to 6.0.0-SNAPSHOT
2021-09-15 14:03:51 +02:00
Brian Clozel
c0e479460e
Switch CI pipeline to a JDK17 baseline
...
This commit introduces a new `spring-framework-6.0.x` CI pipeline with
JDK 17 baseline.
Note that Kotlin still uses a JDK11 baseline for now, this will be
addressed in gh-27413.
Closes gh-27409
2021-09-15 12:37:10 +02:00
Brian Clozel
7907478d36
Watch 5.3.x branch in the CI pipeline
...
Main branch has moved to the 6.0.x line, so this commit updates this CI
pipeline to the new 5.3.x maintenance branch.
2021-09-15 12:17:07 +02:00
Spring Builds
c7cca2e879
Next development version (v5.3.11-SNAPSHOT)
2021-09-15 07:24:10 +00:00
Stephane Nicoll
aa14c24899
Migrate to Spring Builds account
2021-09-15 09:06:44 +02:00
Stephane Nicoll
4c720eaa38
Fix GitHub credentials to use token rather than password
...
Closes gh-27402
2021-09-15 08:41:10 +02:00
Sam Brannen
2d65bce18e
Polish Eclipse IDE support
2021-09-14 21:59:32 +02:00
Juergen Hoeller
b8b85a6a59
Defensive handling of dimensions nullability
2021-09-14 21:49:23 +02:00
Juergen Hoeller
3baacedfd9
Alignment with other abstract utils classes
2021-09-14 21:49:12 +02:00
Sam Brannen
4322ee1944
Polish Eclipse IDE support
2021-09-14 21:42:00 +02:00
Sam Brannen
3faf445603
Re-enable import into Eclipse IDE
...
The migration to Gradle 7.2 resulted in a regression for our Eclipse
IDE support: several projects ended up with recursive classpath entries
in their generated .classpath files which prevent those projects from
being built within Eclipse.
This commit addresses this issue with a solution that may well be a
"hack". Nonetheless, a working hack is better than not being able to
import into Eclipse at all.
See gh-26870
2021-09-14 21:05:57 +02:00
Sam Brannen
9e986c031b
Polish ide.gradle
2021-09-14 20:51:59 +02:00
Sam Brannen
f07e6a1b9d
Support char primitive default values in BeanUtils.instantiateClass()
...
Closes gh-27390
2021-09-14 16:12:21 +02:00
Sam Brannen
5cc09849ce
Introduce test for gh-27390
2021-09-14 16:05:41 +02:00
takeaction21
92cd680a2c
Support float and double primitive default values in BeanUtils.instantiateClass()
...
See gh-27390
2021-09-14 16:05:41 +02:00
Rossen Stoyanchev
caf88ff2cc
Improve HandlerMethod#bridgedMethod initialization
...
Ensure makeAccessible is called once when the bridgedMethod is
initialized.
Closes gh-19795
2021-09-14 14:58:11 +01:00
Sam Brannen
813dbbce58
Polish contribution
...
See gh-27388
2021-09-14 15:06:37 +02:00
Dmitriy Bogdanov
c46cc666d6
Fix some typos and mistakes in ref docs
...
Closes gh-27388
2021-09-14 15:06:19 +02:00
Rossen Stoyanchev
674dc2f203
Do not log request parameters for multipart requests
...
Closes gh-27350
2021-09-14 13:40:44 +01:00
Brian Clozel
8adf28763b
Upgrade to Reactor 2020.0.11
...
Closes gh-27399
2021-09-14 14:24:47 +02:00
Sam Brannen
b1a4d3033b
Avoid usage of deprecated Gradle API in spring-oxm.gradle
...
This upgrade avoids the warning about the following on Gradle 7.1+.
- The SourceDirectorySet.outputDir property has been deprecated.
Closes gh-26870
2021-09-14 11:35:12 +02:00
Sam Brannen
8c14251a1a
Upgrade to nohttp 0.0.10
...
This upgrade avoids warnings about the following on Gradle 7.1+.
- The Report.destination property has been deprecated.
- The JavaExec.main property has been deprecated.
See gh-26870
2021-09-14 11:24:28 +02:00
Sam Brannen
18ee308e4e
Delete obsolete Assume test utility
2021-09-14 10:58:38 +02:00
Juergen Hoeller
6540e87ac0
Upgrade to Netty 4.1.68, Jackson 2.12.5, Mockito 3.12.4, MockK 1.12, JsonPath 2.6
2021-09-13 18:14:05 +02:00
Juergen Hoeller
6c17e9375b
Reduce log statement for non-unique JavaBean property to debug level
...
Closes gh-27372
2021-09-13 18:13:41 +02:00
yokotaso
0a776a76d1
Fix memory leak on AOP Proxy class definition cache
2021-09-13 18:08:01 +02:00