RFR: 8349099: java/awt/Headless/HeadlessMalfunctionTest.java fails on CI with Compilation error [v4]

Karm Michal Babacek duke at openjdk.org
Fri Mar 7 21:09:54 UTC 2025


On Fri, 7 Mar 2025 12:38:08 GMT, Karm Michal Babacek <duke at openjdk.org> wrote:

>> Removed objectweb.asm for bytecode manipulation and uses JEP 484 classfile API.
>> 
>> Test passes on Linux amd64 so far:
>> 
>> TIME=`date +%s`;
>> mkdir -p test.${TIME}/jdk/JTwork test.${TIME}/jdk/JTreport; 
>> jtreg -a -ignore:quiet -w:test.${TIME}/jdk/JTwork -r:test.${TIME}/jdk/JTreport -jdk:/home/karm/workspaceRH/jdk/build/linux-x86_64-server-release/images/graal-builder-jdk/ /home/karm/workspaceRH/jdk/test/jdk/java/awt/Headless/
>> 
>> Test results: passed: 15
>
> Karm Michal Babacek has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed @library /test -> @library /test/lib

test/jdk/java/awt/Headless/HeadlessMalfunctionTest.java line 36:

> 34:  * @summary Test that in absence of isHeadless method, the JDK throws a meaningful error message.
> 35:  * @library /test/lib
> 36:  * @requires os.family == "linux"

@prrace 

> I'll hold off re-running the tests until you have updated the PR with the exclusions.

Doesn't this bit do the exclusion? I found out about it looking at other tests...

My Windows says:

Test results: passed: 14; did not meet platform requirements: 1
Report written to C:\workspace\workspace\mandrel-jdk-build-matrix\LABEL\w2k19\jdk\jtreg_results\jdk\JTreport\html\report.html
Results written to C:\workspace\workspace\mandrel-jdk-build-matrix\LABEL\w2k19\jdk\jtreg_results\jdk\JTwork


and MacOS also:

Test results: passed: 14; did not meet platform requirements: 1
Report written to /Users/tester/jenkins/workspace/mandrel-jdk-build-matrix/LABEL/macos_aarch64/jdk/jtreg_results/jdk/JTreport/html/report.html
Results written to /Users/tester/jenkins/workspace/mandrel-jdk-build-matrix/LABEL/macos_aarch64/jdk/jtreg_results/jdk/JTwork

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23852#discussion_r1985712083


More information about the client-libs-dev mailing list