Commit Graph

1709 Commits (bb7936a0000e070eb7c64700e4abd881204e1802)

Author SHA1 Message Date
Phillip Webb bb7936a000 Merge branch '2.3.x'
Closes gh-21896
5 years ago
Phillip Webb 069d2769f4 Reinstate disabled Reactor Netty test
Reinstate test now that we are on a reactor-netty releases that fixes
reactor/reactor-netty issue 1093.

Closes gh-21437
5 years ago
Madhura Bhave fc9760ba49 Merge branch '2.3.x'
Closes gh-21894
5 years ago
dreis2211 469dfc285b Fix deprecation in NettyRSocketServerFactoryTests
See gh-21872
5 years ago
Phillip Webb 087c62d34b Merge branch '2.3.x' 5 years ago
Phillip Webb 3b71403b99 Merge branch '2.2.x' into 2.3.x 5 years ago
Phillip Webb ac197be815 Fix checkstyle issue 5 years ago
Phillip Webb aecd13bb9b Merge branch '2.3.x' 5 years ago
Phillip Webb 7e5d6bafa8 Merge branch '2.2.x' into 2.3.x 5 years ago
Phillip Webb 02bfc9d30a Polish 5 years ago
Madhura Bhave f96a2f2b83 Merge branch '2.3.x'
Closes gh-21881
5 years ago
Madhura Bhave 83485e625d Merge branch '2.2.x' into 2.3.x
Closes gh-21880
5 years ago
Madhura Bhave 4e014da9e9 Return all loggers for Log4j2
This commit aligns log4j2's behavior with logback such that loggers
with a null configuredLevel are also returned by the actuator endpoint.

Fixes gh-20037
5 years ago
Madhura Bhave 92ce94b3d8 Align default log levels for Log4j2 and Logback
Fixes gh-21293
5 years ago
Andy Wilkinson 6e68101b9f Upgrade to Postgresql 42.2.13
Closes gh-21859
5 years ago
Phillip Webb 621d120ba3 Merge branch '2.3.x'
Closes gh-21735
5 years ago
Phillip Webb c11abf48d9 Polish 'Allow beans without public constructors to load'
See gh-20929
5 years ago
Vlad Kisel d8d8f9cf0b Allow beans without public constructors to load
Allow `BeanDefinitionLoader` to load classes that don't have public
constructors. The constraint was first introduced in d82c50804f to
solve an issue with anonymous Groovy classes but causes particular
problems with `@SpringBootTest`.

See gh-20929
5 years ago
Phillip Webb 5f79bd2a09 Merge branch '2.3.x'
Closes gh-21734
5 years ago
dreis2211 2b5569f054 Polish
See gh-21732
5 years ago
Phillip Webb d356a24a07 Merge branch '2.3.x'
Closes gh-21726
5 years ago
Phillip Webb 47c1928189 Polish 'Optimize SystemEnvironmentPropertyMapper'
Introduce a new `ConfigurationPropertyName.ofIfValid` method to
save us needing to throw and catch an exception unnecessarily.

See gh-21523
5 years ago
dreis2211 0378de7b30 Optimize SystemEnvironmentPropertyMapper
See gh-21523
5 years ago
dreis2211 f8d6d9a4b0 Call append only when necessary
See gh-21523
5 years ago
dreis2211 33deba4948 Use chars rather than strings
Update `SystemEnvironmentPropertyMapper` to use single chars
rather than strings whenever possible.

See gh-21523
5 years ago
Phillip Webb b1044ca883 Update copyright year of changed files 5 years ago
Phillip Webb 8a7a5929ae Merge branch '2.3.x' 5 years ago
Phillip Webb cc50605687 Merge branch '2.2.x' into 2.3.x 5 years ago
Phillip Webb 0a05b4c9fd Update copyright year of changed files 5 years ago
Andy Wilkinson 82cc7e972d Polish "Print the java version being used on startup"
See gh-21559
5 years ago
dreis2211 731c192817 Print the java version being used on startup
See gh-21559
5 years ago
dreis2211 85a6686cae Add Java 15 to JavaVersion enum
See gh-21691
5 years ago
Phillip Webb 4d37430bfe Use servlet context that can access classloader
Update `SpringBootServletInitializer` to use the `ServletContext` that
was provided to the initial `onStartup` call rather than the
one from the `ServletContextEvent`. This allows the `getClassLoader()`
call to complete without throwing an `UnsupportedOperationException`.

Fixes gh-21684
5 years ago
Phillip Webb e39d7971fb Merge branch '2.2.x' into 2.3.x 5 years ago
Phillip Webb 864daab03a Merge branch '2.1.x' into 2.2.x 5 years ago
Phillip Webb b5fe3c3494 Refine YAML type restriction error
Closes gh-21596
5 years ago
Phillip Webb ebb3f5f286 Merge branch '2.2.x' into 2.3.x
Closes gh-21660
5 years ago
Phillip Webb 4fc0dec6c4 Support wrapped random property sources
Update `SpringConfigurationPropertySource` so that wrapped random
property sources can be used. It's assumed that wrapped random
sources will use the name of the source as the prefix.

Closes gh-21595
5 years ago
Phillip Webb 2589f980d5 Merge branch '2.2.x' into 2.3.x
Closes gh-21655
5 years ago
Phillip Webb 09a47c9aad Fix containsDescendantOf for random sources
Fix the `containsDescendantOf` logic for random property sources to
ensure that ancestors are correctly matched.

Closes gh-21654
5 years ago
Phillip Webb 4dff0beb80 Merge branch '2.2.x' into 2.3.x
Closes gh-21645
5 years ago
Phillip Webb 14e6c734a9 Merge branch '2.1.x' into 2.2.x
Closes gh-21643
5 years ago
Phillip Webb 95031295b9 Restore TomcatReactiveWebServerFactoryTests
Restore tests that were previously ignored due to a framework bug.

Closes gh-19702
5 years ago
Phillip Webb a84b7bccf1 Merge branch '2.2.x' 5 years ago
Phillip Webb 14c9804c5c Fix checkstyle issues 5 years ago
Phillip Webb 1c3f147c1e Merge branch '2.2.x'
Closes gh-21598
5 years ago
Phillip Webb af90604030 Merge branch '2.1.x' into 2.2.x
Closes gh-21597
5 years ago
Phillip Webb 587b840666 Restrict use of custom YAML types
Update `YamlJsonParser` and `OriginTrackedYamlLoader` to ensure that
custom types cannot be loaded.

Closes gh-21596
5 years ago
Andy Wilkinson f17f1255a4 Do not change availability on close unless context is active
Previously, an AvailabilityChangeEvent was published when the servlet
and reactive web server application contexts were closed, irrespective
of whether or not the context was active. This caused problems when
the context was not active due to a refresh failure as the event
publication could then trigger bean creation and post-processing that
relied upon beans that had been destroyed when cleaning up after the
refresh failure. The most commonly seen symptom was a missing
importRegistry bean that is required by ImportAwareBeanPostProcessor.

This commit updates the two web server application contexts to only
publish the availability change event if the context is active.

Fixes gh-21588
5 years ago
Stephane Nicoll 4317b29b9a Tolerate change in method format
This commit polishes the assertions of the NoSuchMethodError failure
analyzer as the method format changes according to the JDK.

See gh-21587
5 years ago