[jdk25u-dev] RFR: 8341778: Some javac tests ignore the result of JavacTask::call

Roland Mesde duke at openjdk.org
Tue Dec 16 19:19:37 UTC 2025


On Mon, 1 Dec 2025 23:36:15 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8341778: Some javac tests ignore the result of JavacTask::call. 
> 
> Multiple tests ignore the Boolean return value from JavacTask.call(), causing silent failures where tests appear to pass despite actual compilation errors. This fix adds result validation to all affected test cases.. Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> (Passed) - make test-tier1
> (Passed) - make test TEST=test/jdk/java/beans
> (Passed) - make test TEST=test/hotspot/jtreg/vmTestbase/gc/g1/unloading
> 
> Results are attached.
> 
> [linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23886979/linux-aarch64-jtreg-tier1.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23886980/linux-aarch64-specific-test.log)
> [linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/23886981/linux-aarch64-specific-2-test.log)
> [linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23886982/linux-x64-jtreg-tier1.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/23886983/linux-x64-specific-test.log)
> [linux-x64-specific-2-test.log](https://github.com/user-attachments/files/23886984/linux-x64-specific-2-test.log)
> [macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23886985/macos-aarch64-jtreg-tier1.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23886986/macos-aarch64-specific-test.log)
> [macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/23886987/macos-aarch64-specific-2-test.log)
> [windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23886988/windows-x64-jtreg-tier1.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/23886989/windows-x64-specific-test.log)
> [windows-x64-specific-2-test.log](https://github.com/user-attachments/files/23886990/windows-x64-specific-2-test.log)

Withdrawing PR due to staleness.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/40#issuecomment-3662017726


More information about the jdk-updates-dev mailing list