reschke commented on code in PR #173: URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/173#discussion_r2059858234
########## src/main/java/org/apache/sling/resourceresolver/impl/mapping/AliasHandler.java: ########## @@ -130,31 +132,30 @@ protected boolean initializeAliases() { } else if (!conflictingAliases.isEmpty()) { log.warn("There are {} conflicting aliases: {}", conflictingAliases.size(), conflictingAliases); } + if (invalidAliases.size() >= MAX_REPORT_DEFUNCT_ALIASES) { log.warn("There are {} invalid aliases; excerpt: {}", invalidAliases.size(), invalidAliases); } else if (!invalidAliases.isEmpty()) { log.warn("There are {} invalid aliases: {}", invalidAliases.size(), invalidAliases); } } catch (final Exception e) { - + this.aliasMapsMap = new ConcurrentHashMap<>(); Review Comment: Hm, no. Previously we wouldn't even have used AliasHandler because of "useOptimized..." being false. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org