Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #24843 log a warning in the rare case the Resource handle #24844

Merged
merged 2 commits into from Mar 7, 2024

Conversation

escay
Copy link
Contributor

@escay escay commented Mar 6, 2024

Fixes #24843 log a warning in the rare case the Resource handle

Created a unit test to test the ConnectionPool code.
Perhaps there is another way to set the private processEnvironment in the ConnectorRuntime class.
Perhaps the message should not be a WARNING, but since no one else logged it I do not think it would harm.

…ource handle

state is not busy instead of throwing an exception
@dmatej
Copy link
Contributor

dmatej commented Mar 6, 2024

I don't like making private fields protected just for unit tests, but I still think that this fix is more important :)

@dmatej dmatej added this to the 7.0.14 milestone Mar 6, 2024
@dmatej dmatej added the bug Something isn't working label Mar 6, 2024
@arjantijms arjantijms merged commit 5f9385e into eclipse-ee4j:master Mar 7, 2024
2 checks passed
@escay escay deleted the issue_24843 branch March 7, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE on PoolManagerImpl.resourceClosed(PoolManagerImpl.java:367)
4 participants