Commit Graph

46081 Commits

Author SHA1 Message Date
Andy Wilkinson bf195798ce Merge branch '2.7.x' into 3.0.x
Closes gh-38095
2023-10-27 18:24:33 +01:00
Andy Wilkinson d9e71f7a67 Add documentation section on AOP
Closes gh-32642
2023-10-27 17:50:24 +01:00
Andy Wilkinson dcab94363f Merge branch '3.1.x'
Closes gh-38093
2023-10-27 17:09:50 +01:00
Andy Wilkinson f91cdf02bc Merge branch '3.0.x' into 3.1.x
Closes gh-38092
2023-10-27 17:09:39 +01:00
Andy Wilkinson 66ae086a15 Merge branch '2.7.x' into 3.0.x
Closes gh-38091
2023-10-27 17:09:24 +01:00
Andy Wilkinson e21fda2f4a Merge pull request #38086 from GVictorG7
* gh-38086:
  Polish unit tests from buildSrc

Closes gh-38086
2023-10-27 17:06:51 +01:00
Victor Georgescu b9c2c6b820 Polish unit tests from buildSrc
* remove redundant "public" access modifiers
* remove a never thrown defined Exception
* assert the emptiness instead of length of files

See gh-38086
2023-10-27 17:06:24 +01:00
Andy Wilkinson 4e0dd34bbb Merge branch '3.1.x'
Closes gh-38090
2023-10-27 17:01:27 +01:00
Andy Wilkinson 9703ab717d Merge branch '3.0.x' into 3.1.x
Closes gh-38089
2023-10-27 17:01:10 +01:00
Andy Wilkinson dc31ee1184 Merge branch '2.7.x' into 3.0.x
Closes gh-38088
2023-10-27 17:00:52 +01:00
Andy Wilkinson e1203b7e28 Document that WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default
Closes gh-38083
2023-10-27 17:00:26 +01:00
Moritz Halbritter e3a36b7db5 Merge branch '3.1.x'
Closes gh-38082
2023-10-27 14:39:31 +02:00
Moritz Halbritter 02fae03e83 Merge branch '3.0.x' into 3.1.x
Closes gh-38081
2023-10-27 14:39:22 +02:00
Moritz Halbritter 07f7435b6a Document native image limitation of ApplicationContextRunner
Closes gh-34007
2023-10-27 14:39:10 +02:00
Moritz Halbritter 0e63326beb Merge branch '3.1.x'
Closes gh-38080
2023-10-27 14:21:26 +02:00
Moritz Halbritter 140ba4039d Merge branch '3.0.x' into 3.1.x
Closes gh-38079
2023-10-27 14:20:07 +02:00
Moritz Halbritter 43a3fbf449 Move "Sanitize Sensitive Values" in docs
Closes gh-35917
2023-10-27 14:16:48 +02:00
Moritz Halbritter f66c76e2a8 Merge branch '3.1.x'
Closes gh-38078
2023-10-27 13:47:23 +02:00
Moritz Halbritter 5ca7201fa5 Fix "Integrating with Actuator" code snippet
Closes gh-36114
2023-10-27 13:47:02 +02:00
Moritz Halbritter c10828705c Merge branch '3.1.x'
Closes gh-38077
2023-10-27 13:29:41 +02:00
Moritz Halbritter a0a56cb38b Merge branch '3.0.x' into 3.1.x
Closes gh-38076
2023-10-27 13:28:33 +02:00
Moritz Halbritter 8a27326ba6 Add warning when downgrading to Servlet 5.0 to docs
Closes gh-33044
2023-10-27 13:28:10 +02:00
Moritz Halbritter 10b392f38b Merge branch '3.1.x'
Closes gh-38075
2023-10-27 13:26:23 +02:00
Moritz Halbritter 1d767fc7b7 Merge branch '3.0.x' into 3.1.x
Closes gh-38074
2023-10-27 13:25:41 +02:00
Moritz Halbritter b4721c9d62 Update "Use Another Web Server" documentation
Closes gh-37238
2023-10-27 13:22:46 +02:00
Moritz Halbritter 79f8bfaeb7 Merge branch '3.1.x'
Closes gh-38073
2023-10-27 10:55:10 +02:00
Moritz Halbritter 790ee9afb5 Add FailureAnalyzer for NoSuchHealthContributorFailureExceptions
Closes gh-36489
2023-10-27 10:48:48 +02:00
Moritz Halbritter 7a767b90fe Merge branch '3.1.x'
Closes gh-38072
2023-10-27 10:18:46 +02:00
Moritz Halbritter 86a1fb0949 Merge branch '3.0.x' into 3.1.x
Closes gh-38071
2023-10-27 10:18:31 +02:00
Moritz Halbritter 87742e8ee1 Merge branch '2.7.x' into 3.0.x
Closes gh-38070
2023-10-27 10:18:20 +02:00
Moritz Halbritter 3872ec868b Mention ForwardedHeaderTransformer in the documentation
Closes gh-37282
2023-10-27 10:17:29 +02:00
Moritz Halbritter 35aa28485a Merge branch '3.1.x'
Closes gh-38069
2023-10-27 09:50:57 +02:00
Moritz Halbritter 8bb2228adf Document how to unset maven.compiler.release
Closes gh-37993
2023-10-27 09:50:12 +02:00
Phillip Webb beb49e1933 Add tests for DataBlockInputStream and fix implementation oddities
Fix issues with `DataBlockInputStream` including the fact that remain
bytes were not tracked correctly. Also add some tests and fix a few
other unusual details with the implementation.

Closes gh-38066
2023-10-26 23:00:20 -07:00
Phillip Webb 4af9ed4d1d Fix Tomcat TldScanner issues by returning raw zip data for nested jars
Update JarUrlConnection so that the full raw zip data is returned from
nested jars when no entry name is specified. This update allows
Tomcat's `WarURLConnection` to work with our nested connections since
they can parse the returned raw zip data.

Fixes gh-38047
2023-10-26 23:00:20 -07:00
Phillip Webb bba323ba5f Copy zip data descriptor records when creating virtual zip data
The zip specification states that when 'bit 3' of the general purpose
flags is set then a data descriptor record must be present. Prior to
this commit, our `VirtualZipDataBlock` ignored such records and would
create invalid data.

Although the generated data would work for zip parsers that read the
central directory records, it causes problems with streaming reader
implementations such as `JarInputStream`.

This commit updates the code so that it now copies the data descriptor
records. It support both blocks that have a signature and those that
don't. It also updates the generation logic to correctly deal with
any extra data bytes present after the local file header record.

Fixes gh-38063
2023-10-26 23:00:20 -07:00
Moritz Halbritter 5ff4a961b1 Polish 0fbb1f7890
See gh-38029
2023-10-26 15:18:02 +02:00
Moritz Halbritter 0fbb1f7890 Merge pull request #38029 from ch4570
* pr/38029:
  Polish "Extract "server.ports" hardcoding into a constant"
  Extract "server.ports" hardcoding into a constant

Closes gh-38029
2023-10-26 14:35:42 +02:00
Moritz Halbritter 8095c2a94b Polish "Extract "server.ports" hardcoding into a constant"
See gh-38029
2023-10-26 14:35:02 +02:00
DevSeoRex 01e2f70c73 Extract "server.ports" hardcoding into a constant
See gh-38029
2023-10-26 14:31:57 +02:00
Andy Wilkinson 670adaa651 Merge branch '3.1.x'
Closes gh-38054
2023-10-26 08:45:15 +01:00
Andy Wilkinson 045a624bc7 Merge branch '3.0.x' into 3.1.x
Closes gh-38053
2023-10-26 08:44:30 +01:00
Andy Wilkinson ce1f8d49de Merge branch '2.7.x' into 3.0.x
Closes gh-38052
2023-10-26 08:44:16 +01:00
Andy Wilkinson 1498faaf7f Document auto-configuration packages and how to add to them
Closes gh-27549
2023-10-26 08:43:57 +01:00
Phillip Webb b35c4d6497 Open loader jar URLs by default using `runtimeVersion`
Update `UrlJarFileFactory` so that `runtimeVersion` is used by default
instead of `baseVersion`. Prior to this commit we tried to mirror the
JDK handler on look for a `#runtime` fragment. This unfortunately
doesn't work with the URLs produced by `URLClassPath`.

This commit also fixes a bug in `NestedJarFile` where we didn't return
the correct result from `hasEntry`.

Fixes gh-38050
2023-10-25 21:20:42 -07:00
Phillip Webb 464523ac04 Merge branch '3.1.x'
Closes gh-38048
2023-10-25 12:37:41 -07:00
Phillip Webb 6e65d9380b Add missing `@ServiceConnection` annotation to reference doc sample
Closes gh-38046
2023-10-25 12:36:59 -07:00
Phillip Webb 0c66db7b18 Refine container initialization and parallel startup logic
Update `TestcontainersLifecycleBeanPostProcessor` to restore early
container initialization logic and refine startup logic. Initial bean
access now again triggers the creation all container beans. In addition
the first access of a `Startable` bean now attempts to find and start
all other `Startable` beans.

Fixes gh-37989
2023-10-25 11:58:22 -07:00
Scott Frederick efb5cb0bcd Merge branch '3.1.x'
Closes gh-38044
2023-10-25 13:53:19 -05:00
Scott Frederick 16c975a9c7 Merge branch '3.0.x' into 3.1.x
Closes gh-38043
2023-10-25 13:53:06 -05:00