Title: Engine sets the hidden `SecurityManager` static field · Issue #697 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Engine sets the hidden `SecurityManager` static field · Issue #697 · UnitTestBot/UTBotJava
X Title: Engine sets the hidden `SecurityManager` static field · Issue #697 · UnitTestBot/UTBotJava
Description: Description Engine produces staticsBefore with the hidden SecurityManager static field. The concrete executor can't find this field, so it isn't present in staticsAfter. This leads to test generation failure as we expect staticsBefore an...
Open Graph Description: Description Engine produces staticsBefore with the hidden SecurityManager static field. The concrete executor can't find this field, so it isn't present in staticsAfter. This leads to test generati...
X Description: Description Engine produces staticsBefore with the hidden SecurityManager static field. The concrete executor can't find this field, so it isn't present in staticsAfter. This leads to test ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/697
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Engine sets the hidden `SecurityManager` static field","articleBody":"**Description**\r\n\r\nEngine produces `staticsBefore` with the hidden `SecurityManager` static field. The concrete executor can't find this field, so it isn't present in `staticsAfter`. This leads to test generation failure as we expect `staticsBefore` and `staticsAfter` to have the same structure. \r\n\r\n**To Reproduce**\r\n\r\nSteps to reproduce the behavior:\r\n\r\n1. Create this method:\r\n```java\r\n public void createThread() {\r\n final int[] x = {0};\r\n new Thread(() -\u003e {\r\n x[0]++;\r\n }).start();\r\n new Thread(() -\u003e {\r\n x[0]++;\r\n }).start();\r\n }\r\n```\r\n2. Run test generation via UtBot plugin\r\n\r\n**Expected behavior**\r\n\r\nAt least one test generated and there are no tests with internal exceptions.\r\n\r\n**Actual behavior**\r\n\r\nThere is a generated test with an internal exception.\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n","author":{"url":"https://github.com/sergeypospelov","@type":"Person","name":"sergeypospelov"},"datePublished":"2022-08-10T09:38:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/697/UTBotJava/issues/697"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f3565241-76b5-d045-ff4b-181ab4f5dad7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C63C:1AEC3E:179D4EE:1E55AE1:698FEE48 |
| html-safe-nonce | 2fc13de46c0788087822b735e547d68470115875f75a5050fc81cb7fa4c6e241 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjNDOjFBRUMzRToxNzlENEVFOjFFNTVBRTE6Njk4RkVFNDgiLCJ2aXNpdG9yX2lkIjoiMzMxNDk3NzAwNzc1MDYwNjQwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4036385ebce4a6708c4835267d690f0a832ed5220d7c6ca53f3ef31d93cbdf10 |
| hovercard-subject-tag | issue:1334352134 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/UnitTestBot/UTBotJava/697/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b88d1a01c214a367b8ebc30ea0614a96bb023ff7d718be51225f8e0a9dee0f31/UnitTestBot/UTBotJava/issues/697 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b88d1a01c214a367b8ebc30ea0614a96bb023ff7d718be51225f8e0a9dee0f31/UnitTestBot/UTBotJava/issues/697 |
| og:image:alt | Description Engine produces staticsBefore with the hidden SecurityManager static field. The concrete executor can't find this field, so it isn't present in staticsAfter. This leads to test generati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sergeypospelov |
| 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 |
| 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