Commit Graph

38167 Commits (fb439b682455907f95dfe06ad686f9c662634185)
 

Author SHA1 Message Date
Stephane Nicoll fb439b6824 Permit AOT-generated code to run on the JVM as well
This commit updates the codebase so that AOT-generated code can run on
the JVM in an opt-in fashion alongside the existing support of native
images.

When optimizations have been generated, setting the "spring.aot.enabled"
spring property (JVM or spring.properties) allows to opt-in for that
behavior on the JVM.

Closes gh-31244
2 years ago
Stephane Nicoll 0dbcb5f6d3 Start building against Spring Framework 6.0.0-M5 snapshots
See gh-31241
2 years ago
Phillip Webb 13fba65638 Polish 3 years ago
Phillip Webb 6d80723598 Relocate AotProcessingHook
Relocate `AotProcessingHook` to be an static class of `AotProcessor`.
3 years ago
Stephane Nicoll 6e9ea85835 Adapt BasePackages bean definition for AOT processing
This commit adapts how the BasePackages bean is registered so that
AOT processing works with it out-of-the-box. Previously we were using
an instance supplier with the accumulated base packages. This commit
changes that to set a constructor argument values.

Closes gh-31223
3 years ago
Andy Wilkinson 4385926df1 Ensure that the main application class can be deduced
Closes gh-31222
3 years ago
Andy Wilkinson 5f54289e97 Allow WebApplicationType to be deduced in a native image
Closes gh-31217
3 years ago
Stephane Nicoll 44a8e91b9e Prevent main method to continue once the AOT context has been optimized
This commit makes sure that processing of the main method upon
completion of SpringApplication#run. Previously, any instructions in
the user's main method were invoked, which is not suitable to build-time
processing.

Closes gh-31219
3 years ago
Andy Wilkinson d044eaf69d Merge branch '2.7.x'
Closes gh-31221
3 years ago
Andy Wilkinson 7f291f8da0 Merge branch '2.6.x' into 2.7.x
Closes gh-31220
3 years ago
Andy Wilkinson 348662b15e Remove unused deduceFromApplicationContext and supporting code
Closes gh-31218
3 years ago
Andy Wilkinson 1ba1eff63a Merge branch '2.7.x' 3 years ago
Andy Wilkinson 430040415b Merge branch '2.6.x' into 2.7.x 3 years ago
Andy Wilkinson 0b6c147a87 Polish 3 years ago
Andy Wilkinson 12465ea6b7 Merge branch '2.7.x'
Closes gh-31214
3 years ago
Andy Wilkinson d1420b6abb Merge branch '2.6.x' into 2.7.x
Closes gh-31213
3 years ago
Andy Wilkinson da8dafe138 Make afterResolve hook used by bootJar and bootWar more robust
Previously, ResolvedDependencies used hasError on
ResolvedConfiguration to check that it was safe to work with all
of the resolved configuration's artifacts and their files. This
check is not sufficient as errors can still occur later on.

This commit updates ResolvedDependencies to use a lenient
configuration, thereby avoiding any problems that may be caused by
errors that occur after the hasError check.

Closes gh-30586
3 years ago
Andy Wilkinson 85ad4fd4b4 Merge branch '2.7.x'
Closes gh-31212
3 years ago
Andy Wilkinson 70bcade232 Merge branch '2.6.x' into 2.7.x
Closes gh-31211
3 years ago
Andy Wilkinson 419ac26e0d Use conventions for source and encoding of aggregatedJavadoc
Closes gh-31210
3 years ago
Stephane Nicoll b2e63db57f Merge branch '2.7.x'
Closes gh-31209
3 years ago
Stephane Nicoll dd437c4cf4 Merge branch '2.6.x' into 2.7.x
Closes gh-31208
3 years ago
Stephane Nicoll 51893c4bba Merge pull request #31197 from 1993heqiang
* pr/31197:
  Upgrade copyright year of changed files
  Polish "Remove boxing"

Closes gh-31197
3 years ago
Stephane Nicoll ad1214c972 Upgrade copyright year of changed files
See gh-31197
3 years ago
heqiang 3a0ab01066 Polish "Remove boxing"
See gh-31197
3 years ago
Stephane Nicoll a27427b977 Merge branch '2.7.x'
Closes gh-31207
3 years ago
Stephane Nicoll 95dad34482 Merge branch '2.6.x' into 2.7.x
Closes gh-31206
3 years ago
Stephane Nicoll 35fb4f4bd3 Merge pull request #31203 from matei-cernaianu
* pr/31203:
  Fix "spring.factories" typos in database initialization documentation

Closes gh-31203
3 years ago
Matei Cernăianu eb8b9e17c5 Fix "spring.factories" typos in database initialization documentation
See gh-31203
3 years ago
Andy Wilkinson d354c03e63 Merge branch '2.7.x'
Closes gh-31191
3 years ago
Andy Wilkinson 682ac53f32 Ensure that config processor runs with only AutoConfiguration
Fixes gh-31186
3 years ago
Andy Wilkinson f433d250e1 Merge branch '2.7.x'
Closes gh-31189
3 years ago
Andy Wilkinson d2397bd34e Merge branch '2.6.x' into 2.7.x
Closes gh-31188
3 years ago
Andy Wilkinson 83e8c039b3 Add application/wasm to MIME mappings
Closes gh-30885
3 years ago
Andy Wilkinson a659e89dd4 Merge branch '2.7.x'
Closes gh-31187
3 years ago
Andy Wilkinson f160185be3 Merge pull request #31145 from youribonnaffe
* gh-31145:
  Remove mimepull dependency

Closes gh-31145
3 years ago
Youri Bonnaffe d38bc13fd5 Remove mimepull dependency
Mimepull dependency was introduced in 1c18fd8 for gh-14924 to force the
version as the one coming from saaj-impl was not on Maven Central.
This is no longer the case.

Version 1.10.0 of Mimepull has been built with Java 11, breaking
compatibility with Java 8 for Spring Boot.

See gh-31145
3 years ago
Andy Wilkinson 9c5a682725 Merge pull request #31151 from izeye
* gh-31151:
  Polish "Auto-configure JvmCompilationMetrics"
  Auto-configure JvmCompilationMetrics

Closes gh-31151
3 years ago
Andy Wilkinson 90752e559a Polish "Auto-configure JvmCompilationMetrics"
See gh-31151
3 years ago
izeye f720b65dfc Auto-configure JvmCompilationMetrics
See gh-31151
3 years ago
Andy Wilkinson 37b677824a Merge pull request #31156 from wimdeblauwe
* gh-31156:
  Add link to Error Handling Spring Boot Starter

Closes gh-31156
3 years ago
Wim Deblauwe 1aad7bea8e Add link to Error Handling Spring Boot Starter
See gh-31156
3 years ago
Andy Wilkinson df99ad17bd Merge branch '2.7.x'
Closes gh-31184
3 years ago
Andy Wilkinson 194e9f0f79 Merge branch '2.6.x' into 2.7.x
Closes gh-31183
3 years ago
Andy Wilkinson 88974b5488 Merge pull request #30878 from terminux
* gh-30878:
  Polish "Assert that sources does not contain null elements"
  Assert that sources does not contain null elements

Closes gh-30878
3 years ago
Andy Wilkinson 56c3a5f0ab Polish "Assert that sources does not contain null elements"
See gh-30878
3 years ago
Guirong Hu ebf276c005 Assert that sources does not contain null elements
See gh-30878
3 years ago
Andy Wilkinson 97197f89f4 Merge pull request #31104 from cansi
* gh-31104:
  Polish "Add PUT shutdown operation for Prometheus Push Gateway"
  Add PUT shutdown operation for Prometheus Push Gateway

Closes gh-31104
3 years ago
Andy Wilkinson bf56665718 Polish "Add PUT shutdown operation for Prometheus Push Gateway"
See gh-31104
3 years ago
Mattia Cansirro Cortorillo 0f99c43198 Add PUT shutdown operation for Prometheus Push Gateway
See gh-31104
3 years ago