Skip to content

Fix using opentelemetry-spring-boot with java8#10066

Merged
trask merged 1 commit into
open-telemetry:mainfrom
laurit:spring-webmvc-6.0-java8
Dec 13, 2023
Merged

Fix using opentelemetry-spring-boot with java8#10066
trask merged 1 commit into
open-telemetry:mainfrom
laurit:spring-webmvc-6.0-java8

Conversation

@laurit

@laurit laurit commented Dec 13, 2023

Copy link
Copy Markdown
Contributor

Resolves #9949

@laurit
laurit requested a review from a team December 13, 2023 16:23
Comment on lines +21 to +24
// We compile this module for java 8 because it is used as a dependency in spring-boot-autoconfigure.
// If this module is compiled for java 17 then gradle can figure out based on the metadata that
// spring-boot-autoconfigure has a dependency that requires 17 and fails the build when it is used
// in a project that targets an earlier java version.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very interesting, gradle being too smart for us...

cc @jeanbisutti @zeitlinger

@trask
trask merged commit ad16ba8 into open-telemetry:main Dec 13, 2023
heyams pushed a commit to heyams/opentelemetry-java-instrumentation that referenced this pull request Dec 13, 2023
elbiocaetano pushed a commit to elbiocaetano/opentelemetry-java-instrumentation that referenced this pull request Dec 19, 2023
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.

"Could not resolve" error when upgrading from 1.22.0-alpha to 1.23.0-alpha (and newer versions)

3 participants