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 #562, multiple calls to PGBuffersArray.free() produces NullPointerException #563

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

JTEgan
Copy link

@JTEgan JTEgan commented Sep 16, 2021

API doc for java.sql.Array says that when multiple calls are made to free(), successive calls should be a no-op. This change makes the PGBuffersArray class adhere to that spec.

@kdubb
Copy link
Member

kdubb commented Sep 17, 2021

@JTEgan Thanks for the contribution. Can you add a test cast in ArrayTest to verify this?

@JTEgan
Copy link
Author

JTEgan commented Sep 17, 2021 via email

@kdubb
Copy link
Member

kdubb commented Oct 25, 2023

@JTEgan Please push a new (or empty) commit to restart actions.

@JTEgan
Copy link
Author

JTEgan commented Oct 25, 2023

yeah geez it's been 2 years, I gotta get around to writing that test ;-)

What does it mean to restart actions?

@kdubb
Copy link
Member

kdubb commented Oct 25, 2023

The action storage has expired. So I don't know the outcome of them. A new commit (even if just empty) will re-run them.

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.

None yet

2 participants