Evergreen reports tasks as succeeded without collecting any tests results (example https://spruce.mongodb.com/version/68e66c6d88fa050007a6c351/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC report test-sync-task passed without any results inside).

In this particular use case we were using
Unrecognized option: --add-opens=java.base/java.util=ALL-UNNAMED
which fails on older JDK versions (needs to be used behind a flag like in https://github.com/mongodb/mongo-java-driver/blob/main/buildSrc/src/main/kotlin/conventions/test-artifacts.gradle.kts#L38-L40 )
The build fails https://parsley-beta.corp.mongodb.com/evergreen/mongo_java_driver_tests_jdk8_unsecure__version~4.2_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk8_test_sync_task_patch_4eac65c8c778b90538bf56e085b6c66aeb869b6a_68e66c6d88fa050007a6c351_25_10_08_13_51_43/0/task?bookmarks=0,19980&selectedLineRange=L6224&shareLine=19827 but the task is reported successful.
