Skip to content

Conversation

@Syed-2000
Copy link

Fixes #48568

This pull request removes support for the deprecated -Djarmode=layertools mode from Spring Boot.

Changes include:

  • Deleted LayerToolsJarMode registration in spring-boot-loader jar modes.
  • Removed all related test cases for LayerToolsJarMode.
  • Verified that existing tools functionality works as expected and builds/tests pass successfully.

This change simplifies Spring Boot’s jar mode handling and eliminates a legacy feature that is no longer maintained or recommended. It ensures developers only use the modern, supported tools mode for layered jar extraction and management.

Signed-off-by: Syed Muhammad Osama <[email protected]>
@Syed-2000 Syed-2000 changed the title Remove deprecated layertools support from Spring Boot Fixes #48568: Remove deprecated layertools support from Spring Boot Dec 21, 2025
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 21, 2025
@snicoll
Copy link
Member

snicoll commented Dec 22, 2025

Thanks for trying @Syed-2000 but that's nowhere near what we should be doing to clean this properly.

@snicoll snicoll closed this Dec 22, 2025
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove support for the deprecated layertools jar mode

3 participants