Skip to content

PropertiesLauncher does not log nested archive paths#50968

Open
filiphr wants to merge 1 commit into
spring-projects:mainfrom
filiphr:properties-launcher-polish
Open

PropertiesLauncher does not log nested archive paths#50968
filiphr wants to merge 1 commit into
spring-projects:mainfrom
filiphr:properties-launcher-polish

Conversation

@filiphr

@filiphr filiphr commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

I've been playing around with the PropertiesLauncher and I noticed then the logging looks like:

...PropertiesLauncher : Property 'loader.path'[Loader-Path]  from environment: WEB-INF/classes,WEB-INF/lib,WEB-INF/lib-provided,file:/dummy
...PropertiesLauncher : Nested archive paths: null
...PropertiesLauncher : Property 'loader.path'[Loader-Path]  from environment: WEB-INF/classes,WEB-INF/lib,WEB-INF/lib-provided,file:/dummy
...PropertiesLauncher : Nested archive paths: [WEB-INF/classes/, WEB-INF/lib/, WEB-INF/lib-provided/, file:/dummy/]

I was confused by

Nested archive paths: null

and that's how I realized that the logging is using this.paths always, and that this is the only place using the paths field.

Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 17, 2026
@snicoll snicoll changed the title Remove not used paths field from PropertiesLauncher PropertiesLauncher does not log nested archive paths Jul 20, 2026
@snicoll snicoll self-assigned this Jul 20, 2026
@snicoll snicoll added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 20, 2026
@snicoll snicoll added this to the 4.0.x milestone Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants