Just to follow up on this, I’ve uploaded a patch for YETUS-297 that
will allow users to select which individual subsystems/tests should use
MultiJDK mode if those tests are aware of it. By default, Yetus enables it for
compile, unit, and javadoc. Using —multijdktests=“javadoc” would mean that
multiple JDKs are only used during the javadoc portion and not for compile
(read: javac, cc, scalac, etc) or for unit tests. Doing —multijdktests=“” (or
even —multijdktests=“shellcheck” or some other test that doesn’t know about
Java) would disable all of them (although it’s probably easier to just not set
the JDKs to begin with …) .