-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
type: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
OS: Windows 11
Java version: OpenJDK 21.0.1
openjdk 21.0.1 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, sharing)
Spring Boot version: 3.2.1
After upgrade from Spring Boot 3.2.0 to 3.2.1 methods from java.util.Package
are not working and are returning null
s, such as getImplementationVersion()
, getImplementationVendor()
and getImplementationTitle()
.
I have created a small example here with a REST API Controller that returns data from beforementioned methods here: https://github.com/mnorsic/manifest-example
When running application JAR from build\libs directory using Java CLI
java.exe -jar .\manifest-example-0.0.1-SNAPSHOT.jar
Spring Boot 3.2.0 returns
{"vendor":"ACME Company LLC","title":"Manifest Example","version":"0.0.1-SNAPSHOT"}
Spring Boot 3.2.1 returns
{"vendor":null,"title":null,"version":null}
Metadata
Metadata
Assignees
Labels
type: regressionA regression from a previous releaseA regression from a previous release