Commit Graph

575 Commits

Author SHA1 Message Date
Phillip Webb
8edec21a6f Update copyright year of changed files 2023-08-13 20:44:44 -07:00
Moritz Halbritter
9e670b81ea Merge branch '3.1.x'
Closes gh-36820
2023-08-09 08:58:16 +02:00
Moritz Halbritter
1a8bd1cfe5 Merge branch '3.0.x' into 3.1.x
Closes gh-36819
2023-08-09 08:58:03 +02:00
Moritz Halbritter
95b0b62b0a Merge branch '2.7.x' into 3.0.x
Closes gh-36818
2023-08-09 08:52:28 +02:00
Moritz Halbritter
032d92a9fb Cleanup remote debug tunnel leftovers from devtools
Closes gh-36808
2023-08-09 08:45:17 +02:00
Moritz Halbritter
62fb45f75f Replace contains/put/get pattern with computeIfAbsent 2023-08-08 13:12:47 +02:00
Moritz Halbritter
7bb337aeb1 Polish tests 2023-08-08 13:12:47 +02:00
Moritz Halbritter
ed9169501e Polish 2023-08-08 13:12:47 +02:00
Moritz Halbritter
726d2e6678 Remove unnecessary synchronization
- on AtomicBoolean in SpringApplicationBuilder
- on SimpleFormatter
- in a private method in FileSystemWatcher which is always called in a
  synchronized block
- Replaced synchronized guarded HashMap with ConcurrentHashMap
2023-08-03 17:33:52 +02:00
Moritz Halbritter
1a8b8ce26e Revert "Revise synchronized blocks"
This reverts commit 497bbf9c2d.
2023-08-03 17:26:31 +02:00
Moritz Halbritter
497bbf9c2d Revise synchronized blocks
- Replace synchronized with Lock when guarding long-running operations
- Remove unnecessary synchronization in FileSystemWatcher
- Replace HashMap with ConcurrentHashMap in Restarter
- Remove unnecessary locking on AtomicBoolean in
  SpringApplicationBuilder
- Remove unnecessary locking in SimpleFormatter

Closes gh-36670
2023-08-03 09:23:46 +02:00
Andy Wilkinson
e12ae5add5 Merge branch '3.0.x' into 3.1.x
Closes gh-35865
2023-06-13 13:52:10 +01:00
Andy Wilkinson
bdbbbc6470 Merge branch '2.7.x' into 3.0.x
Closes gh-35864
2023-06-13 13:51:51 +01:00
Andy Wilkinson
984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
2023-06-13 13:50:27 +01:00
Phillip Webb
9bacf4218c Set 'spring.docker.compose.readiness.wait' property in devtools
Default 'spring.docker.compose.readiness.wait' to `ONLY_IF_STARTED`
when using devtools.

See gh-35435
2023-05-17 16:27:00 -07:00
Stefano Cordio
d802ca017b Small assertions improvements
See gh-34796
2023-05-10 08:38:07 +02:00
Marc Leroux
b61834c92d Replace Mockito argument captors with assertArg
See gh-35015
2023-05-05 11:34:55 +02:00
Phillip Webb
a890323758 Merge branch '3.0.x' 2023-05-02 14:52:42 -07:00
Phillip Webb
0f242ab3f7 Merge branch '2.7.x' into 3.0.x 2023-05-02 14:52:16 -07:00
Phillip Webb
6b646f6a8e Update copyright year of changed files 2023-05-02 14:52:12 -07:00
Phillip Webb
2c0edfd0b5 Merge branch '3.0.x'
Closes gh-35221
2023-05-01 15:35:23 -07:00
Phillip Webb
67abe3f88e Merge branch '2.7.x' into 3.0.x
Closes gh-35220
2023-05-01 15:34:59 -07:00
Phillip Webb
4e6148f47b Search for main methods from the bottom of the stack
Update `MainMethod` to search from the bottom of the stack rather than
the start. Prior to this commit, an incorrect `main` method would be
found if more than one `main` was in the stack.

Fixes gh-35214
2023-05-01 13:43:40 -07:00
Andy Wilkinson
9a0b5e0178 Merge branch '3.0.x'
Closes gh-35173
2023-04-26 12:48:50 +01:00
Andy Wilkinson
7ee1622995 Merge branch '2.7.x' into 3.0.x
Closes gh-35172
2023-04-26 12:48:16 +01:00
Andy Wilkinson
6b9bc012a5 Check that BPP and BFPP bean methods won't cause eager initialization
Closes gh-35164
2023-04-26 11:47:03 +01:00
Phillip Webb
1849b82334 Don't apply configuration-properties from auto-configuration plugin
Update the auto-configuration gradle plugin so that the
configuration-properties plugin is not longer automatically applied.
This  allows us to have auto-configuration modules that don't ship
configuration properties.

Closes gh-35028
2023-04-17 00:41:25 -07:00
Phillip Webb
00dc942e94 Migrate to Spring Security lambda config
Closes gh-35011
2023-04-14 17:39:48 -07:00
Andy Wilkinson
899ae9c37c Upgrade to Mockito 5.3.0
Closes gh-34998
2023-04-14 18:34:25 +01:00
Phillip Webb
3ba3558cff Merge branch '2.7.x' into 3.0.x 2023-04-10 21:14:34 -07:00
Phillip Webb
3e9a136143 Polish gradle formatting 2023-04-10 21:14:09 -07:00
Phillip Webb
d442bfbeff Polish 2023-04-10 16:22:11 -07:00
Phillip Webb
0b15962aca Merge branch '2.7.x' into 3.0.x 2023-02-22 18:36:16 -08:00
Phillip Webb
c4de86c244 Merge branch '2.7.x' into 3.0.x 2023-02-21 23:17:57 -08:00
Phillip Webb
df5898a146 Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
Andy Wilkinson
68f97f5361 Merge branch '2.7.x' into 3.0.x
Closes gh-34184
2023-02-14 20:02:01 +00:00
Johnny Lim
70d561a929 Polish "Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools"
See gh-34140
2023-02-14 20:01:22 +00:00
Moritz Halbritter
b28369d511 Merge branch '2.7.x' into 3.0.x
Closes gh-34036
2023-02-01 09:44:30 +01:00
Moritz Halbritter
2a843d1853 Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools
See gh-33855
2023-02-01 09:31:41 +01:00
Johnny Lim
bc7fc90550 Replace Base64Utils with JDK's Base64
See gh-33967
2023-01-31 10:20:06 +01:00
Phillip Webb
71efc55bf9 Merge branch '2.7.x' 2023-01-18 16:31:53 -08:00
Phillip Webb
7c508fa324 Update copyright year of changed files 2023-01-18 15:37:58 -08:00
Moritz Halbritter
94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2023-01-18 17:35:52 +01:00
Moritz Halbritter
e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2023-01-18 16:56:42 +01:00
Phillip Webb
fad88232b9 Update copyright year of changed files 2023-01-17 10:12:38 -08:00
Moritz Halbritter
9c1530d865 Merge branch '2.7.x'
Closes gh-33860
2023-01-17 15:43:11 +01:00
Moritz Halbritter
fd5fe97646 Remove spring.reactor.debug from devtools property defaults
Closes gh-33858
2023-01-17 15:42:34 +01:00
Moritz Halbritter
2553923d47 Merge branch '2.7.x' 2023-01-17 11:24:25 +01:00
Moritz Halbritter
6ef73cddb2 Polish LocalDevToolsAutoConfiguration 2023-01-17 10:44:07 +01:00
Moritz Halbritter
b9ae61fc10 Disable devtools when running in a native image
See gh-32853
2023-01-11 14:30:37 +01:00