Commit Graph

13595 Commits

Author SHA1 Message Date
Andy Wilkinson
4e87f8163e Merge branch '1.5.x' 2017-10-02 20:07:38 +01:00
Andy Wilkinson
71c15cb65e Avoid possible livelock when stopping FileSystemWatcher in parallel
Previously, if the file watcher thread tried to stop the
FileSystemWatcher when another thread was already stopping it a
livelock could occur. The livelock occurred because the file watcher
thread would attempt to lock a monitor that was being held by a thread
that had joined the file watcher thread and was waiting for it to die.

This commit avoid the livelock by narrowing the synchronization that's
used when stopping the FileSystemWatcher. The monitor is used to
obtain a reference to the file watcher thread in a thread-safe manner,
but it is released prior to joining the file watcher thread and
waiting for it to die. This will allow a parallel attempt by the
file watcher thread to stop itself to succeed.

Closes gh-10496
2017-10-02 20:03:17 +01:00
Stephane Nicoll
fd478be5c3 Polish 2017-10-02 18:44:58 +02:00
Andy Wilkinson
114379e97a Merge branch '1.5.x' 2017-10-02 16:06:35 +01:00
Andy Wilkinson
205c25bf0f Polish 2017-10-02 15:56:52 +01:00
Andy Wilkinson
08f8434155 Upgrade to Spring Restdocs 1.2.2.RELEASE
Closes gh-10492
2017-10-02 15:47:04 +01:00
Andy Wilkinson
6ef3ab1805 Upgrade to Selenium 3.6.0
Closes gh-10491
2017-10-02 15:47:03 +01:00
Andy Wilkinson
f42ebdceea Upgrade to Neo4j Ogm 3.0.0
Closes gh-10490
2017-10-02 15:47:02 +01:00
Andy Wilkinson
46eb98f1dc Upgrade to Mariadb 2.1.2
Closes gh-10489
2017-10-02 15:47:01 +01:00
Andy Wilkinson
edcf753983 Upgrade to Jooq 3.10.0
Closes gh-10488
2017-10-02 15:47:01 +01:00
Andy Wilkinson
46aa3acc0b Upgrade to Narayana 5.7.0.Final
Closes gh-10487
2017-10-02 15:47:00 +01:00
Andy Wilkinson
7f013a9241 Upgrade to Rest Assured 3.0.3
Closes gh-10486
2017-10-02 15:46:59 +01:00
Andy Wilkinson
fd2945f2c1 Upgrade to Netty 4.1.16.Final
Closes gh-10485
2017-10-02 15:46:59 +01:00
Andy Wilkinson
f763533805 Merge branch '1.5.x' 2017-10-02 15:39:37 +01:00
Stephane Nicoll
b37d3e1153 Merge pull request #10380 from eddumelendez:gh-10376
* pr/10380:
  Polish "Auto-configure Kafka MessageConverter"
  Auto-configure Kafka MessageConverter
2017-10-02 16:37:24 +02:00
Stephane Nicoll
2537a0a753 Polish "Auto-configure Kafka MessageConverter"
Closes gh-10380
2017-10-02 16:36:56 +02:00
Eddú Meléndez
d7bc93f278 Auto-configure Kafka MessageConverter
See gh-10380
2017-10-02 16:36:56 +02:00
Andy Wilkinson
c1092f77f5 Upgrade to Jooq 3.9.6
Closes gh-10484
2017-10-02 15:36:13 +01:00
Andy Wilkinson
e9749765ab Upgrade to Aspectj 1.8.11
Closes gh-10483
2017-10-02 15:36:13 +01:00
Andy Wilkinson
a0fa782237 Upgrade to Tomcat 8.5.23
Closes gh-10482
2017-10-02 15:36:12 +01:00
Andy Wilkinson
f32531b4e4 Upgrade to Appengine Sdk 1.9.57
Closes gh-10481
2017-10-02 15:36:11 +01:00
Andy Wilkinson
5c0ce4e514 Remove dependency management for non-existent dependencies
See gh-10475
See gh-10473
2017-10-02 15:31:04 +01:00
Andy Wilkinson
41424e4529 Merge branch '1.5.x'
Closes gh-10457
2017-10-02 15:24:12 +01:00
Andy Wilkinson
d94f545b4d Merge pull request #10457 from Johnny Lim
* gh-10457:
  Polish
2017-10-02 15:14:48 +01:00
Johnny Lim
bfa291f671 Polish 2017-10-02 15:07:03 +01:00
Stephane Nicoll
ec6659db2e Merge pull request #10466 from kedar-joshi:master
* pr/10466:
  Polish
  Polish "Adds support for useCodeAsDefaultMessage"
  Adds support for useCodeAsDefaultMessage
2017-10-02 15:56:35 +02:00
Stephane Nicoll
d778173089 Polish 2017-10-02 15:56:09 +02:00
Stephane Nicoll
6c826ef0b6 Polish "Adds support for useCodeAsDefaultMessage"
Closes gh-10466
2017-10-02 15:43:27 +02:00
Kedar Joshi
a68ec76bb6 Adds support for useCodeAsDefaultMessage
See gh-10466
2017-10-02 15:37:43 +02:00
Andy Wilkinson
9102eb32d1 Polish 2017-10-02 13:34:32 +01:00
Andy Wilkinson
9ba20cc380 Merge branch '1.5.x' 2017-10-02 12:56:14 +01:00
Andy Wilkinson
bcbf7b5511 Update ChangeableUrlsTests to cope with URL-like Windows file paths
Closes gh-10268
2017-10-02 12:53:25 +01:00
Andy Wilkinson
30727ab145 Merge branch '1.5.x' 2017-10-02 12:49:13 +01:00
Andy Wilkinson
858b092a87 Make servlet context property source available before refresh
Previously, when deploying a Spring Boot application to a container,
the servlet context property source was not fully initialised until
the context was refreshed. This led to a problem where a value from a
property source with lower precedence would be seen during the early
stages of the application starting. Once the servlet context property
source had been initialized, its value for the property would then
become visible effectively making it appear as if the property's
value had changed during startup. This led to a specific problem
with determining active profiles.

If spring.profiles.active was set both in JNDI and via the servlet
context both profiles would end up being active, rather than the
more intuitive behaviour of the profiles made active via the servlet
context overriding those made active via JNDI.

This commit updates SpringBootServletInitializer so that it explicitly
creates the StandardServletEnvironment and initializes its property
sources using the servlet context. This is done before the application
is created and run, thereby ensuring that the servlet context
property source is available throughout the application's startup.

Closes gh-9972
2017-10-02 12:38:59 +01:00
Andy Wilkinson
a7ce9546a2 Upgrade to Spring Data Kay-RELEASE
Closes gh-10329
2017-10-02 12:16:14 +01:00
Andy Wilkinson
1b40e90411 Merge branch '1.5.x' 2017-10-02 11:44:25 +01:00
Andy Wilkinson
71dbbc0d66 Provide more complete dependency management for Solr
Closes gh-10476
2017-10-02 11:40:26 +01:00
Andy Wilkinson
f6a55321b0 Merge branch '1.5.x' 2017-10-02 11:25:01 +01:00
Andy Wilkinson
098dd9ddcd Provide more complete dependency management for SLF4J
Closes gh-10475
2017-10-02 11:24:28 +01:00
Andy Wilkinson
96f21f603e Merge branch '1.5.x' 2017-10-02 11:14:30 +01:00
Andy Wilkinson
bfa67189d1 Provide complete dependency management for JNA
Closes gh-10474
2017-10-02 11:13:35 +01:00
Stephane Nicoll
76606afe86 Polish 2017-10-02 12:13:06 +02:00
Andy Wilkinson
0ea7d22870 Merge branch '1.5.x' 2017-10-02 11:11:26 +01:00
Andy Wilkinson
8eb676f431 Provide complete dependency management for Jetty
Closes gh-10473
2017-10-02 11:10:42 +01:00
Andy Wilkinson
d61ac6bc43 Merge branch '1.5.x' 2017-10-02 10:40:18 +01:00
Andy Wilkinson
95e3443b64 Provide complete dependency management for Dropwizard Metrics
Closes gh-10472
2017-10-02 10:36:51 +01:00
Stephane Nicoll
1254c44985 Revert "Reuse spring.ldap.base in Embedded support" 2017-10-02 10:12:10 +02:00
Stephane Nicoll
5e2ec29413 Merge pull request #10468 from dreis2211:short-circuit-cleanup
* pr/10468:
  Remove non short-circuit expression in Neo4jPropertiesTests
2017-10-02 09:13:04 +02:00
dreis2211
40b4a21f4d Remove non short-circuit expression in Neo4jPropertiesTests
Closes gh-10468
2017-10-02 09:12:02 +02:00
Stephane Nicoll
cf30392564 Merge pull request #10469 from dreis2211:iterator-to-remove-if
* pr/10469:
  Replace some loops with removeIf()
2017-10-02 09:08:51 +02:00