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

RunnerClassLoader.findResources does return null #15625

Closed
moritz-bruder opened this issue Mar 11, 2021 · 1 comment · Fixed by #15634
Closed

RunnerClassLoader.findResources does return null #15625

moritz-bruder opened this issue Mar 11, 2021 · 1 comment · Fixed by #15634

Comments

@moritz-bruder
Copy link

In the javadoc of the official API of java/lang/ClassLoader.findResources it is mentioned that this method will always return an Enumeration. While OpenJDK does protect against null this is by no means a requirement. In order to increase robustness and compatibility with other VMs, it is best to not return null or at least not in this specific inherited method.

@jaikiran
Copy link
Member

I've opened #15634 to include this change.

@quarkus-bot quarkus-bot bot added this to the 1.13 - master milestone Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants