Skip to content

Add overloads with explicit class loader to com.schibsted.spt.data.jslt.FunctionUtils #197

Description

@ppalaga

... and consider changing the existing FunctionUtils methods to use current thread's context class loader as a fallback. This is because in complex class loader environments (like Jboss Modules or Quarkus) the loader of the class calling FunctionUtils.wrapStaticMethod() may be unable to load the requested class. Current thread's context class loader is typically a good choice in situations like this one.

I could prepare a PR if this sounds good to you?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions