Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix the way of setting static final fields#466

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@sergeypospelov
Copy link
Member

@sergeypospelovsergeypospelov commentedJul 8, 2022
edited
Loading

Description

MergedwithAccessibility andwithRemovedFinalModifer function inReflectionUtil.kt, so it won't be possible to get the wrong cached FieldAccessor field, if we use our function.

Fixes#458

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

RepeatedTo Reproduce section from#458. Tests are successfully generated.

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
  • All tests pass locally with my changes

@sergeypospelovsergeypospelovforce-pushed thesergey/fix-the-way-of-setting-static-final-fields branch fromcfe7bc1 to25c7789CompareJuly 11, 2022 06:55
Copy link
Member

@DamtevDamtev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Do we really need this dependency on theutbot-sample? Please consider the idea of moving the test class to the "utbot-core" module.

@sergeypospelovsergeypospelovenabled auto-merge (squash)July 11, 2022 10:31
@sergeypospelovsergeypospelovforce-pushed thesergey/fix-the-way-of-setting-static-final-fields branch 2 times, most recently from6a6c293 to5c9a78cCompareJuly 11, 2022 11:06
@sergeypospelovsergeypospelovforce-pushed thesergey/fix-the-way-of-setting-static-final-fields branch from5c9a78c to1d7d138CompareJuly 11, 2022 12:01
@sergeypospelovsergeypospelov merged commit8b70aa1 intomainJul 11, 2022
@sergeypospelovsergeypospelov deleted the sergey/fix-the-way-of-setting-static-final-fields branchJuly 11, 2022 13:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@CaelmBleiddCaelmBleiddCaelmBleidd approved these changes

@DamtevDamtevDamtev approved these changes

Assignees

No one assigned

Labels

None yet

Projects

Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Cannot set static final java.io.InputStream field java.lang.System

4 participants

@sergeypospelov@CaelmBleidd@Damtev

[8]ページ先頭

©2009-2025 Movatter.jp