Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fallback in the process of getting the resource as a stream (#79) #81

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

vvatanabe
Copy link
Member

@vvatanabe vvatanabe commented Jan 21, 2021

I added fallback in the process of getting the resource as a stream.

  • First, return the InputStream to use: typically the thread context ClassLoader, if available;
  • Next, the ClassLoader that loaded the ResourceLoader class will be used as fallback.
  • Finally, if even the system ClassLoader could not access resource as stream, return null.

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.

None yet

1 participant