Skip to content

Thread Context ClassLoader not set when invoking handler constructor #110

@Oberon00

Description

@Oberon00

Commit a3d23cc ensured that the thread context class loader is set when invoking the service method. However, the context class loader is currently still not set when invoking newInstance, causing, for example, issues with OpenTelemetry (open-telemetry/opentelemetry-java#3634).

See here for newInstance call:

HttpFunction httpFunction = httpFunctionClass.getConstructor().newInstance();

Metadata

Metadata

Assignees

Labels

P3bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions