Skip to content

RUM-628: Bump JVM bytecode version to 17 - #3996

Draft
0xnm wants to merge 2 commits into
developfrom
nogorodnikov/rum-628/bump-jvm-bytecode-to-17
Draft

0xnm wants to merge 2 commits into
developfrom
nogorodnikov/rum-628/bump-jvm-bytecode-to-17

Conversation

@0xnm

@0xnm 0xnm commented Oct 16, 2026

Copy link
Copy Markdown
Member

What does this PR do?

This PR bumps JVM bytecode generated to version 17.

Normally, the recent AGP build tooling should be able to process it.

The first AGP version which requires JDK 17 is 8.0, it was released 3 years ago https://developer.android.com/build/releases/agp-8-0-0-release-notes.

Building now needs JDK 17 / AGP 8, and customers with jvmTarget below 17 can't inline withinSpan or transactionTraced (inline functions coming with SDK).

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Tests

✅ All CI checks and tests passed. Datadog automation helped this PR pass.

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🔄 Datadog retried 1 test - 1 passed on retry View in Datadog

🎯 Code Coverage (details)
• Patch Coverage: 66.67%
• Overall Coverage: 71.83% (+0.03%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: ec29f24 | Docs | View more details | Give us feedback!

Kotlin emits PermittedSubclasses for sealed classes when targeting JVM 17,
so Mockito can no longer mock RumRawEvent and MobileRecord. Use real
instances in tests instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0xnm
0xnm force-pushed the nogorodnikov/rum-628/bump-jvm-bytecode-to-17 branch from 5b6912f to ec29f24 Compare October 16, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant