Improving OpenJDK for FreeBSD

Andrew Hughes gnu.andrew at redhat.com
Wed Feb 19 22:27:12 UTC 2025


On 13:41 Fri 14 Feb 2025, Harald Eilertsen wrote:
> 
> For the record, here's the jtreg test summary for the PR i made (with
> one additional change, but nothing substantial):
> 
>  ==============================
>  Test summary
>  ==============================
>     TEST                                              TOTAL  PASS  FAIL ERROR
>  >> jtreg:test/hotspot/jtreg:tier1                     2642  2606    36     0
>  <<
>     jtreg:test/jdk:tier1                               2450  2450     0     0
>     jtreg:test/langtools:tier1                         4603  4603     0     0
>     jtreg:test/jaxp:tier1                                 0     0     0     0
>     jtreg:test/lib-test:tier1                            35    35     0     0
>  ==============================
>  TEST FAILURE
> 
> Not quite there, but better than the existing JDK23u port for FreeBSD.
>

These are good results, especially against the moving target of trunk
development.

It might be worth putting the test changes in a separate PR which can
likely go in fairly easily first. It's a shame GitHub Actions doesn't
support BSD or each PR could then track these results.

> > Also, I've noticed you've already have jtreg working on FreeBSD [1] (for the
> > upcoming jtreg 7.6?). But each JDK version uses different jtreg versions
> > [2]. Are you planning a jtreg port in FreeBSD for these older versions?
> 
> So far I've just used the jtreg main branch to run the jdk tests, so I
> haven't thought about it. But that's a good point, and I will look into
> it.
>

Do you plan to try and backport to the long-term support (LTS)
releases?

My gut feeling is that this is probably too risky for anything other
than the latest LTS (21).  On the positive side, this does mean you
can look forwards with these changes - like Thomas' suggestion of
separating the *BSD and MacOS ports - rather than trying to retain
compatibility with older versions.

Thanks,
-- 
Andrew :)
Pronouns: he / him or they / them
Principal Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

Please contact via e-mail, not proprietary chat networks
Available on Libera Chat & OFTC IRC networks as gnu_andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20250219/5225ebda/signature.asc>


More information about the jdk-dev mailing list