Title: Remove access for jClass in UtMockFieldInfo by CaelmBleidd · Pull Request #1525 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Remove access for jClass in UtMockFieldInfo by CaelmBleidd · Pull Request #1525 · UnitTestBot/UTBotJava
X Title: Remove access for jClass in UtMockFieldInfo by CaelmBleidd · Pull Request #1525 · UnitTestBot/UTBotJava
Description: Description We use information from jClass when Mocker decides whether it should mock some object or not. Because of many reasons, these classes might be unavailable in Runtime and we have to work with it using SootClass instances. This problem was found during work on closed project and I don't have a way to reproduce it, but it is a problem that happen many times in the past and we should avoid accessing jClass whenever possible. Type of Change Minor bug fix (non-breaking small changes) How Has This Been Tested? Regression and integration tests There are no additional tests since they highly depend on classpath, project configuration, soot transformation and other options. Unfortunately, the exact combination of these options is lost and the problem occurred on a project with closed code. Automated Testing There are no additional automatic tests. Manual Scenario There are no manual scenarios. Checklist (remove irrelevant options): This is the author self-check list 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
Open Graph Description: Description We use information from jClass when Mocker decides whether it should mock some object or not. Because of many reasons, these classes might be unavailable in Runtime and we have to work ...
X Description: Description We use information from jClass when Mocker decides whether it should mock some object or not. Because of many reasons, these classes might be unavailable in Runtime and we have to work ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1525
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:829af17a-d256-6d56-6d1b-b1347fbcfe6c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 92BE:10F148:95D7C:C07E7:69903488 |
| html-safe-nonce | ff25eaeed0145c00cca439fae580ef45140578145d4de34d27df58775b01d65e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkJFOjEwRjE0ODo5NUQ3QzpDMDdFNzo2OTkwMzQ4OCIsInZpc2l0b3JfaWQiOiI4MTg4OTM0NDMxMDE0MTM5MDE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ab8a3e80a7f6e28def89d0ad3d670c3f2738c252b14b11ebef9ebdfabfdd95a0 |
| hovercard-subject-tag | pull_request:1166501035 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/UnitTestBot/UTBotJava/pull/1525/checks |
| twitter:image | https://avatars.githubusercontent.com/u/31047452?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31047452?s=400&v=4 |
| og:image:alt | Description We use information from jClass when Mocker decides whether it should mock some object or not. Because of many reasons, these classes might be unavailable in Runtime and we have to work ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width