Skip to content

Conversation

@Damtev
Copy link
Member

@Damtev Damtev commented Jan 6, 2023

Description

Field threadLocals in java.lang.Thread has package-private type ThreadLocal.ThreadLocalMap, so in the corresponding wrapper this field has type Object. But Hierarchy searches a field by subsignature, what is not applicable in such case. So, we need to search only by name.

Type of Change

  • Minor bug fix (non-breaking small changes)

How Has This Been Tested?

Manual Scenario

com.alibaba.fescar.core.rpc.netty.MessageCodecHandler.<init>.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings

@Damtev Damtev added the comp-symbolic-engine Issue is related to the symbolic execution engine label Jan 6, 2023
@Damtev Damtev requested a review from CaelmBleidd January 6, 2023 07:24
@Damtev Damtev merged commit 21db05f into main Jan 6, 2023
@Damtev Damtev deleted the damtev/package_private_wrapper_fields_fix branch January 6, 2023 08:44
@alisevych alisevych added the ctg-bug-fix PR is fixing a bug label Jan 23, 2023
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-symbolic-engine Issue is related to the symbolic execution engine ctg-bug-fix PR is fixing a bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants