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

Vladimir Kozlov kvn at openjdk.org
Thu Jun 5 15:50: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

Tests P1-P5 can be fixed during RDP1 and RDP2: https://openjdk.org/jeps/3#rdp-2

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

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


More information about the hotspot-gc-dev mailing list