Details
Description
The switch statement in the FileUtil.open(...) does not break after matching CONTEXT_RESOURCE. This causes files to not open if they are found by CONTEXT_RESOURCE and not by CLASSLOADER_RESOURCE. This can also return the wrong file if each resource finds a different version of the file.