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: github.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:30c9469a-4476-ab22-8c9a-bfd6911fe63c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7CE:14919D:271D8CC:3386E0C:697D5254 |
| html-safe-nonce | d67b074d4b18c6cb7e67392ca06ee10120938478ebce79da50ec23bbe0e09d47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0NFOjE0OTE5RDoyNzFEOENDOjMzODZFMEM6Njk3RDUyNTQiLCJ2aXNpdG9yX2lkIjoiMjEwMzc5MzA5NDk1MTI2MDc1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9a47c22a45829b7f491cf4dfe04174afb882e99de60e5bc085991f5aad517663 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width