Title: Simplify `StringBuilder` and `StringBuffer` approximations · Issue #9 · UnitTestBot/java-stdlib-approximations · GitHub
Open Graph Title: Simplify `StringBuilder` and `StringBuffer` approximations · Issue #9 · UnitTestBot/java-stdlib-approximations
X Title: Simplify `StringBuilder` and `StringBuffer` approximations · Issue #9 · UnitTestBot/java-stdlib-approximations
Description: The current approximations for java.lang.StringBuilder and java.lang.StringBuffer use an instance of java.lang.String as an internal storage and the java.lang.String#concat method for approximating java.lang.AbstractStringBuilder#append ...
Open Graph Description: The current approximations for java.lang.StringBuilder and java.lang.StringBuffer use an instance of java.lang.String as an internal storage and the java.lang.String#concat method for approximating...
X Description: The current approximations for java.lang.StringBuilder and java.lang.StringBuffer use an instance of java.lang.String as an internal storage and the java.lang.String#concat method for approximating...
Opengraph URL: https://github.com/UnitTestBot/java-stdlib-approximations/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simplify `StringBuilder` and `StringBuffer` approximations","articleBody":"The current approximations for `java.lang.StringBuilder` and `java.lang.StringBuffer` use an instance of `java.lang.String` as an internal storage and the `java.lang.String#concat` method for approximating `java.lang.AbstractStringBuilder#append` methods. Such approximation is still very complex for symbolic analysis, taking into account that the `java.lang.String#concat` uses the non-trivial method `java.lang.StringConcatHelper#simpleConcat` (that includes even `jdk.internal.misc.Unsafe` invocations`).\r\n\r\nInstead of current approximations, it is suggested to use a hand-written dynamic array of characters for simpler approximations. For reference, use `org.utbot.engine.overrides.strings.UtStringBuilder` implementation in [UTBotJava](https://github.com/UnitTestBot/UTBotJava/blob/main/utbot-framework/src/main/java/org/utbot/engine/overrides/strings/UtStringBuilder.java).","author":{"url":"https://github.com/Damtev","@type":"Person","name":"Damtev"},"datePublished":"2023-12-11T07:53:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9/java-stdlib-approximations/issues/9"}
| 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:c7f7a1b0-bbe3-bc20-6ba1-e5ff66b8c467 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B924:A1401:832263D:AFFDD70:698CF19A |
| html-safe-nonce | 5154f9f1544292075bc820eb9b73d5bdd63192322321917ca19e60fc801fb06b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTI0OkExNDAxOjgzMjI2M0Q6QUZGREQ3MDo2OThDRjE5QSIsInZpc2l0b3JfaWQiOiI1MDkzOTM3MTcxNjcwMDM2ODkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b2be953b70b8e25700beadcc0b32f73421f6909dd628bc9765230d80a0e08c5b |
| hovercard-subject-tag | issue:2035040261 |
| 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/java-stdlib-approximations/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af39f96c344b25e9853fbc79d121a2fb05d4cc964fcf2b13d5c818402d4d5f44/UnitTestBot/java-stdlib-approximations/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af39f96c344b25e9853fbc79d121a2fb05d4cc964fcf2b13d5c818402d4d5f44/UnitTestBot/java-stdlib-approximations/issues/9 |
| og:image:alt | The current approximations for java.lang.StringBuilder and java.lang.StringBuffer use an instance of java.lang.String as an internal storage and the java.lang.String#concat method for approximating... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Damtev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/java-stdlib-approximations git https://github.com/UnitTestBot/java-stdlib-approximations.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 693336930 |
| octolytics-dimension-repository_nwo | UnitTestBot/java-stdlib-approximations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 693336930 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/java-stdlib-approximations |
| 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 | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width