-
Notifications
You must be signed in to change notification settings - Fork 39
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
Verify Jsonb calls close methods #351
base: master
Are you sure you want to change the base?
Conversation
@jakartaee/ee4j-jsonb-committers Kindly asking to review this PR. |
The stream based methods in Jsonb specify close being called upon successful completion. Add tests that verify an implementation calls these methods.
946d548
to
a3c85ec
Compare
tck/src/main/java/ee/jakarta/tck/json/bind/api/jsonb/JsonbTest.java
Outdated
Show resolved
Hide resolved
return closeCalled; | ||
} | ||
|
||
byte[] toByteArray() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing @Override
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't do that #toByteArray()
is defined on ByteArrayOutputStream
not on OutputStream
.
The stream based methods in Jsonb specify close being called upon successful completion. Add tests that verify an implementation calls these methods.