TC trunk on SLES 11 with APR and Java 11: to many threads during TestDefaultServletEncodingWith*Bom

2019-01-26 Thread Rainer Jung
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:

TC 9 plus Java 11 illegal reflective access during unit tests

2019-01-26 Thread Rainer Jung
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