Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
dch :flantifa: :flan_hacker: boosted
Harald Eilertsen
@harald@hub.volse.no  ·  activity timestamp 2 weeks ago

⁂ Article

Introducing FLAVORS for OpenJDK on FreeBSD

A quick writeup of my thoughts around packaging OpenJDK for FreeBSD after adding FLAVORS to the OpenJDK 25 port:

Traditionally it's been possible to build OpenJDK for FreeBSD either as the full Java Development Kit (JDK), or as the slimmed down Jave Runtime Environment (JRE) via the FreeBSD ports system. This has been acheived by having two different ports, where the -jre port has been just a meta port that configures the main OpenJDK port for building the...

— https://kodeknekkeriet.net/en/blog/introducing-flavors-in-openjdk-freebsd/

I'd really like som input from the community on this, as I'm not entirely sure about what would be the best way to deal with this.

Thanks to the FreeBSD Foundation for sponsoring this project!

# FreeBSD # OpenJDK # ports # packaging

  • Copy link
  • Flag this article
  • Block
Harald Eilertsen
@harald@hub.volse.no  ·  activity timestamp 2 weeks ago

⁂ Article

Introducing FLAVORS for OpenJDK on FreeBSD

A quick writeup of my thoughts around packaging OpenJDK for FreeBSD after adding FLAVORS to the OpenJDK 25 port:

Traditionally it's been possible to build OpenJDK for FreeBSD either as the full Java Development Kit (JDK), or as the slimmed down Jave Runtime Environment (JRE) via the FreeBSD ports system. This has been acheived by having two different ports, where the -jre port has been just a meta port that configures the main OpenJDK port for building the...

— https://kodeknekkeriet.net/en/blog/introducing-flavors-in-openjdk-freebsd/

I'd really like som input from the community on this, as I'm not entirely sure about what would be the best way to deal with this.

Thanks to the FreeBSD Foundation for sponsoring this project!

# FreeBSD # OpenJDK # ports # packaging

  • Copy link
  • Flag this article
  • Block
Michael Dexter boosted
Harald Eilertsen
@harald@hub.volse.no  ·  activity timestamp 6 months ago
The FreeBSD logo and the Java Duke waving

Over the past seven months I've been working on improving the support for FreeBSD in OpenJDK, sponsored by the @ FreeBSD Foundation.

==============================
Test summary
==============================
TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
>> jtreg:test/hotspot/jtreg:tier1 3033  2720 9 0 304 <<
==============================

When I started on this project, we had about 100 failing Hotspot tests on FreeBSD, in addition to around 40 in the rest of the JDK. Getting below 10 in total (on x86_64) feels like a significant milestone, and worthy of a bit of celebration! party_popper

It's been an interesting, and very educational ride. Some of those tests were pretty easy wins, but some required delving deep into the internals of both OpenJDK and FreeBSD, as well as getting acquainted with the basics of the ARM architecture and instruction set. (Remembering how fascinated I was when the Acorn Archimedes was launched, I'd say this was long overdue!)

I finally feel that the OpenJDK BSD port is nearing a state where it makes sense to try to upstream it, and get it fully integrated into the OpenJDK infrastructure and build/test/CI frameworks. There's still a lot of work remaining to get there, it has to be done in portions and with the cooperation of the upstream project, but I hope to be able to spend the next six months or so to get there.

Thanks a lot to the welcoming and supportive OpenJDK developer community, as well as the @ FreeBSD Foundation and the people there for sponsoring and supporting the project, and for providing help and insights about the FreeBSD internals when I got stuck.

# OpenJDK # java # FreeBSD # BSD # programming # mywork
The FreeBSD logo and the Java Duke waving
The FreeBSD logo and the Java Duke waving
The FreeBSD logo and the Java Duke waving
  • Copy link
  • Flag this post
  • Block
Harald Eilertsen
@harald@hub.volse.no  ·  activity timestamp 6 months ago
The FreeBSD logo and the Java Duke waving

Over the past seven months I've been working on improving the support for FreeBSD in OpenJDK, sponsored by the @ FreeBSD Foundation.

==============================
Test summary
==============================
TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
>> jtreg:test/hotspot/jtreg:tier1 3033  2720 9 0 304 <<
==============================

When I started on this project, we had about 100 failing Hotspot tests on FreeBSD, in addition to around 40 in the rest of the JDK. Getting below 10 in total (on x86_64) feels like a significant milestone, and worthy of a bit of celebration! party_popper

It's been an interesting, and very educational ride. Some of those tests were pretty easy wins, but some required delving deep into the internals of both OpenJDK and FreeBSD, as well as getting acquainted with the basics of the ARM architecture and instruction set. (Remembering how fascinated I was when the Acorn Archimedes was launched, I'd say this was long overdue!)

I finally feel that the OpenJDK BSD port is nearing a state where it makes sense to try to upstream it, and get it fully integrated into the OpenJDK infrastructure and build/test/CI frameworks. There's still a lot of work remaining to get there, it has to be done in portions and with the cooperation of the upstream project, but I hope to be able to spend the next six months or so to get there.

Thanks a lot to the welcoming and supportive OpenJDK developer community, as well as the @ FreeBSD Foundation and the people there for sponsoring and supporting the project, and for providing help and insights about the FreeBSD internals when I got stuck.

# OpenJDK # java # FreeBSD # BSD # programming # mywork
The FreeBSD logo and the Java Duke waving
The FreeBSD logo and the Java Duke waving
The FreeBSD logo and the Java Duke waving
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login