From 60ac6213b33159f9b56c3ed9ab093917a9b5b079 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 11:26:51 +0000 Subject: [PATCH] fix(core): Fix 9.x.x compile error in SentryTracer.hasAllChildrenFinished #6417 replaced Span.getOptions() with Span.isIdle(), but #6415 merged right after and brought back the old span.getOptions().isIdle() call, so 9.x.x no longer compiles. Co-Authored-By: Alexander Dinauer --- sentry/src/main/java/io/sentry/SentryTracer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry/src/main/java/io/sentry/SentryTracer.java b/sentry/src/main/java/io/sentry/SentryTracer.java index b8c74e0a2b..93c20d73d0 100644 --- a/sentry/src/main/java/io/sentry/SentryTracer.java +++ b/sentry/src/main/java/io/sentry/SentryTracer.java @@ -712,7 +712,7 @@ private boolean hasAllChildrenFinished() { @NotNull final ListIterator iterator = this.children.listIterator(); while (iterator.hasNext()) { @NotNull final Span span = iterator.next(); - if (span.getOptions().isIdle()) { + if (span.isIdle()) { continue; } // This is used in the spanFinishCallback, when the span isn't finished, but has a finish