Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/spring-projects/spring-boot.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Dec 17, 2015
  2. Dec 15, 2015
    • Phillip Webb's avatar
      Protect against SpEL injections · edb16a13
      Phillip Webb authored
      Prevent potential SpEL injection attacks by ensuring that whitelabel
      error view SpEL placeholders are not recursively resolved.
      
      Fixes gh-4763
      edb16a13
    • Andy Wilkinson's avatar
      Stop ActiveMQ pooled connection factory when context is closed · 7d5cc3da
      Andy Wilkinson authored
      Previously, ActiveMQ's pooled connection factory was not closed as
      part of the application context being closed. This would leave
      non-daemon threads running which could cause shutdown to hang unless
      the JVM itself was shutting down (in which case a shutdown hook would
      stop the pool).
      
      This commit configures each pooled connection factory bean with a
      custom destroy method so that the pool is stopped as part of the
      application context being closed. To allow the destroy method to only
      be declared when the connection factory is pooled, the bean method
      has been split into two; one for pooled and one for non-pooled. This
      is a partial backport of the changes made in bedf2edf.
      
      Closes gh-4748
      7d5cc3da
  3. Dec 11, 2015
  4. Dec 10, 2015
  5. Dec 09, 2015
  6. Dec 03, 2015
    • Andy Wilkinson's avatar
      Only clean up logging system when root application context is closed · 00b668b2
      Andy Wilkinson authored
      Previously, LoggingApplicationListener would clean up the logging
      system in response to any application context with which it was
      registered being closed. This caused problems when a child context was
      closed. Specifically, closing the child context would cause any
      SLF4J-based logging systems to unregister the JUL bridge handler
      preventing an JUL logging being bridged into Logback or Log4J2.
      
      This commit updates LoggingApplicationListener so that the logging
      system is only cleaned up when a root application context is
      closed.
      
      Closes gh-4651
      00b668b2
    • Ivan Chen's avatar
      Remove unused test.css from spring-boot-sample-tomcat · d6bd120b
      Ivan Chen authored
      Closes gh-4606
      d6bd120b
    • Vladimir Tsanev's avatar
      Use fast exceptions in findResource(s) · 939b66f4
      Vladimir Tsanev authored
      Some libraries like aspectj are using findResource to see the raw
      bytecode of a class. It will even call findResource for every method of
      every class of beans that are post processed. This can be significant
      performance hit on startup when LaunchedURLClassLoader and there are a
      lot of nested jars.
      
      See gh-3640
      Fixes gh-4557
      939b66f4
  7. Dec 01, 2015
    • Andy Wilkinson's avatar
      Remove inconsistent synchronization from EmbeddedWebApplicationContext · 0214fe4b
      Andy Wilkinson authored
      Previously, EmbeddedWebApplicationContext used synchronized, but did
      not do so consistently. It also synchronized on this so its lock was
      exposed outside of the class, creating a risk of deadlock if a caller
      synchronized incorrectly. Furthermore, not all fields on the class
      were sychronized so the class wasn't truly thread-safe.
      
      This commit attempts to rectify some of the problems above. The use
      of synchronized has been dropped in favour of using a volatile field
      for the embedded servlet container. Whenever this field is accessed,
      a local variable is used to "cache" the value thereby preventing a
      change on another thread from causing unwanted behaviour such as an
      NPE.
      
      Closes gh-4593
      0214fe4b
  8. Nov 30, 2015
  9. Nov 27, 2015
  10. Nov 26, 2015
  11. Nov 25, 2015
  12. Nov 23, 2015
  13. Nov 18, 2015
    • Andy Wilkinson's avatar
      Isolate multiple Undertow deployments · 2fe08194
      Andy Wilkinson authored
      Previously, UndertowEmbeddedServletContainerFactory always used
      Undertow’s default ServletContainer. This meant that if there were two
      UndertowEmbeddedServletContainers created, they would share the same
      ServletContainer and the second one that was created would overwrite
      the deployment for the first. This resulted in a async request
      handling failing as the attempt to look up the deployment for the
      first embedded Undertow instance would incorrectly find the deployment
      for the second.
      
      This commit fixes the problem by ensuring that each 
      UndertowEmbeddedServletContainerFactory uses a separate Undertow
      ServletContainer instance.
      
      Closes gh-4329
      2fe08194
  14. Nov 14, 2015
  15. Nov 10, 2015
    • Phillip Webb's avatar
      Fully support `-cp` arguments · 49a55875
      Phillip Webb authored
      The CLI application advertises `-cp` support but it appears that only
      `--cp` is really supported. The fix for gh-178 forgot to update the
      call to `getParser().parse(...)`.
      
      See gh-178
      49a55875