Skip to content

SpringBootVersion fails with a NullPointerException if Package has no implementation version and the ProtectionDomain returns a null CodeSource #16956

@wilkinsona

Description

@wilkinsona

java.security.ProtectionDomain.getCodeSource() may return null but SpringBootVersion assumes that it will not do so. We should review other usages of getCodeSource() and check that they are null-safe while we're at it.

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions