Commit Graph

23624 Commits (eafa595ed3e4f540ab1daae22df4d46e495da53b)
 

Author SHA1 Message Date
Andy Wilkinson eafa595ed3 Upgrade to Gson 2.8.6
Closes gh-18592
5 years ago
Stephane Nicoll 0bc5803e34 Merge branch '2.1.x'
Closes gh-18603
5 years ago
Stephane Nicoll e4ba6049ff Clarify scope of "@SpringBootTest#classes"
See gh-18229
5 years ago
Stephane Nicoll 2bf8073446 Polish
See gh-18440
5 years ago
Andy Wilkinson b240c810a8 Fix @ConfigurationProperties on @Bean methods without metadata caching
Due to a current limitation of Spring Framework, when bean metadata
caching is disabled, a merged bean definition may have a null
resolved factory method that would have been non-null if bean metadata
caching was enabled. Configuration property binding for @Bean methods
annotated with @ConfigurationProperties relied upon the resolved
factory method being enabled to find the @ConfigurationProperties
annotation and trigger property binding. As a result, when bean
metadata caching is disabled on the bean factory, such
@ConfigurationProperties beans would not be bound.

This commit works around the limitation by adding a fallback that
performs a reflection-based search for the factory method when the
resolved factory method on the bean definition is null. This allows
the bean's factory method and any @ConfigurationProperties annotation
on it to be found, ensuring that propoerty binding is then performed.

Fixes gh-18440
5 years ago
Stephane Nicoll 3dac8e9abd Merge pull request #18477 from dsyer
* pr/18477:
  Polish "Add some more notes on running exploded jar files"
  Add some more notes on running exploded jar files

Closes gh-18477
5 years ago
Stephane Nicoll 4efb4d1dd3 Polish "Add some more notes on running exploded jar files"
See gh-18477
5 years ago
Dave Syer 3f2dd30808 Add some more notes on running exploded jar files
See gh-18477
5 years ago
Stephane Nicoll 391eb279df Merge branch '2.1.x'
Closes gh-18588
5 years ago
Stephane Nicoll c5e14a89b1 Merge pull request #18581 from polarbear567
* pr/18581:
  Polish "Add metadata entry for spring.main.register-shutdown-hook"
  Add metadata entry for spring.main.register-shutdown-hook

Closes gh-18581
5 years ago
Stephane Nicoll 22f44917ca Polish "Add metadata entry for spring.main.register-shutdown-hook"
See gh-18581
5 years ago
leoli 9b781449cf Add metadata entry for spring.main.register-shutdown-hook
See gh-18581
5 years ago
Stephane Nicoll 75bd15650f Merge branch '2.1.x'
Closes gh-18587
5 years ago
Stephane Nicoll 34287fd556 Merge pull request #18578 from rhamedy
* pr/18578:
  Polish "Clarify formatting recommendations for configuration property javadoc"
  Clarify formatting recommendations for configuration property javadoc

Closes gh-18578
5 years ago
Stephane Nicoll f05d7902e2 Polish "Clarify formatting recommendations for configuration property javadoc"
See gh-18578
5 years ago
Rafiullah Hamedy 1f9b68707f Clarify formatting recommendations for configuration property javadoc
This commit adds a note to spring-boot-features.adoc to clarify that
using javadoc tags to format configuration property descriptions is not
supported.

See gh-18578
5 years ago
Stephane Nicoll 98f676ca46 Merge branch '2.1.x'
Closes gh-18586
5 years ago
Stephane Nicoll f6d5f7777f Merge pull request #18580 from contextshuffling
* pr/18580:
  Use LinkedHashSet for deterministic order in test assertions

Closes gh-18580
5 years ago
contextshuffling efedd80d4b Use LinkedHashSet for deterministic order in test assertions
See gh-18580
5 years ago
Stephane Nicoll 9c6e5f0904 Merge branch '2.1.x'
Closes gh-18585
5 years ago
Stephane Nicoll 4d181c5b6b Merge pull request #18579 from dreis2211
* pr/18579:
  Rename tests to match Surefire expectations

Closes gh-18579
5 years ago
dreis2211 abfb87d1a3 Rename tests to match Surefire expectations
See gh-18579
5 years ago
Phillip Webb e20aa7dc73 Clarify ConfigurationPropertiesBean Javadoc
Update the `ConfigurationPropertiesBean` Javadoc to clarify its purpose.

Closes gh-18487
5 years ago
Andy Wilkinson 3fc51f8063 Isolate the effects of initializing Reactor's debug agent in the tests 5 years ago
Andy Wilkinson e7efe0cbfe Merge branch '2.1.x'
Closes gh-18576
5 years ago
Andy Wilkinson bc6de8d572 Merge pull request #18575 from wycm
* gh-18575:
  Make the logger static final

Closes gh-18575
5 years ago
王洋 152568521e Make the logger static final
See gh-18575
5 years ago
Andy Wilkinson 4bc3931a23 Merge pull request #18573 from sdeleuze
* gh-18573:
  Polish "Update Kotlin-related reference documentation"
  Update Kotlin-related reference documentation

Closes gh-18573
5 years ago
Andy Wilkinson 65818038fe Polish "Update Kotlin-related reference documentation"
See gh-18573
5 years ago
Sebastien Deleuze c6c9818285 Update Kotlin-related reference documentation
See gh-18573
5 years ago
Andy Wilkinson c75b06c76c Remove @ImmutableConfigurationProperties
Closes gh-18563
5 years ago
Andy Wilkinson 1a7a3118d7 Merge pull request #18571 from dreis2211
* gh-18571:
  Polish "Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration"
  Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration

Closes gh-18571
5 years ago
Andy Wilkinson cf62dc862b Polish "Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration"
See gh-18571
5 years ago
dreis2211 35dc4817dd Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration
See gh-18571
5 years ago
Stephane Nicoll 8108b556ad Fix resource cleanup in test
Closes gh-18569
5 years ago
Stephane Nicoll f7959bcd00 Merge branch '2.1.x'
Closes gh-18567
5 years ago
Stephane Nicoll e05c48986b Merge pull request #18546 from tedyoung
* pr/18546:
  Fix incorrect backslash escape in documentation sample

Closes gh-18546
5 years ago
Ted M. Young f553784ebc Fix incorrect backslash escape in documentation sample
See gh-18546
5 years ago
Stephane Nicoll f6901a505e Merge pull request #18558 from jaferkhan
* pr/18558:
  Fix package in AOP pointcut

Closes gh-18558
5 years ago
Jafer Khan 56840f32fe Fix package in AOP pointcut
See gh-18558
5 years ago
Stephane Nicoll 53b0569dae Merge pull request #18557 from dreis2211
* pr/18557:
  Polish
  Remove usage of @InjectMocks

Closes gh-18557
5 years ago
dreis2211 d8de6fff53 Polish
See gh-18557
5 years ago
dreis2211 3174f06bf2 Remove usage of @InjectMocks
See gh-18557
5 years ago
Stephane Nicoll 498ae649a8 Merge pull request #18559 from izeye
* pr/18559:
  Fix matchesNestedConfigurationClassWithoutTestMethodsIfItHasTestable()

Closes gh-18559
5 years ago
Johnny Lim 887c3b71f3 Fix matchesNestedConfigurationClassWithoutTestMethodsIfItHasTestable()
See gh-18559
5 years ago
Andy Wilkinson 9a89039172 Provide a marker artifact for Boot's Gradle plugin
Closes gh-18514
5 years ago
Stephane Nicoll 61a914fa28 Polish 5 years ago
Stephane Nicoll 06a288c305 Merge pull request #18552 from clove506
* pr/18552:
  Polish "Remove boxing"
  Remove boxing

Closes gh-18552
5 years ago
Stephane Nicoll 40bd98a3f4 Polish "Remove boxing"
See gh-18552
5 years ago
clove506 fe6da39e1b Remove boxing
See gh-18552
5 years ago