1. 01 Nov, 2016 9 commits
  2. 31 Oct, 2016 9 commits
    • Phillip Webb's avatar
      Merge pull request #7066 from youngm/pidotherevents · c6657aaf
      Phillip Webb authored
      * pr/7066:
        Support ApplicationReadyEvent from PidFileWriter
      c6657aaf
    • Mike Youngstrom's avatar
      Support ApplicationReadyEvent from PidFileWriter · 970dcc3f
      Mike Youngstrom authored
      Update `ApplicationPidFileWriter` to support `ApplicationReadyEvent` in
      addition to the already supported `ApplicationEnvironmentPreparedEvent`
      and `ApplicationPreparedEvent` events.
      
      Closes gh-7066
      Fixes gh-7027
      970dcc3f
    • Phillip Webb's avatar
      Merge pull request #7217 from gdpotter/master · 5a3b881e
      Phillip Webb authored
      * pr/7217:
        Respect 'primary' flag when replacing databases
      5a3b881e
    • Greg Potter's avatar
      Respect 'primary' flag when replacing databases · 39d5881b
      Greg Potter authored
      Update TestDatabaseAutoConfiguration to ensure that the the `primary`
      flag of the `BeanDefinition` is copied.
      
      Closes gh-7217
      39d5881b
    • Phillip Webb's avatar
      Don't detect persistenceUnitRootLocation · dbf6d3d4
      Phillip Webb authored
      Update JpaBaseConfiguration so that the persistenceUnitRootLocation is
      no longer detected. The update to gh-7003 means that we can now rely on
      the standard detection mechanism.
      
      Fixes gh-6983
      See gh-6635
      dbf6d3d4
    • Phillip Webb's avatar
      Fix ResourceHttpRequestHandler delegate · 60355e0e
      Phillip Webb authored
      Fix ResourceHttpRequestHandler to set the ServletContext following the
      Spring Framework update for SPR-14851.
      60355e0e
    • Andy Wilkinson's avatar
      Ensure getResources("") includes nested root URLs · cdcc3d2f
      Andy Wilkinson authored
      Previously, if Boot's JarURLConnection pointed to the root of a nested
      entry, e.g. /BOOT-INF/classes, a call to getInputStream() would throw
      an IOException. This behavior is reasonable for a URL that points
      to the root of a normal jar as the jar itself is on the class path
      anyway. However, for a nested jar it meant that a call to
      ClassLoader.getResources("") would not include URLs for any nested
      jars and directories (/BOOT-INF/classes and jars in /BOOT-INF/lib).
      This is due to some logic in URLClassPath.Loader.findResource that
      verifies a URL by opening a connection and calling getInputStream().
      
      The result of missing URLs for the root of nested jars and directories
      is that classpath scanning that scans from the root (not a good idea
      for performance reasons, but something that we should support) would
      not find entries in /BOOT-INF/classes or in jars in /BOOT-INF/lib.
      
      This commit updates our JarURLConnection so that it no longer throws
      an IOException when asked for an InputStream for the root of a nested
      entry (directory or jar).
      
      Fixes gh-7003
      cdcc3d2f
    • Phillip Webb's avatar
      Formatting · 57d5a2eb
      Phillip Webb authored
      57d5a2eb
    • Stephane Nicoll's avatar
      Upgrade to H2 1.4.193 · 49b244b1
      Stephane Nicoll authored
      Closes gh-7256
      49b244b1
  3. 30 Oct, 2016 4 commits
  4. 28 Oct, 2016 2 commits
    • Stephane Nicoll's avatar
      Merge branch '1.3.x' into 1.4.x · 7f8849c6
      Stephane Nicoll authored
      7f8849c6
    • Stephane Nicoll's avatar
      Fix class name in generated meta-data · 5863e6f7
      Stephane Nicoll authored
      Previously, the algorithm that computes the String representation of a
      class reference and a property type was shared. This lead to generic
      information for group's `type` and `sourceType` property.
      
      This commit separates that logic in two: `getQualifiedName` is now
      responsible to generate a fully qualified class name while the existing
      `getType` is solely responsible to generate a type representation for the
      property. Only the latter has generic information.
      
      Closes gh-7236
      5863e6f7
  5. 26 Oct, 2016 2 commits
    • Andy Wilkinson's avatar
      Restore Handler logic that was changed during its merge · 6a68c8f7
      Andy Wilkinson authored
      This commit restores the logic in Handler that was changed when
      d20ac56a was merged, while leaving the structural improvements intact.
      
      In addition to a couple of changes where a typo meant the wrong
      variable was being referenced, some logic branches now return false
      rather than called super. This realigns our Handler's behaviour with
      that of the JDK's.
      
      Some more tests have also been added to try to catch the problems that
      were introduced during the merge.
      
      Closes gh-7021
      6a68c8f7
    • Andy Wilkinson's avatar
      Align our jar URL stream handler with the JDK's · d20ac56a
      Andy Wilkinson authored
      Previously our handler didn't override parseURL or sameFile which
      resulted in behaviour that differed from that of the JDK's handler.
      Crucially, this would result in our JarURLConnection being passed
      a spec that didn't contain a "!/". A knock-on effect of this was
      that the connection would point to the root of the jar rather than
      the intended entry.
      
      Closes gh-7021
      d20ac56a
  6. 24 Oct, 2016 14 commits