Title: SentryClient constructor is marked as internal · Issue #4780 · getsentry/sentry-java · GitHub
Open Graph Title: SentryClient constructor is marked as internal · Issue #4780 · getsentry/sentry-java
X Title: SentryClient constructor is marked as internal · Issue #4780 · getsentry/sentry-java
Description: Integration sentry Java Version 17 Version 8.18.0 Steps to Reproduce Follow the code detailed in https://docs.sentry.io/platforms/android/configuration/shared-environments/ for setting up the Java Sentry client in a shared environment. S...
Open Graph Description: Integration sentry Java Version 17 Version 8.18.0 Steps to Reproduce Follow the code detailed in https://docs.sentry.io/platforms/android/configuration/shared-environments/ for setting up the Java ...
X Description: Integration sentry Java Version 17 Version 8.18.0 Steps to Reproduce Follow the code detailed in https://docs.sentry.io/platforms/android/configuration/shared-environments/ for setting up the Java ...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/4780
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SentryClient constructor is marked as internal","articleBody":"### Integration\n\nsentry\n\n### Java Version\n\n17\n\n### Version\n\n8.18.0\n\n### Steps to Reproduce\n\n1. Follow the code detailed in https://docs.sentry.io/platforms/android/configuration/shared-environments/ for setting up the Java Sentry client in a shared environment.\nSee https://github.com/getsentry/sentry-java/blob/3da09d8fbad1c509efae71440e7c7d8cdbb608d3/sentry/src/main/java/io/sentry/SentryClient.java#L52\n\n\n### Expected Result\n\nFollowing the code outlined in https://docs.sentry.io/platforms/android/configuration/shared-environments/ shouldn't result in any validation errors or compliance issues.\n\n### Actual Result\n\nThe constructor is marked as internal, violating our compliance rules.\nThis is similar to this issue: https://github.com/getsentry/sentry-java/issues/4722.\nAs far as I know, the issue still persist on the main branch.","author":{"url":"https://github.com/oroatlightrun","@type":"Person","name":"oroatlightrun"},"datePublished":"2025-10-05T10:07:15Z","url":"https://github.com/getsentry/sentry-java/issues/4780"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c144135e-d0e7-cf38-2fe3-ccbbaacee1d7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3EC:29CA94:BE376C:1040472:6B048C0C |
| html-safe-nonce | 5c84ec82e66d25d3f8a4ab7d9641fa697461c34b32fcff51e5a521114f95ebfd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0VDOjI5Q0E5NDpCRTM3NkM6MTA0MDQ3Mjo2QjA0OEMwQyIsInZpc2l0b3JfaWQiOiI2MDMwODYyNTI5MDEyNzMwODkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 806c15171212f52537ff1aebe379d241e9adec8dcfb22149190fb376fc45ca64 |
| hovercard-subject-tag | issue:3484642740 |
| 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/getsentry/sentry-java/4780/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81146ba17b7f60abca7eec5aae619e14435668e17743751c870d29b487ba93e5/getsentry/sentry-java/issues/4780 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81146ba17b7f60abca7eec5aae619e14435668e17743751c870d29b487ba93e5/getsentry/sentry-java/issues/4780 |
| og:image:alt | Integration sentry Java Version 17 Version 8.18.0 Steps to Reproduce Follow the code detailed in https://docs.sentry.io/platforms/android/configuration/shared-environments/ for setting up the Java ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oroatlightrun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b297275a74a2c9a35898175c9477837c635d4f579277ebff3b2d6ebd012e247 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| 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 | b51ce57ca6d4565a42856fc1c9897077c794597f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width