RFR: 8352020: [CompileFramework] enable compilation for VectorAPI [v2]
Christian Hagedorn
chagedorn at openjdk.org
Tue Mar 18 07:49:08 UTC 2025
On Tue, 18 Mar 2025 06:51:56 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/lib/compile_framework/Compile.java line 200:
>>
>>> 198:
>>> 199: // Note: the output can be non-empty even if the compilation succeeds, e.g. for warnings.
>>> 200: if (exitCode != 0) {
>>
>> Would `-XX:-PrintWarnings` also work?
>
> Maybe... but I don't want to risk it. There have recently been a few sightings where `javac` printed some messages, see [JDK-8351998](https://bugs.openjdk.org/browse/JDK-8351998). I think it's just not worth it to fail if it prints anything. Exit code should be sufficient.
Agreed, it's safer.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24082#discussion_r2000394948
More information about the hotspot-compiler-dev
mailing list