KEMBAR78
OTLP exporters should load Compressor using the class loader configured using `setServiceClassLoader` · Issue #7181 · open-telemetry/opentelemetry-java · GitHub
Skip to content

OTLP exporters should load Compressor using the class loader configured using setServiceClassLoader #7181

@jack-berg

Description

@jack-berg

I guess we could consider dropping the separate class loader for extensions. @trask wdyt?

if we can solve with #7150 that sounds ideal 👍

There is the same issue with

ServiceLoader.load(CompressorProvider.class, CompressorUtil.class.getClassLoader())) {
An alternative would be to use context class loader. Currently we don't set the context loader in the agent, but we used to. Can't recall why we had to stop setting it.

Originally posted by @laurit in #7164 (reply in thread)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions