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

Vicente Romero vromero at openjdk.org
Fri Jun 6 14:14:57 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

This pull request has now been integrated.

Changeset: 8adb052b
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8adb052b46f90e8a0605cfc5ddc667acb7c61952
Stats:     136 lines in 33 files changed: 88 ins; 1 del; 47 mod

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

Reviewed-by: shade

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

PR: https://git.openjdk.org/jdk/pull/25645


More information about the hotspot-gc-dev mailing list