Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
2 years ago
Scott Frederick
d25a99692f
Replace Spring Boot TestCompiler with Spring Framework's version
...
See gh-31266
2 years ago
Andy Wilkinson
51df7813a5
Remove code deprecated in 2.x and add since and forRemoval attributes
...
Closes gh-32548
Closes gh-32549
2 years ago
Phillip Webb
46be4a3f30
Merge branch '2.7.x'
2 years ago
Phillip Webb
e88a682220
Merge branch '2.6.x' into 2.7.x
2 years ago
Phillip Webb
85697ac482
Update copyright year of changed files
2 years ago
Phillip Webb
07c0a8bced
Fix SecurityManager deprecation issues
...
See gh-32086
2 years ago
Phillip Webb
4ec2e357d9
Merge branch '2.7.x'
...
See gh-32086
2 years ago
Phillip Webb
60e1cc510c
Merge branch '2.6.x' into 2.7.x
...
See gh-32085
2 years ago
Phillip Webb
bd74344025
Revert "Don't close jar files early"
...
This reverts commit b42f056ddb
.
2 years ago
Phillip Webb
674022d401
Revert "Don't close nested jars or wrapper when parent is closed"
...
This reverts commit 360eb027be
.
2 years ago
Phillip Webb
ee2bd9e065
Merge branch '2.7.x'
...
Closes gh-32086
2 years ago
Phillip Webb
ef7aac8c14
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32085
2 years ago
Phillip Webb
360eb027be
Don't close nested jars or wrapper when parent is closed
...
Update `JarFile` so that the `close()` method no longer closes nested
jars or the wrapper. Prior to this commit it was possible for a parent
jar file to be garbage collected and closed even though references still
existed to the nested jars. When this happened the nested jars would get
closed and any access to entries would result in `JarFile.ensureOpen()`
throwing an `IllegalStateException`. The user would often not see this
exception directly, but rather find `ClassNotFoundException` being
thrown.
Fixes gh-31853
2 years ago
Johnny Lim
6a4681baf5
Polish
...
See gh-31948
2 years ago
Phillip Webb
22144987e9
Update copyright year of changed files
2 years ago
Phillip Webb
35a65cf82e
Merge branch '2.7.x'
...
Closes gh-31876
2 years ago
Phillip Webb
fd076ab9ef
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31875
2 years ago
aoyvx
8c93d2e8a7
Ensure PROTOCOL_HANDLER system property is reset
...
See gh-31870
2 years ago
Phillip Webb
7377d85096
Merge branch '2.7.x'
...
Closes gh-31866
2 years ago
Phillip Webb
a4ef6a7c5c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31865
2 years ago
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
2 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
2 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2 years ago
dreis2211
b687e1c7ee
Use Runtime.version() instead of reflection
...
See gh-31444
2 years ago
Andy Wilkinson
d370d19e7a
Merge branch '2.7.x'
...
Closes gh-31403
2 years ago
Andy Wilkinson
5e1cd28d3f
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31402
2 years ago
Lars Grefer
e8a1a0399a
Upgrade to Bouncycastle 1.71
...
Closes gh-31400
2 years ago
Phillip Webb
d84557f1f9
Merge branch '2.7.x'
...
Closes gh-31396
2 years ago
Phillip Webb
bcbcc53a09
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31395
2 years ago
Phillip Webb
b42f056ddb
Don't close jar files early
...
Update `JarFile` and related classes so that `close()` is not longer
called early.
Prior to this commit, we would always immediately close the underlying
jar file to prevent file locking issues with our build. This causes
issues on certain JVMs when they attempt to verify a signed jar.
The file lock issues have now been solved by returning a custom input
stream from `JarUrlConnection` which captures and delegates the close
method.
Fixes gh-29356
2 years ago
Andy Wilkinson
26b89bfc80
Remove redundant throws declarations from public APIs
...
Closes gh-31179
3 years ago
Andy Wilkinson
5dfa5adb75
Merge branch '2.7.x'
...
Closes gh-31178
3 years ago
Andy Wilkinson
455ee0ce22
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31177
3 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
3 years ago
Andy Wilkinson
541ab69aff
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
4cd850cfc0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30851
3 years ago
Andy Wilkinson
fa327a783d
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30850
3 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
3 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
3 years ago
Andy Wilkinson
52ed7f74a0
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
4f724f14d3
Polish "Override available() in RandomAccessDataFile's InputStream"
...
See gh-29295
3 years ago
Gnaily
49bf620f4b
Override available() in RandomAccessDataFile's InputStream
...
See gh-29295
3 years ago
Stephane Nicoll
41fb9cf562
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
f812b33cbd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29613
3 years ago
Stephane Nicoll
136b5959c3
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29612
3 years ago
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
3 years ago
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
3 years ago
Andy Wilkinson
de3b9a4910
Remove code deprecated for removal in 2.x
...
Closes gh-29482
3 years ago
Scott Frederick
c78b157e95
Merge branch '2.7.x'
3 years ago