On Mon, 27 Sept 2021 at 13:31, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote: > > On Mon, Sep 27, 2021 at 12:15:32PM +0100, Mat Booth wrote: > > On Mon, 27 Sept 2021 at 12:07, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote: > > > > > > A question about this which is semi-related to your email. > > > > > > For some C library packages we have Java bindings, eg: > > > https://github.com/libguestfs/libguestfs/tree/master/java > > > > > > These have been disabled in Fedora for ~2 years, but when they were > > > around they had these BuildRequires: > > > > > > BuildRequires: java-1.8.0-openjdk > > > BuildRequires: java-1.8.0-openjdk-devel > > > BuildRequires: jpackage-utils > > > > > > I believe the only requirements are javac, javah, javadoc (optional) > > > and a JVM to run the tests on. > > > > > > Is it possible to keep this going, or would that require a lot of > > > work? I notice that javah no longer seems to exist. > > > > > > (Note I know almost nothing about how the modern JDK works) > > > > > > Rich. > > > > Hi, the functionality provided by javah has been folded into javac in > > recent JDKs. > > > > These days you can make one call to "javac -h" instead of having to > > call both "javac" and "javah" > > > > I ported quite a few packages this way when Fedora made the switch to > > Java 11 by default. If you like I can probably take a look libguestfs > > and send you a PR? > > Sure thing, thanks. > > However before you start you might also want to know that there are > apparently some serious GC-related problems with how those bindings > work: > > https://bugzilla.redhat.com/show_bug.cgi?id=1536762 > > so it might be more of a saga than just changing a few commands. > > Rich. Hi Rich, TBH it looks like your Java bindings should build fine on Java 11 since this change: https://github.com/libguestfs/libguestfs/commit/662dc5d0bf65e72dab11aa58d4bc373b5a3b7e75 > > > > > > > > > -- > > > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > > > Read my programming and virtualization blog: http://rwmj.wordpress.com > > > virt-p2v converts physical machines to virtual machines. Boot with a > > > live CD or over the network (PXE) and turn machines into KVM guests. > > > http://libguestfs.org/virt-v2v > > > _______________________________________________ > > > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > > > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > > > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > > List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx > > > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure > > > > > > > > -- > > Mat Booth > > http://fedoraproject.org/get-fedora > > _______________________________________________ > > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > > List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx > > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > virt-top is 'top' for virtual machines. Tiny program with many > powerful monitoring features, net stats, disk stats, logging, etc. > http://people.redhat.com/~rjones/virt-top > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure -- Mat Booth http://fedoraproject.org/get-fedora _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure