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

Do not overwrite putFields field in accessor #134

Merged
merged 2 commits into from
Dec 6, 2022

Conversation

pzygielo
Copy link
Contributor

@pzygielo pzygielo commented Nov 23, 2022

@pzygielo pzygielo marked this pull request as ready for review November 23, 2022 15:58
@smillidge
Copy link
Contributor

Is there a specific issue this is fixing?

@pzygielo
Copy link
Contributor Author

pzygielo commented Nov 23, 2022

Is there a specific issue this is fixing?

There it is

This is related to

but does not resolve it completely. (To be specific, this change does not help with CHM issue at all.)

@pzygielo
Copy link
Contributor Author

I described the issue for myself first, earlier, and it mentions fields field. But the change is about putFields. I have to re-do my finding and do correction (probably in issue).

@pzygielo pzygielo marked this pull request as draft November 23, 2022 18:52
@pzygielo
Copy link
Contributor Author

It was about fields at

Object value = fields.get(osfields[i].getName());

being new, one-element only map, for every new field put to the stream. But due to putFields being overwritten.

@pzygielo pzygielo marked this pull request as ready for review November 23, 2022 19:00
@pzygielo
Copy link
Contributor Author

pzygielo commented Nov 24, 2022

@pzygielo pzygielo marked this pull request as draft November 24, 2022 10:23
@pzygielo pzygielo closed this Nov 24, 2022
@pzygielo pzygielo deleted the pf branch November 24, 2022 10:27
a8e9ef12aee12dd87b60fd66168e21fcb4d64516
@pzygielo pzygielo restored the pf branch November 24, 2022 10:39
@pzygielo pzygielo reopened this Nov 24, 2022
@pzygielo pzygielo marked this pull request as ready for review November 24, 2022 10:39
@pzygielo
Copy link
Contributor Author

I believe there are two separate issues here.
I propose to solve them separately.

@pzygielo
Copy link
Contributor Author

pzygielo commented Dec 1, 2022

May I ask for review, please?

@smillidge smillidge merged commit 00eb12a into eclipse-ee4j:master Dec 6, 2022
@pzygielo pzygielo deleted the pf branch December 6, 2022 18:44
@pzygielo pzygielo added this to the 4.2.5 milestone Sep 16, 2023
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.

putFields field gets overwritten for every field
2 participants