Snapshot 6.2.2.73: extension.pdf.tag.DocumentSection cannot be cast

I tried the last snapshot for the query performance and the pdf extension is throwing an error:

“ERROR”,“http-nio-80-exec-9”,“07/10/2025”,“12:49:37”,“94218EDE359E41E1C2DB41D04DCFA1A2”,"class org.lucee.extension.pdf.tag.DocumentSection cannot be cast to class org.lucee.extension.pdf.tag.Document (org.lucee.extension.pdf.tag.DocumentSection and org.lucee.extension.pdf.tag.Document are in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @46ad02ad):

(stacktrace is my code)

with 6.2.2.66-RC it still works. I checked the changelog, there is no pdf or documentsection mentioned.

OS: debian on docker
Java Version: jdk21
Tomcat Version: 11
Lucee Version: 6.2.2.73 throws the error, 6.2.2.66-RC works
pdf extension: 1.0.0.66

Is it still happening after a restart?

I recreated the docker containers, send the request, restart the containers, send the request - yes, the error is still there. Is there something more I can share for debugging?

looking at the changes, the only thing I suspect is possibly this change, which falls back on reflection for dynamically modified code when an agent is used and there’s no class files on disk to introspect.

https://luceeserver.atlassian.net/browse/LDEV-5632

a repo would be great