Sam Brannen
f5503298fb
Handle missing dependencies for optional TestExecutionListener again
...
Commit d1b65f6d3e
introduced a regression regarding the handling of
missing dependencies for optional (typically default)
TestExecutionListeners.
Prior to d1b65f6d3e
a TestExecutionListener was instantiated using
java.lang.Class.newInstance() which never throws an
InvocationTargetException. With the switch to the new
SpringFactoriesLoader APIs, a TestExecutionListener is now instantiated
using java.lang.reflect.Constructor.newInstance(Object...) which can
throw an InvocationTargetException.
This commit addresses the regression by unwrapping the target exception
in an InvocationTargetException.
See gh-28666
Closes gh-28828
2 years ago
Sam Brannen
9962aa00a0
Introduce TestClassScanner to locate Spring test classes for AOT processing
...
This commit introduces the TestClassScanner which scans provided
classpath roots for Spring integration test classes using the JUnit
Platform Launcher API which allows all registered TestEngines to
discover tests according to their own rules.
The scanner currently detects the following categories of Spring
integration test classes.
- JUnit Jupiter: classes that register the SpringExtension via
@ExtendWith .
- JUnit 4: classes that register the SpringJUnit4ClassRunner or
SpringRunner via @RunWith .
- Generic: classes that are annotated with @ContextConfiguration or
@BootstrapWith .
The scanner has been tested with the following TestEngine
implementations for the JUnit Platform.
- JUnit Jupiter
- JUnit Vintage
- JUnit Platform Suite Engine
- TestNG Engine for the JUnit Platform
Closes gh-28824
2 years ago
Arjen Poutsma
db43425bf9
Javadoc
2 years ago
Arjen Poutsma
f145b53fc8
Use existing context path in DefaultServerRequestBuilder
...
Closes gh-28820
2 years ago
Arjen Poutsma
1e03b30d33
Use existing context path in DefaultServerRequestBuilder
...
Closes gh-28820
2 years ago
rstoyanchev
bf63309d05
Allow empty path in MockMvc
...
Closes gh-28823
2 years ago
Stephane Nicoll
963fd75aff
Merge branch '5.3.x'
2 years ago
Spring Builds
7df149c8b8
Next development version (v5.3.23-SNAPSHOT)
2 years ago
rstoyanchev
4c08c276f7
Avoid NPE in PathMatchConfigurer
...
Closes gh-28816
2 years ago
rstoyanchev
f814fb420b
Merge branch '5.3.x'
2 years ago
rstoyanchev
e50131d454
Add Consumer methods to configure Jackson modules
...
Closes gh-28633
2 years ago
rstoyanchev
cdd4e8cd7f
Improve regex support for URL path matching
...
Closes gh-28815
2 years ago
Juergen Hoeller
7a042062f5
Compatibility with Hibernate 6.0/6.1 (for transitional purposes)
...
Closes gh-28813
2 years ago
Juergen Hoeller
cabd126fb8
Upgrade to Woodstox 6.3, Gson 2.9, Protobuf 3.21.2
2 years ago
Juergen Hoeller
a426f87a5f
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# spring-aop/src/main/java/org/springframework/aop/aspectj/AbstractAspectJAdvice.java
2 years ago
Sam Brannen
a81558ee5a
Polishing
2 years ago
Juergen Hoeller
02b7ddbc70
Upgrade to Log4J 2.18, H2 2.1.214, OpenPDF 1.3.29, XStream 1.4.19, HtmlUnit 2.63, Jetty Reactive HttpClient 1.1.12
2 years ago
Juergen Hoeller
8e5c4903d4
Avoid synchronization in AbstractAspectJAdvice#calculateArgumentBindings
...
Aligned with the early calculateArgumentBindings call in ReflectiveAspectJAdvisorFactory.
Closes gh-26377
2 years ago
Sam Brannen
0fb9de5d0e
Merge branch '5.3.x'
2 years ago
Marc Wrobel
bd3499671c
Fix typos in test code
...
This commit fixes typos in test class names, test method names, and
test variable names.
Closes gh-28807
2 years ago
Sam Brannen
8242897c81
Merge branch '5.3.x'
2 years ago
Sam Brannen
2e4d7e4ef9
Polishing
2 years ago
Marc Wrobel
c6be3b33c9
Fix and improve Javadoc in spring-aop
...
Closes gh-28803
2 years ago
Marc Wrobel
c112bb0ae1
Fix and improve Javadoc in spring-beans
...
See gh-28803
2 years ago
Sam Brannen
0b5c5dbc31
Merge branch '5.3.x'
2 years ago
Marc Wrobel
165fba868c
Fix typos in reference docs
...
Closes gh-28805
2 years ago
Marc Wrobel
2ca64ad88a
Fix minor typos in project README
...
See gh-28805
2 years ago
Sam Brannen
aae9050351
Merge branch '5.3.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/annotation/Async.java
# spring-context/src/testFixtures/java/org/springframework/context/testfixture/jndi/SimpleNamingContextBuilder.java
# spring-core/src/main/java/org/springframework/core/BridgeMethodResolver.java
# spring-core/src/main/java/org/springframework/util/MimeType.java
2 years ago
Sam Brannen
ea27206a32
Polishing
2 years ago
Marc Wrobel
c48c5e7691
Fix and improve Javadoc in spring-context
...
Closes gh-28802
2 years ago
Marc Wrobel
bc15f839cd
Fix and improve Javadoc in spring-core
...
See gh-28802
2 years ago
rstoyanchev
ff9a4ab35c
Update documentation for RFC 7807 support
...
Closes gh-28438
2 years ago
rstoyanchev
eea793be98
Move sections on REST API exceptions 2 levels up
...
See gh-28438
2 years ago
rstoyanchev
3badc47647
Polishing
2 years ago
Sam Brannen
89f66ccf6a
Merge branch '5.3.x'
...
# Conflicts:
# spring-jms/src/main/java/org/springframework/jms/listener/endpoint/StandardJmsActivationSpecFactory.java
2 years ago
Sam Brannen
46db372951
Polishing
2 years ago
Marc Wrobel
91258271e4
Fix and improve Javadoc in spring-expression
...
Closes gh-28800
2 years ago
Marc Wrobel
e76fbcb290
Fix and improve Javadoc in spring-jms
...
See gh-28800
2 years ago
Marc Wrobel
82ca27e46f
Fix and improve Javadoc in spring-messaging
...
See gh-28800
2 years ago
Sam Brannen
ddd11610cf
Merge branch '5.3.x'
...
# Conflicts:
# spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DriverManagerDataSource.java
# spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java
2 years ago
Marc Wrobel
bca104798b
Fix and improve Javadoc in spring-jdbc
...
Closes gh-28796
2 years ago
Marc Wrobel
b30eb6837c
Fix and improve Javadoc in spring-oxm
...
See gh-28796
2 years ago
Marc Wrobel
ac06d1dfa9
Fix and improve Javadoc in spring-orm
...
See gh-28796
2 years ago
Marc Wrobel
cfb39acc97
Fix and improve Javadoc in spring-r2dbc
...
See gh-28796
2 years ago
Sam Brannen
3ff1326cbb
Merge branch '5.3.x'
2 years ago
Sam Brannen
222dbf8377
Update copyright date
2 years ago
kacperkrzyzak
10838a636f
Correctly identify MaxUploadSizeExceededException in StandardMultipartHttpServletRequest
...
This commit correctly identifies MaxUploadSizeExceededException in
StandardMultipartHttpServletRequest by converting keywords in the
exception message to lowercase before checking for their presence, for
compatibility with Jetty 9.4.x.
Closes gh-28759
2 years ago
Sam Brannen
d660f5f62f
Fix Javadoc in ResponseEntityExceptionHandler
2 years ago
Sam Brannen
353666627f
Polishing
2 years ago
rstoyanchev
263811ecfa
Add WebFlux equivalent of ResponseEntityExceptionHandler
...
Closes gh-28665
2 years ago