forked from OpenLiberty/open-liberty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue OpenLiberty#28911: Intermittent java:global NameNotFoundException
Update injection scope code that handles deferred processing for java:global and java:app to properly handle concurrent threads looking up JNDI names in these contexts. Previously, the first thread would begin processing the deferred metadata and the second thread would then assume it was already complete and fail. The change will now result in the second thread waiting on a Future for the first thread to complete. Also updated Jakart Data code to report this failure immediately, rather than ignoring it until the failure potentially occurs at a later time.
- Loading branch information
1 parent
092bf09
commit 02a3bd0
Showing
2 changed files
with
62 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters