Hi there,
when testing TC 10.1 and 11 I get lots of
[junit] WARNING: Using incubator modules: jdk.incubator.foreign
lines in the output. This happens when testing with Java 17. Not with 11
and not with 20 or 21. Don't know about 12-16 and 18-19.
We do have a block in build.xml that adds an --add-modules and the
running java processes during the unit tests do have the following flags
set:
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
--enable-native-access=ALL-UNNAMED
--add-modules jdk.incubator.foreign
Only the java launcher process, that is the parent of those two does not
have these flags set.
The count of such lines is two more than the number of test classes run.
Best regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org