When running the unit tests for trunk using Java 11 and APR connector I
run out of memory, first in threads, later in heap. The prpoblematic
tests are TestDefaultServletEncodingWithBom and
TestDefaultServletEncodingWithoutBom.
A thread dumps shows 540 sendfile threads like the following:
Hi there,
FYI: during unit tests run (testing tcnative) for TC trunk I get the
following warnings when testing with Java 11:
166 x WARNING: Illegal reflective access by
org.apache.catalina.loader.WebappClassLoaderBase
(file:/.../output/classes/) to field
java.io.ObjectStreamClass$Caches.loc