Dropping Java 8 support in Sentry Java SDK 9.0.0

未关闭
#6,469 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
35/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
java, kotlin
领域
release

调研方向

This issue announces that Sentry Java SDK 9.0.0 requires Java 11 or newer and explains the upgrade options. Read the SDK release notes and compatibility documentation to see where this announcement belongs; done means users can find the Java 8 support timeline and upgrade guidance.

由索引模型根据 Issue 内容生成。

描述

Java Platform: Java

We're dropping support for Java 8 in the next major version of the Sentry Java SDK. Starting with 9.0.0, the SDK requires Java 11 or newer.

Why

  • Java 8 is old. It came out in 2014. It is not supported by Oracle except for paid support plans.
  • Few events still come from it. In the last 30 days, Java 8 accounted for about 0.6% of all error events sent by the Sentry Java SDK, and about 1.3% of events from non-Android JVM apps.
  • Supporting it has a real cost. Covering everything from Java 8 to Java 25 keeps us from using newer JDK APIs and language features. It also needs extra build tooling (Java 8 API signature checks), makes CI slower, and adds work when we investigate bugs on old runtimes.

What this means for you

  • On Java 11 or newer: nothing changes.
  • Need Java 8: you can stay on the 8.x major version. It keeps working with Java 8.
  • Upgrade path: upgrade to Java 11 or later before upgrading to Sentry Java SDK 9.
  • Android:: No action is needed since AGP 7+ requires JDK 11 older versions are not supported.

Let us know if you have any feedback or concerns.

主要语言
Kotlin
星标
1.4k
派生
483
平均合并
2 天 2 小时
30 天内合并 PR
202

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/sentry-java 的其他 Issue

查看 getsentry/sentry-java 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。