RFR: 8341778: Some javac tests ignore the result of JavacTask::call

Aleksey Shipilev shade at openjdk.org
Thu Jun 5 14:57:52 UTC 2025


On Wed, 4 Jun 2025 21:02:04 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> Several tests are ignoring the result of invoking com.sun.source.util.JavacTask::call which returns a `Boolean`. This implies that tests could seem to pass when in reality they are silently failing. This PR is fixing this issue by checking, in all applicable cases the result of the invocation.
> 
> TIA

I believe we are still not in RDP1? Do you want to get it in JDK 25? Put `Fix-Versions: 25` into the bug and integrate, if so.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25645#issuecomment-2944885496


More information about the hotspot-gc-dev mailing list