Title: fix: split CCJSqlParserTokenManager static initializers to avoid 64KB… by hayssams · Pull Request #2425 · JSQLParser/JSqlParser · GitHub
Open Graph Title: fix: split CCJSqlParserTokenManager static initializers to avoid 64KB… by hayssams · Pull Request #2425 · JSQLParser/JSqlParser
X Title: fix: split CCJSqlParserTokenManager static initializers to avoid 64KB… by hayssams · Pull Request #2425 · JSQLParser/JSqlParser
Description: … method limit The generated CCJSqlParserTokenManager class has a clinit method that reaches 64,452 bytes -- dangerously close to the JVM 65,535 byte limit. ASM-based tools like sbt-assembly add transformation overhead that pushes it over, causing MethodTooLargeException during fat JAR creation. Add a splitTokenManagerStaticInit Gradle task that post-processes the generated Java file after JavaCC code generation, extracting 6 large static array initializations (stringLiterals, jjstrLiteralImages, jjmatchKinds, jjnewLexState, jjcompositeState, jjnextStateSet) into separate private static methods. This reduces clinit from 64,452 bytes to 404 bytes.
Open Graph Description: … method limit The generated CCJSqlParserTokenManager class has a clinit method that reaches 64,452 bytes -- dangerously close to the JVM 65,535 byte limit. ASM-based tools like sbt-assembly add tr...
X Description: … method limit The generated CCJSqlParserTokenManager class has a clinit method that reaches 64,452 bytes -- dangerously close to the JVM 65,535 byte limit. ASM-based tools like sbt-assembly add tr...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/pull/2425
X: @github
Domain: Github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0650261b-c4fc-cb72-6ec2-d1dbdf6acfb6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5EE:141206:C588:114A8:6A62DFE1 |
| html-safe-nonce | 89efd29a776489eabdfa0c200931d3d6816de86bac57fd07d702a824dfedb3f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUVFOjE0MTIwNjpDNTg4OjExNEE4OjZBNjJERkUxIiwidmlzaXRvcl9pZCI6IjMwMjU3MDY2ODE0NzUzMTc0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9be55fa5280d6a6e33996ba38b5350f39bd50b92283c4cc0b0e6a93373471519 |
| hovercard-subject-tag | pull_request:3502241986 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/JSQLParser/JSqlParser/pull/2425/files |
| twitter:image | https://avatars.githubusercontent.com/u/2473992?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2473992?s=400&v=4 |
| og:image:alt | … method limit The generated CCJSqlParserTokenManager class has a clinit method that reaches 64,452 bytes -- dangerously close to the JVM 65,535 byte limit. ASM-based tools like sbt-assembly add tr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git |
| octolytics-dimension-user_id | 4643847 |
| octolytics-dimension-user_login | JSQLParser |
| octolytics-dimension-repository_id | 1944709 |
| octolytics-dimension-repository_nwo | JSQLParser/JSqlParser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1944709 |
| octolytics-dimension-repository_network_root_nwo | JSQLParser/JSqlParser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width