1. 14 Aug, 2017 2 commits
  2. 11 Aug, 2017 3 commits
  3. 09 Aug, 2017 12 commits
  4. 04 Aug, 2017 1 commit
  5. 03 Aug, 2017 4 commits
  6. 01 Aug, 2017 2 commits
  7. 31 Jul, 2017 1 commit
  8. 28 Jul, 2017 11 commits
  9. 27 Jul, 2017 4 commits
    • Andy Wilkinson's avatar
      Merge pull request #9678 from Priyanshi Goyal · b190a077
      Andy Wilkinson authored
      * gh-9678:
        Polish "Deprecate JsonContent.assertThat()"
        Deprecate JsonContent.assertThat()
      b190a077
    • Andy Wilkinson's avatar
      Polish "Deprecate JsonContent.assertThat()" · 7a4c18ea
      Andy Wilkinson authored
      Closes gh-9678
      7a4c18ea
    • Priyanshi's avatar
      Deprecate JsonContent.assertThat() · fa574910
      Priyanshi authored
      See gh-9678
      fa574910
    • Andy Wilkinson's avatar
      Ensure that preinitialization has completed before run returns · d62c26c9
      Andy Wilkinson authored
      Previously, background preinitialization was started in response to
      an ApplicationEnvironmentPreparedEvent and would complete at an
      undetermined time later. This opened a window where SpringApplication
      run could return and background preinitialization could still be
      in progress. If, within this window, something attempted to configure
      the logging system, an IO failure could occur as logging on the
      background preinitialization thread would attempt to use resources
      that had been closed.
      
      This commit updates BackgroundPreinitializer so that it waits for
      preinitialization to have completed when it receives an application
      ready or application failed event. This prevents SpringApplication
      run from returning while preinitialization is still in progress,
      closing the window described above.
      
      With info level logging enabled it appears that background
      preinitialization consistently completes before the application ready
      event is published. As a result, waiting should have no adverse effect
      on performance in normal circumstances. With logging configured such
      that background preinitialization outputs a large volume of log
      messages (enabling trace logging for the root logger, for example), it
      will be slowed down sufficiently for waiting to be necessary.
      
      Closes gh-5669
      d62c26c9