Sam Brannen
6325ca95a6
Merge branch '5.3.x'
...
# Conflicts:
# gradle.properties
# spring-webmvc/src/test/java/org/springframework/web/servlet/DispatcherServletTests.java
4 years ago
Sam Brannen
6a67b4a2aa
Polish SpringFactoriesLoaderRuntimeHintsRegistrar
...
See gh-27955
4 years ago
Sam Brannen
06679a5583
Fix tests in DispatcherServletTests
...
See gh-28424
4 years ago
Sam Brannen
745eb1a881
Polish DispatcherServletTests
4 years ago
Brian Clozel
e6c0152916
Force AOT resolution of Spring Factories constructors
...
This commit forces the resolution of all declared constructors when
registering `RuntimeHints` for Spring factories. Resolving constructors
can throw additional `NoClassDefFoundError` at runtime and during native
image compilation, if a type exposed by the constructor is missing from
the current classloader.
See gh-27955
4 years ago
Spring Builds
10c55ff912
Next development version (v5.3.21-SNAPSHOT)
4 years ago
Juergen Hoeller
8b6dcb9ccc
Merge branch '5.3.x'
4 years ago
Juergen Hoeller
83186b689f
Refine CachedIntrospectionResults property introspection
...
Closes gh-28445
4 years ago
rstoyanchev
dc2947c52d
Ignore invalid connect frame
...
Closes gh-28443
4 years ago
Phillip Webb
2961426d8a
Fix checkstyle issues and test failures
...
See gh-27955
See gh-28442
4 years ago
Phillip Webb
83063a7269
Update '.mailmap` to consistently use @vmware.com emails
4 years ago
Brian Clozel
267b91486e
Add native hints for SpringFactoriesLoader file content
...
Add `SpringFactoriesLoaderRuntimeHintsRegistrar` which provides
native hints for `spring.factories` content.
Closes gh-27955
Co-authored-by: Phillip Webb <pwebb@vmware.com>
4 years ago
Phillip Webb
e7e60f7cb9
Add native hints for core annotations
...
Add `CoreAnnotationsRuntimeHintsRegistrar` to provide native hints
for `@Order` and `@AliasFor`.
Closes gh-28442
4 years ago
Phillip Webb
4cebd9d392
Fix SpringFactoriesLoader cache key when using default classloader
...
Update `SpringFactoriesLoader` so that `null` is never used for the
cache key. Prior to this commit, calling `forDefaultResourceLocation`
with `null` and `ClassUtils.getDefaultClassLoader()` would provide
different `SpringFactoriesLoader` instances rather than making use
of a single shared cached instance.
See gh-28416
4 years ago
Sam Brannen
eb50a6f4a0
Further polishing regarding JDK baseline upgrade
...
See gh-28440
4 years ago
lihan
a892ce80c1
Polishing regarding JDK baseline upgrade
...
Closes gh-28440
4 years ago
Arjen Poutsma
5c5c89e9fe
Merge branch '5.3.x'
4 years ago
Arjen Poutsma
e4ec376075
Disabling Undertow server in CoroutinesIntegrationTests
4 years ago
Juergen Hoeller
4e687ab460
Upgrade to Groovy 4.0.2
4 years ago
Juergen Hoeller
c1a5b462c2
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
4 years ago
Arjen Poutsma
e29bc3db7c
Refactor PartGenerator to use isLast
...
This commit refactors the PartGenerator to use the newly introduced
Token::isLast property.
See gh-28006
4 years ago
Sam Brannen
d44ba0a42b
Consistent formatting
4 years ago
Juergen Hoeller
c81e11d537
Polishing
4 years ago
Juergen Hoeller
de6180b093
Upgrade to Reactor 2020.0.19
...
Includes Netty 4.1.77 and RxJava 3.1.4.
Closes gh-28437
4 years ago
Sam Brannen
da112a7ea8
Remove obsolete SpEL expression grammar file
...
The antlr-based SpEL expression grammar file (SpringExpressions.g) was
introduced during initial development and prototyping of the Spring
Expression language; however, it was quickly abandoned in favor of a
handcrafted implementation. Consequently, it has become obsolete over
time and has never been actively maintained.
This commit therefore removes the obsolete SpEL expression grammar file.
Closes gh-28425
4 years ago
rstoyanchev
922636e85e
Content decoding in client exceptions
...
Closes gh-28190
4 years ago
rstoyanchev
64795664b2
Add ClientHttpResponseDecorator
...
See gh-28190
4 years ago
rstoyanchev
6b1a8452fa
Polishing
4 years ago
Sam Brannen
d8f650e3ca
Polishing
4 years ago
evgeny.bovykin
7cb6ac0a02
Make inner classes static when feasible (on main)
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
4 years ago
Sam Brannen
d45b5f6e8a
Merge branch '5.3.x'
...
# Conflicts:
# spring-webflux/src/main/java/org/springframework/web/reactive/resource/VersionResourceResolver.java
# spring-webmvc/src/main/java/org/springframework/web/servlet/resource/VersionResourceResolver.java
4 years ago
Sam Brannen
1c10cdd1e8
Update copyright dates
...
See gh-28433
4 years ago
evgeny.bovykin
941b92cbed
Make inner classes static when feasible
...
A static nested class does not keep an implicit reference to its
enclosing instance.
This prevents a common cause of memory leaks and uses less memory per
instance of the class.
Closes gh-28433
4 years ago
Phillip Webb
3df3bc2aa0
Generate native hints for property values
...
Update `BeanDefinitionPropertiesCodeGenerator` so that hints are
generated for property values. This restores functionality that was
inadvertently removed during refactoring.
See gh-28414
4 years ago
Sam Brannen
91441ba653
Update copyright date
4 years ago
CharlieYu
432fce9db3
Polish Javadoc and inline comments
...
Closes gh-28426
4 years ago
Sam Brannen
5f8a4bcdc5
Merge branch '5.3.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/jmx/export/MBeanExporter.java
# spring-context/src/main/java/org/springframework/scripting/support/StandardScriptFactory.java
4 years ago
rstoyanchev
8378af9e39
Polishing
...
See gh-28189
4 years ago
rstoyanchev
78ab4d7118
Support content negotiation for RFC 7807
...
Closes gh-28189
4 years ago
Sam Brannen
e26d8839b3
Stop referring to features as Java 6/7 features where unnecessary
4 years ago
Simon Baslé
f3fd8f9e1d
Update Reactor BOM to 2022.0.0-M2
...
Closes gh-28365
4 years ago
Sam Brannen
f7d032c924
Polish formatting
4 years ago
Sam Brannen
6c131ef9dc
Merge branch '5.3.x'
4 years ago
Sam Brannen
a1c7380398
Add test for `value` attribute in @ModelAttribute in WebFlux
...
This complements the previous commit which tested only the `name`
attribute.
See gh-28423
4 years ago
Maciej Walkowiak
2713f28c28
Fix typo in declarative HTTP interfaces docs
...
Closes gh-28431
4 years ago
rstoyanchev
d2b674391a
Add documentation for interface proxy client
...
Closes gh-28386
4 years ago
rstoyanchev
54d90aa6f5
Remove Remoting and EJB sections in reference docs
4 years ago
rstoyanchev
5d0f49c2c8
Add WebInputException subclasses
...
Closes gh-28142
4 years ago
evgeny.bovykin
06e1cc2f9b
Use Arrays.toString for initMethodNames and destroyMethodNames arrays in AbstractBeanDefinition#toString
4 years ago
Sam Brannen
061d1263f8
Merge branch '5.3.x'
4 years ago