Commit Graph

47694 Commits

Author SHA1 Message Date
Moritz Halbritter
516d3b1294 Test ANSI disabled in logging tests instead of integration tests
See gh-40172
2024-05-02 13:59:48 +02:00
Moritz Halbritter
2183b47e62 Merge branch '3.1.x' into 3.2.x
Closes gh-40612
2024-05-02 11:53:21 +02:00
Moritz Halbritter
447ffb596b Merge pull request #40611 from snicoll
* pr/40611:
  Polish "Avoid using OkHttp3ClientHttpRequestFactory in test"
  Avoid using OkHttp3ClientHttpRequestFactory in test

Closes gh-40611
2024-05-02 11:52:09 +02:00
Moritz Halbritter
1534bc8ad2 Polish "Avoid using OkHttp3ClientHttpRequestFactory in test"
See gh-40611
2024-05-02 11:45:23 +02:00
Stéphane Nicoll
20042576e9 Avoid using OkHttp3ClientHttpRequestFactory in test
See gh-40611
2024-05-02 11:45:20 +02:00
Andy Wilkinson
c7ec6080ce Publish a runtime variant that supports Java 22
In order to support Java 22, we must use spring-core 6.1.x.
spring-core 6.1.x is a multi-release jar so, in order to support Java
22, a version of Gradle that supports multi-release jars must be
used.

This commit adds a new variant to spring-boot-gradle-plugin for
modern versions of Gradle. When Gradle's plugin API version is 8.7 or
later, we use spring-core 6.1.x. spring-core 6.0.x is used at all
other times.

Closes gh-40074
2024-05-02 10:45:18 +01:00
Moritz Halbritter
6fd3ebb1d9 Merge pull request #40172 from facewise
* pr/40172:
  Polish "Fix broken AnsiOutput.detectIfAnsiCapable on JDK22"
  Fix broken AnsiOutput.detectIfAnsiCapable on JDK22

Closes gh-40172
2024-05-02 11:29:12 +02:00
Moritz Halbritter
713f4f2292 Polish "Fix broken AnsiOutput.detectIfAnsiCapable on JDK22"
See gh-40172
2024-05-02 11:27:55 +02:00
facewise
1f9b62b122 Fix broken AnsiOutput.detectIfAnsiCapable on JDK22
See gh-40172
2024-05-02 11:03:06 +02:00
Moritz Halbritter
46ab60cc43 Merge branch '3.1.x' into 3.2.x
Closes gh-40607
2024-05-02 10:59:43 +02:00
Moritz Halbritter
3b7d4779c4 Merge pull request #40604 from dsyer
* pr/40604:
  Clarify devtools restart class loader documentation

Closes gh-40604
2024-05-02 10:59:05 +02:00
Dave Syer
421b8e23c4 Clarify devtools restart class loader documentation
See gh-40604
2024-05-02 10:58:30 +02:00
Moritz Halbritter
888ae040e4 Merge branch '3.1.x' into 3.2.x
Closes gh-40605
2024-05-02 10:51:10 +02:00
Moritz Halbritter
d19df3d651 Merge pull request #40603 from coursar
* pr/40603:
  Polish "Change Spring Boot CLI init command docs default build system to gradle"
  Change Spring Boot CLI init command docs default build system to gradle

Closes gh-40603
2024-05-02 10:50:34 +02:00
Moritz Halbritter
64b302032c Polish "Change Spring Boot CLI init command docs default build system to gradle"
See gh-40603
2024-05-02 10:49:51 +02:00
coursar
1a786fc788 Change Spring Boot CLI init command docs default build system to gradle
See gh-40603
2024-05-02 10:44:33 +02:00
Moritz Halbritter
16a6bcf422 Merge branch '3.1.x' into 3.2.x 2024-05-02 09:39:22 +02:00
Scott Frederick
e471710fe6 Renew trust material for SSL tests
Closes gh-40602
2024-05-02 09:37:43 +02:00
Phillip Webb
93728cdfb1 Merge branch '3.1.x' into 3.2.x
Closes gh-40600
2024-05-01 22:55:30 -07:00
Phillip Webb
a22c909ddf Merge pull request #40590 from izeye
* pr/40590:
  Remove reassignments for builders in GraphQL auto-configurations

Closes gh-40590
2024-05-01 22:52:24 -07:00
Johnny Lim
f0fcc92b49 Remove reassignments for builders in GraphQL auto-configurations
See gh-40590
2024-05-01 22:51:19 -07:00
Phillip Webb
bd16fc4d26 Merge pull request #39856 from yokotaso
* pr/39856:
  Fix possible NullPointerException from getPermission()

Closes gh-39856
2024-05-01 22:46:39 -07:00
yokotaso
5b4bd61720 Fix possible NullPointerException from getPermission()
Fix regression in `JarUrlConnection` where a NullPointerException could
be thrown internally causing performance issues.

When the SecurityManager is present, the following stack trace is
thrown:

java.lang.NullPointerException: Cannot invoke "java.net.URLConnection.getPermission()" because "this.jarFileConnection" is null
        at org.springframework.boot.loader.net.protocol.jar.JarUrlConnection.getPermission(JarUrlConnection.java:175)
        at java.base/jdk.internal.loader.URLClassPath.check(URLClassPath.java:553)
        at java.base/jdk.internal.loader.URLClassPath$Loader.findResource(URLClassPath.java:612)
        at java.base/jdk.internal.loader.URLClassPath.findResource(URLClassPath.java:296)
        at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:629)
        at java.base/java.net.URLClassLoader$2.run(URLClassLoader.java:627)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at java.base/java.net.URLClassLoader.findResource(URLClassLoader.java:626)
        at org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader.findResource(JarUrlClassLoader.java:70)
        at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1403)
        at java.base/java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:290)
        at java.base/java.lang.Class.getResourceAsStream(Class.java:2850)

See gh-39856
2024-05-01 22:42:52 -07:00
Scott Frederick
dcf97325d7 Renew trust material for SSL tests
Closes gh-40589
2024-05-01 17:56:01 -05:00
Moritz Halbritter
a6dd8b71bd Add exception and failure analyzer for missing AOT initializer
The diagnostics text include the name of the AOT initializer class and
the main class name. It also tells the user how to switch of the AOT
mode.

Closes gh-38645
2024-04-30 15:11:32 +02:00
Moritz Halbritter
883810bff8 Merge branch '3.1.x' into 3.2.x 2024-04-30 14:29:58 +02:00
Moritz Halbritter
6db8d6fdbd Bump gradle/actions in action.yml from 3.3.1 to 3.3.2
Dependabot misses the update in action.yml, see
202ebd3a10
2024-04-30 14:29:42 +02:00
Moritz Halbritter
90b1c18a57 Merge branch '3.1.x' into 3.2.x
Closes gh-40582
2024-04-30 12:20:08 +02:00
Moritz Halbritter
7b7c332d50 Merge pull request #40575 from dependabot[bot]
* pr/40575:
  Bump gradle/actions from 3.3.1 to 3.3.2

Closes gh-40575
2024-04-30 12:19:56 +02:00
dependabot[bot]
202ebd3a10 Bump gradle/actions from 3.3.1 to 3.3.2
Bumps [gradle/actions](https://github.com/gradle/actions) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](750cdda3ed...db19848a5f)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

See gh-40575
2024-04-30 12:19:15 +02:00
Scott Frederick
21a0bc7fee Merge branch '3.1.x' into 3.2.x
Closes gh-40576
2024-04-29 16:42:53 -05:00
Scott Frederick
50cab2d511 Merge pull request #40567 from izeye
* pr/40567:
  Use ConcurrentHashMap.newKeySet where feasible

Closes gh-40567
2024-04-29 15:42:39 -05:00
Johnny Lim
e2973a90a8 Use ConcurrentHashMap.newKeySet where feasible
See gh-40567
2024-04-29 15:41:37 -05:00
Andy Wilkinson
34e62bb4e2 Reinstate permissive alias check
Without the permissive check, unusually named static resources are
inaccessible. The need for this may be due to a Jetty bug. This change
restores the tests to their previous form for now.

See gh-40568
2024-04-29 12:50:42 +01:00
Andy Wilkinson
f70a270ec8 Merge branch '3.1.x' into 3.2.x
Closes gh-40568
2024-04-29 12:06:20 +01:00
Andy Wilkinson
15913441c4 Remove Concourse CI configuration
Closes gh-40566
2024-04-29 12:05:34 +01:00
Moritz Halbritter
7ac0d0cde6 Merge branch '3.1.x' into 3.2.x
Closes gh-40564
2024-04-29 11:56:32 +02:00
Moritz Halbritter
d716d99d1b Note that Docker Compose is excluded by default from packaged jars
Closes gh-40556
2024-04-29 11:54:17 +02:00
Moritz Halbritter
be5039041c Defer creation of maps in MapBinder
Closes gh-39375
2024-04-29 10:07:40 +02:00
Moritz Halbritter
8a3b0cd221 Throw dedicated exception if bundle content is not watchable
This also adds a FailureAnalyzer which prints a helpful message how to
fix that problem.

Closes gh-38903
2024-04-29 09:46:19 +02:00
Andy Wilkinson
0757857b74 Stop calling getProject() when ExtractVersionConstraints is executing
Closes gh-40550
2024-04-26 17:03:29 +01:00
Andy Wilkinson
c139bdf525 Merge branch '3.1.x' into 3.2.x 2024-04-26 16:31:58 +01:00
Andy Wilkinson
ee73b022c7 Polish 2024-04-26 16:31:11 +01:00
Andy Wilkinson
89b13c897a Merge branch '3.1.x' into 3.2.x
Closes gh-40547
2024-04-26 16:30:27 +01:00
Andy Wilkinson
b8aed98649 Avoid calling getProject() when checking configuration metadata
Closes gh-40546
2024-04-26 16:30:00 +01:00
Andy Wilkinson
023c104434 Merge branch '3.1.x' into 3.2.x
Closes gh-40544
2024-04-26 16:21:49 +01:00
Andy Wilkinson
fd887839a3 Avoid calling getProject() during execution of pMPTPR
Closes gh-40543
2024-04-26 16:21:11 +01:00
Andy Wilkinson
876d9213f5 Merge branch '3.1.x' into 3.2.x
Closes gh-40541
2024-04-26 16:10:40 +01:00
Andy Wilkinson
3e6a9b3708 Stop calling getProject() during execution of AutoConfigurationMetadata
Closes gh-40540
2024-04-26 16:09:59 +01:00
Andy Wilkinson
cfdb89fe0b Merge branch '3.1.x' into 3.2.x
Closes gh-40538
2024-04-26 15:58:44 +01:00