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

fix prefer FiledWriter.features to JSONWriter.context.features when F… #2956

Closed
wants to merge 1 commit into from

Conversation

yanxutao89
Copy link
Collaborator

What this PR does / why we need it?

fix prefer FiledWriter.features to JSONWriter.context.features when FiledWriter.features is not among (0, JSONWriter.Feature.FieldBased.mask, FieldInfo.FIELD_MASK)

Summary of your change

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

…iledWriter.features is not among (0, JSONWriter.Feature.FieldBased.mask, FieldInfo.FIELD_MASK), for issue #2952
@wenshao
Copy link
Member

wenshao commented Sep 12, 2024

fieldWriter的features是可以在asm bytecode时静态计算出来的,不应该在运行时判断啊

@yanxutao89 yanxutao89 closed this Sep 12, 2024
@yanxutao89 yanxutao89 deleted the fix-2952 branch September 12, 2024 13:12
This pull request was closed.
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.

2 participants