Stephane Nicoll
90759fb38f
Relocate duplicated mock implementations to test fixtures
...
Closes gh-28659
4 years ago
Stephane Nicoll
e49cfb8523
Merge pull request #28658 from izeye
...
* pr/28658:
Guard logging in RuntimeHintsBeanFactoryInitializationAotProcessor
Closes gh-28658
4 years ago
Johnny Lim
5ae3902d71
Guard logging in RuntimeHintsBeanFactoryInitializationAotProcessor
...
See gh-28658
4 years ago
Stephane Nicoll
365481379d
Fix hint generation for Autowired fields
...
Close gh-28655
4 years ago
Sébastien Deleuze
36012ffea9
Merge branch '5.3.x'
4 years ago
Sébastien Deleuze
854307d8d8
Document that Kotlin inline classes are not supported
...
Closes gh-28642
4 years ago
Sébastien Deleuze
3401359bdf
Refine @Required Kotlin documentation
...
Refine @Required Kotlin documentation to use
annotation use site targets.
Closes gh-28630
4 years ago
Sébastien Deleuze
f1c00dd8a6
Fix a typo in ResponseEntity documentation
...
Closes gh-28647
4 years ago
Sam Brannen
a1f14e8eeb
Merge branch '5.3.x'
4 years ago
Sam Brannen
bdf91ac435
Set default encoding for Eclipse projects to UTF-8
...
This change aligns with Java 18 support in recent versions of Eclipse.
4 years ago
Lars Grefer
181023c0c3
Update to Bouncycastle 1.71
...
Closes gh-28636
4 years ago
Lars Grefer
f41b99218e
Update to Bouncycastle 1.71
4 years ago
Sébastien Deleuze
16d6dc3611
Add Kotlinx Serialization support to BindingReflectionHintsRegistrar
...
Closes gh-28635
4 years ago
Sam Brannen
b5c0c6d53d
Merge branch '5.3.x'
...
# Conflicts:
# spring-test/src/main/java/org/springframework/test/web/servlet/request/MockMvcRequestBuilders.java
4 years ago
Sam Brannen
fb1fa073a6
Polishing
4 years ago
Sam Brannen
e9806a96dc
Polish contribution and introduce test
...
See gh-28631
4 years ago
Johnny Lim
9b93508374
Add MockMvcRequestBuilders.multipart(HttpMethod, String, Object...)
...
See gh-28545
Closes gh-28631
4 years ago
Sam Brannen
67b1420b32
Merge branch '5.3.x'
4 years ago
Sam Brannen
8b4750e705
Fix Kotlin example for @ComponentScan basePackages attribute
...
Closes gh-28628
4 years ago
Stephane Nicoll
389ad03518
Merge branch '5.3.x'
4 years ago
Spring Builds
2e033339d1
Next development version (v5.3.22-SNAPSHOT)
4 years ago
Arjen Poutsma
070af5ceb4
Set Kotlin language version to 1.7
...
Closes gh-28625
4 years ago
Stephane Nicoll
ba0473e885
Merge branch '5.3.x'
4 years ago
Stephane Nicoll
c75da7ba10
Upgrade to Reactor 2020.0.20
...
Closes gh-28612
4 years ago
Stephane Nicoll
ff9535ef15
Add file pattern resource hints registrar
...
This commit adds a utility method to register resources on the classpath
based on a location, name, and extension.
Closes gh-28626
4 years ago
Arjen Poutsma
4658b3fdb9
Upgrade to Kotlin 1.7.0
...
Closes gh-28619
4 years ago
Sam Brannen
360767bb50
Merge branch '5.3.x'
...
# Conflicts:
# spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
4 years ago
Sam Brannen
eeac150030
Polish contribution
...
See gh-28616
4 years ago
Fabian Gonzalez
0ce9516aef
Avoid eager instantiation of non-singleton FactoryBean in getBeanNamesForType
...
Closes gh-28616
4 years ago
Sam Brannen
e47cc44947
Polish DefaultListableBeanFactoryTests
4 years ago
Brian Clozel
7f7f458a59
Polish ResourceHintsPredicates
...
As of #28620 , `ResourcePatternHint` exposes its `toRegex` method.
The predicates should use it directly and mirror the exact matching
behavior.
See gh-28555
4 years ago
Juergen Hoeller
aa48dec697
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# spring-jms/src/main/java/org/springframework/jms/connection/CachingConnectionFactory.java
4 years ago
Juergen Hoeller
57db73dcb8
Upgrade to Tomcat 9.0.64, Jackson 2.12.7, Apache Johnzon 1.2.18, OpenPDF 1.3.28, H2 2.1.212, Mockito 4.6.1, HtmlUnit 2.62, Checkstyle 10.3
4 years ago
Juergen Hoeller
d7be1e0dab
Polishing
4 years ago
Juergen Hoeller
30c873b4b5
Move NestedServletExceptionTests to spring-web module
...
See gh-25162
4 years ago
Juergen Hoeller
e72b0a04cd
Document limitations for MessageProducer/Consumer caching with WebLogic JMS
...
Closes gh-28500
4 years ago
Juergen Hoeller
f8b41c1ad2
Consistent support for setContextClass in CGLIB beans package
...
Closes gh-28530
4 years ago
Sébastien Deleuze
c235ad0b35
Introduce ResourcePatternHint#toRegex
...
This change is done for several reasons:
- Move the logic where it is documented.
- Test it with ResourcePatternHintTests.
- Allow RuntimeHintsPredicates to leverage this logic.
Closes gh-28620
4 years ago
Stephane Nicoll
77ad4a1428
Polish
4 years ago
Stephane Nicoll
d6d4b98780
Add ifPresent utility methods on RuntimeHints
...
This commit adds a utility method to register a type for reflection if
it is available on the classpath. It also adds a method to register a
resource pattern if a given location is available.
Closes gh-28617
4 years ago
Juergen Hoeller
c4e8ffece1
Remove outdated NativeDetector check for Kotlin reflection
...
See gh-25179
4 years ago
Juergen Hoeller
639c047f2f
Apply StringUtils.cleanPath for Windows path compatibility
...
See gh-28006
4 years ago
Juergen Hoeller
a14650e0dc
findAnnotationOnBean only falls back to bean class in case of no factory method
...
Most importantly, static @Bean methods do not expose their @Configuration class-level annotations anymore, aligned with the behavior for non-static @Bean methods.
Closes gh-28298
4 years ago
Juergen Hoeller
083113d8a4
Use SQLExceptionSubclassTranslator by default (avoiding sql-error-codes.xml)
...
SQLErrorCodeSQLExceptionTranslator kicks in for user-provided sql-error-codes.xml files. It will still pick up Spring's legacy default error code mappings as well but only when triggered by a (potentially empty) user-provided file in the root of the classpath.
Closes gh-28216
4 years ago
Juergen Hoeller
4e1b9f1492
Replace deep exception message nesting with custom inclusion of cause messages
...
Includes deprecation of NestedServletException, whereas NestedCheckedException and NestedRuntimeException remain as base classes with several convenience methods.
Closes gh-25162
4 years ago
rstoyanchev
933965b7b4
Merge branch '5.3.x'
4 years ago
Arjen Poutsma
bf9f261b95
Revert "Support recursive annotations in merged annotations"
...
This reverts commit 3ec612aaf8 .
4 years ago
Arjen Poutsma
df37e33105
Revert "Ensure fix for gh-28012 is actually tested"
...
This reverts commit 3188c0f7db .
4 years ago
rstoyanchev
8c777111fa
Revise commit #52d068 with corrected test
...
Update test detecting RouterFunction beans in parent contexts to use
different bean names and avoid shadowing. Changed the fix accordingly
given that BeanProvider does detect beans in parent contexts.
See gh-28595
4 years ago
Arjen Poutsma
1881e48bb4
Remove Jetty dependencies from JdkHttpClientResourceFactory
...
This commit removes the Eclipse Jetty dependencies from
JdkHttpClientResourceFactory, replacing them with a check for
ExecutorService.
Closes gh-28588
4 years ago