From 1c6a3c39a7ad72095db3455aae0f264d4bc5fa59 Mon Sep 17 00:00:00 2001 From: xstefank Date: Fri, 15 Mar 2024 06:59:20 +0100 Subject: [PATCH] Test with JDK 21 --- .github/workflows/build.yml | 2 +- .../instrumentation/observation/cdi/ObservedInterceptor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e8deef..3084c75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [11, 17] + java: [11, 17, 21] name: build with jdk ${{matrix.java}} steps: diff --git a/implementation/observation-otel-bridge/src/main/java/io/smallrye/opentelemetry/instrumentation/observation/cdi/ObservedInterceptor.java b/implementation/observation-otel-bridge/src/main/java/io/smallrye/opentelemetry/instrumentation/observation/cdi/ObservedInterceptor.java index 38760d9..2dc7ec6 100644 --- a/implementation/observation-otel-bridge/src/main/java/io/smallrye/opentelemetry/instrumentation/observation/cdi/ObservedInterceptor.java +++ b/implementation/observation-otel-bridge/src/main/java/io/smallrye/opentelemetry/instrumentation/observation/cdi/ObservedInterceptor.java @@ -7,8 +7,8 @@ import io.micrometer.observation.ObservationRegistry; import io.micrometer.observation.annotation.Observed; -import io.smallrye.opentelemetry.instrumentation.observation.cdi.convention.DefaultObservedInterceptorConvention; import io.smallrye.opentelemetry.instrumentation.observation.cdi.convention.CdiInterceptorContext; +import io.smallrye.opentelemetry.instrumentation.observation.cdi.convention.DefaultObservedInterceptorConvention; import io.smallrye.opentelemetry.instrumentation.observation.cdi.convention.ObservedInterceptorConvention; import io.smallrye.opentelemetry.instrumentation.observation.cdi.convention.ObservedInterceptorDocumentation;