https://bz.apache.org/bugzilla/show_bug.cgi?id=69576

--- Comment #15 from Thomas F <spacemant5...@mailfence.com> ---
Thanks.

I have received reports, however, that the issue is still happening on MacOS:

WARN  JreCompat - Failed to set the java.io.FileSystem.useCanonCaches static
field java.lang.IllegalAccessException: class
org.apache.tomcat.util.compat.JreCompat cannot access a member of class
java.io.FileSystem (in module java.base) with modifiers "static final"
        at
java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392)
        at
java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674)
        at java.base/java.lang.reflect.Field.checkAccess(Field.java:1102)
        at java.base/java.lang.reflect.Field.set(Field.java:797)
        at
org.apache.tomcat.util.compat.JreCompat.disableCanonCaches(JreCompat.java:326)
        at
org.apache.catalina.webresources.DirResourceSet.initInternal(DirResourceSet.java:353)

This is with Java 17 and Tomcat 10.1.36.  Note the different exception hit
rather than InaccessibleObjectException.  I am not hitting this directly, as I
am on Linux.  I am told they installed OpenJDK 17 via homebrew.

-- 
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

Reply via email to