Skip to content

25.0.0.10-beta staging#4536

Merged
IsmathBadsha merged 8 commits intostagingfrom
25.0.0.10-beta-post
Sep 21, 2025
Merged

25.0.0.10-beta staging#4536
IsmathBadsha merged 8 commits intostagingfrom
25.0.0.10-beta-post

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Sep 18, 2025

[#overrideLibrary]
== OverrideLibrary support for application classloader

The 25.0.0.10-beta release introduces a new type of library reference for configuring an application’s `<classloader/>`: the override library reference. The override library reference is similar to a private library reference because class instances remain unique to the application’s classloader. The key difference is the search order. With an override library reference, the library class path is searched before the application’s own class path, which allows the library path to override classes that are already included in the application.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I preferred the original version of the opening sentence from the beta blog issue OpenLiberty/open-liberty#32778

Suggested change
The 25.0.0.10-beta release introduces a new type of library reference for configuring an application’s `<classloader/>`: the override library reference. The override library reference is similar to a private library reference because class instances remain unique to the application’s classloader. The key difference is the search order. With an override library reference, the library class path is searched before the application’s own class path, which allows the library path to override classes that are already included in the application.
The 25.0.0.10-beta release introduces a new type of library reference for configuring an application’s `<classloader/>` that can be used to configure an override library reference. The override library reference is similar to a private library reference because class instances remain unique to the application’s classloader. The key difference is the search order. With an override library reference, the library class path is searched before the application’s own class path, which allows the library path to override classes that are already included in the application.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Thomas @IsmathBadsha

Copy link
Member

@tjwatson tjwatson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The use of a : here after the <classloader/> element took me many reads to understand. I prefer some form of the original intro sentence.

Copy link
Member

@tjwatson tjwatson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@IsmathBadsha IsmathBadsha merged commit 0e6fd6d into staging Sep 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants