https://bz.apache.org/bugzilla/show_bug.cgi?id=65869
Bug ID: 65869 Summary: AbstractFileResourceSet incorrectly checks kotlin's enum with unicode value Product: Tomcat 8 Version: 8.5.60 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: small...@gmail.com Target Milestone: ---- Created attachment 38186 --> https://bz.apache.org/bugzilla/attachment.cgi?id=38186&action=edit AbstractFileResourceSet error In 8.5.60 , it fixed BZ 64871 bug : Log if file access is blocked due to symlinks by checking if (!canPath.equalsIgnoreCase(absPath)) . commit log here : https://github.com/apache/tomcat/commit/7f004ac4531c45f9a2a2d1470561fe135cf27bc2#diff-1496e8a847a9b5af77f7f2429ce0a4eaea6b373475885b176d56514b8a2f03e5R135 But it makes my kotlin code with unicode enum dumping tons of SEVERE error messages , such as : 05-Feb-2022 03:05:56.112 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.webresources.AbstractFileResourceSet.file Resource for web application [] at path [/WEB-INF/classes/destiny/core/chinese/ziwei/StarMinor$龍池.class] was not loaded as the canonical path [/WEB-INF/classes/destiny/core/chinese/ziwei/StarMinor$??.class] did not match. Use of symlinks is one possible cause. In case you cannot see Chinese characters , the attachment contains snapshot. This is a wicket (8.12.0) app, all written in kotlin. Tomcat 8.5.59 works fine. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org