Title: @Target Page Code Snippet is Runnable, but errors out · Issue #123 · Together-Java/ModernJava · GitHub
Open Graph Title: @Target Page Code Snippet is Runnable, but errors out · Issue #123 · Together-Java/ModernJava
X Title: @Target Page Code Snippet is Runnable, but errors out · Issue #123 · Together-Java/ModernJava
Description: Upon clicking the "Run this code" action on the code snippet, it errors out due to "can't find class: Main". I imagine we would not want to run this code, and can probably give it the treatment as in #105
Open Graph Description: Upon clicking the "Run this code" action on the code snippet, it errors out due to "can't find class: Main". I imagine we would not want to run this code, and can probably give it the treatment as ...
X Description: Upon clicking the "Run this code" action on the code snippet, it errors out due to "can't find class: Main". I imagine we would not want to run this code, and can probably g...
Opengraph URL: https://github.com/Together-Java/ModernJava/issues/123
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@Target Page Code Snippet is Runnable, but errors out","articleBody":"Upon clicking the \"Run this code\" action on the code snippet, it errors out due to \"can't find class: Main\".\n\nI imagine we would not want to run this code, and can probably give it the treatment as in https://github.com/Together-Java/ModernJava/pull/105","author":{"url":"https://github.com/mikerasch","@type":"Person","name":"mikerasch"},"datePublished":"2025-08-31T02:27:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/123/ModernJava/issues/123"}
| 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:4cc0e2a0-624d-2251-82a1-35dcecac972d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA20:16DBA9:CF5615:10ED151:697D3B1A |
| html-safe-nonce | fd22ba6090477dbe4fcdacb24a7d059def7998ac444f20b7eda8e70a4d5cf536 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTIwOjE2REJBOTpDRjU2MTU6MTBFRDE1MTo2OTdEM0IxQSIsInZpc2l0b3JfaWQiOiI0MTkxNjg1NjQ3OTcyMjUyNDQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 12062d315059847d4253ae0648fae553f47824bbb6c8f80259101b45b9525c81 |
| hovercard-subject-tag | issue:3369688273 |
| 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/Together-Java/ModernJava/123/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8a2f6cec2a000c2f77938633e6308bb22537e3f724949bd4817f76b4c94e7d5/Together-Java/ModernJava/issues/123 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8a2f6cec2a000c2f77938633e6308bb22537e3f724949bd4817f76b4c94e7d5/Together-Java/ModernJava/issues/123 |
| og:image:alt | Upon clicking the "Run this code" action on the code snippet, it errors out due to "can't find class: Main". I imagine we would not want to run this code, and can probably give it the treatment as ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mikerasch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/Together-Java/ModernJava git https://github.com/Together-Java/ModernJava.git |
| octolytics-dimension-user_id | 37227578 |
| octolytics-dimension-user_login | Together-Java |
| octolytics-dimension-repository_id | 587644974 |
| octolytics-dimension-repository_nwo | Together-Java/ModernJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587644974 |
| octolytics-dimension-repository_network_root_nwo | Together-Java/ModernJava |
| 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 | c2b1f969137add620c89ee43eff21bca11243467 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width