Commit Graph

36374 Commits

Author SHA1 Message Date
Phillip Webb
13bd61b6fe Revert nested jar fixes
Revert the recent updates to nested jar support that were intended
to allow verification of signed unpacked nested jars on Oracle JDK.

Unfortunately the changes caused a number of regressions which
affected a larger number of users than those that have issues with
signed jars.

Closes gh-31853
2022-08-17 12:43:48 -07:00
Phillip Webb
bd74344025 Revert "Don't close jar files early"
This reverts commit b42f056ddb.
2022-08-17 11:38:42 -07:00
Phillip Webb
674022d401 Revert "Don't close nested jars or wrapper when parent is closed"
This reverts commit 360eb027be.
2022-08-17 11:37:19 -07:00
Stephane Nicoll
3b01325c6b Use asList consistently
Closes gh-32102
2022-08-17 13:32:36 +02:00
Stephane Nicoll
191593cf15 Review Git contribution documentation
Closes gh-31904
2022-08-17 08:58:56 +02:00
Stephane Nicoll
f7fba30345 Merge pull request #31997 from nilshartmann
* pr/31997:
  Polish "Explicit error message if source is not an archive"
  Explicit error message if source is not an archive

Closes gh-31997
2022-08-17 08:34:27 +02:00
Stephane Nicoll
e94ddfa589 Polish "Explicit error message if source is not an archive"
See gh-31997
2022-08-17 08:33:54 +02:00
Nils Hartmann
a0f273a041 Explicit error message if source is not an archive
This commit split the existing assertion to provide an explicit error
message if the source file is not an archive.

See gh-31997
2022-08-17 08:30:03 +02:00
Stephane Nicoll
2550763669 Upgrade to Undertow 2.2.19.Final
Closes gh-32087
2022-08-16 08:46:00 +02:00
Stephane Nicoll
fd89ced078 Upgrade to Spring Security 5.6.7
Closes gh-32039
2022-08-16 07:14:15 +02:00
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
2022-08-15 17:55:25 -07:00
Stephane Nicoll
48443c95ef Upgrade Java 8 version in CI image and .sdkmanrc
Closes gh-32063
2022-08-11 13:28:07 +02:00
Andy Wilkinson
c9e69f555e Test our Gradle plugin against Gradle 7.5.1
Closes gh-32058
2022-08-10 12:27:47 +01:00
Andy Wilkinson
64a3276b78 Upgrade to Dependency Management Plugin 1.0.13.RELEASE
Closes gh-32055
2022-08-10 12:15:09 +01:00
Andy Wilkinson
0b9c2025fb Fix handling of String Java version in cache smoke test 2022-08-10 11:49:21 +01:00
Stephane Nicoll
e8c218908c Upgrade to Reactor 2020.0.22
Closes gh-32037
2022-08-10 12:02:51 +02:00
Andy Wilkinson
f4ddd3b597 Fix EhCache smoke test when building with a toolchain 2022-08-09 21:58:35 +01:00
Andy Wilkinson
f287acd1ff Fix external links in descriptions of Maven Plugin's goal parameters
Closes gh-29171
2022-08-09 18:06:37 +01:00
Stephane Nicoll
24c2ed3c78 Start building against Spring Security 5.6.7 snapshots
See gh-32039
2022-08-09 14:06:24 +02:00
Stephane Nicoll
19eb69c1bb Start building against Reactor 2020.0.22 snapshots
See gh-32037
2022-08-09 14:05:53 +02:00
Andy Wilkinson
4a807ebbf4 Upgrade to Groovy 3.0.12
Closes gh-32008
2022-08-09 10:56:41 +01:00
Phillip Webb
2f85ea3a30 Protect against deeply nested maps
Update BasicJsonParser to fix the deeply nested map protection logic.

Fixes gh-32029
2022-08-09 10:21:13 +01:00
Stephane Nicoll
8dea05fd34 Merge pull request #32004 from ionascustefanciprian
* pr/32004:
  Polish contribution
  Document the DefaultServlet is no longer being enabled by default

Closes gh-32004
2022-08-09 09:52:57 +02:00
Stephane Nicoll
12c1da275b Polish contribution
See gh-32004
2022-08-09 09:52:11 +02:00
Ionascu Stefan Ciprian
c441bafe27 Document the DefaultServlet is no longer being enabled by default
See gh-32004
2022-08-09 09:41:53 +02:00
Stephane Nicoll
22a5ccfca7 Add missing jaxb dependency for EhCache3 smoke test
See gh-31137
2022-08-09 09:25:59 +02:00
Stephane Nicoll
68b61f574a Upgrade to Netty tcNative 2.0.54.Final
Closes gh-32012
2022-08-08 21:02:07 +02:00
Stephane Nicoll
81c5b5a9fe Upgrade to MySQL 8.0.30
Closes gh-32011
2022-08-08 21:02:07 +02:00
Stephane Nicoll
a614c912f6 Upgrade to Micrometer 1.8.9
Closes gh-32010
2022-08-08 21:02:06 +02:00
Stephane Nicoll
6233e0356a Upgrade to Hibernate Validator 6.2.4.Final
Closes gh-32009
2022-08-08 21:02:06 +02:00
Stephane Nicoll
f0d61a8db8 Upgrade to Dropwizard Metrics 4.2.11
Closes gh-32007
2022-08-08 20:51:06 +02:00
Andy Wilkinson
b905d7f341 Normalize included log output to remove CI-specific details
See gh-28208
2022-08-04 21:55:17 +01:00
Andy Wilkinson
329fa8d37d Run cache smoke tests against all cache providers
Closes gh-31137
2022-08-04 15:39:36 +01:00
Andy Wilkinson
6efa77f3f5 Generate console output examples at build time
Closes gh-28208
2022-08-04 14:15:25 +01:00
Andy Wilkinson
7c0ccdf78c Log allocated port when Livereload server is using an ephemeral port
Closes gh-31983
2022-08-04 11:45:39 +01:00
Stephane Nicoll
1614941ece Upgrade Ubuntu version in CI images
Closes gh-31979
2022-08-04 09:51:25 +02:00
Andy Wilkinson
c500d8e784 Note need to record req start time to use %D with Undertow access log
Closes gh-31103
2022-08-03 19:42:19 +01:00
Andy Wilkinson
591cd0feb3 Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
2022-08-03 19:33:34 +01:00
Andy Wilkinson
fa73b73898 Fail build on missing configuration property descriptions
Closes gh-31916
2022-08-03 14:45:42 +01:00
Phillip Webb
d540eefce0 Set running to false when stop method is called
Update `WebServerStartStopLifecycle` to change the `running` state when
the `stop()` method is called.

Fixes gh-31966
2022-08-03 12:34:37 +01:00
Phillip Webb
45ad1557c3 Perform LoggingSystem cleanup after web server shutdown
Update `LoggingApplicationListener` so that logging system cleanup is
performed by a `SmartLifecycle` phased after web server shutdown.

Prior to this commit, cleanup occurred on the `ContextClosedEvent` which
was published before Lifecycle beans were stopped. This meant that any
exceptions output during web server shutdown were not logged.

Fixes gh-9457
2022-08-03 11:34:05 +01:00
Andy Wilkinson
d69fcf8948 Merge pull request #31887 from marcwrobel
* gh-31887:
  Fix links in documentations

Closes gh-31887
2022-08-01 21:09:27 +01:00
Marc Wrobel
3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2022-08-01 21:07:36 +01:00
Andy Wilkinson
c0daede1aa Ensure that jarmode jar added to an app has same SHA as published jar
Closes gh-31862
2022-08-01 20:49:10 +01:00
Phillip Webb
66a93a38ec Merge pull request #31941 from vilmos
* pr/31941:
  Fix property placeholder references in @Value example

Closes gh-31941
2022-08-01 12:35:02 +01:00
vilmos
00be9e4e94 Fix property placeholder references in @Value example
See gh-31941
2022-08-01 12:34:00 +01:00
Stephane Nicoll
141237e2f8 Upgrade Java 18 version in CI image
Closes gh-31930
2022-08-01 09:51:10 +02:00
Stephane Nicoll
f3d0da64ae Upgrade Java 17 version in CI image
Closes gh-31933
2022-08-01 09:50:41 +02:00
Stephane Nicoll
4ffb8eeda1 Upgrade Java 11 version in CI image
Closes gh-31931
2022-08-01 09:50:15 +02:00
Stephane Nicoll
8ed202576e Upgrade Java 8 version in CI image and .sdkmanrc
Closes gh-31932
2022-08-01 09:49:27 +02:00