spot fix for issue 261 by sparecycles · Pull Request #269 · aws/aws-encryption-sdk-java

Issue #, if available:
#261

Description of changes:
Use a classloader associated with the package to resolve a package-local file. Using the global classloader is not compatible with spring-boot-packed application jars.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.