Skip to content

Commit

Permalink
Issue #5870 Windows URI case comparison fails
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Jan 11, 2021
1 parent 26ef233 commit daa0c94
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -704,13 +704,12 @@ public boolean isFromExcludedJar(WebAppContext context, ServletContainerInitiali
}

//Check if it is excluded by an ordering
URI loadingJarURI = sciResource.getURI();
boolean found = false;
Iterator<Resource> itor = orderedJars.iterator();
while (!found && itor.hasNext())
{
Resource r = itor.next();
found = r.getURI().equals(loadingJarURI);
found = r.equals(sciResource);
}

if (LOG.isDebugEnabled())
Expand Down

0 comments on commit daa0c94

Please sign in to comment.