Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2022 09:13:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 264663] java/openjdk17: possible to port WatchService patch from openjdk8 ?
Message-ID:  <bug-264663-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264663

            Bug ID: 264663
           Summary: java/openjdk17: possible to port WatchService patch
                    from openjdk8 ?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: dennis.noordsij@alumni.helsinki.fi
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

In java/openjdk8 FreeBSD added a custom WatchService implementation based on
libinotify.

https://www.freshports.org/commit.php?category=3Djava&port=3Dopenjdk8&files=
=3Dyes&message_id=3D201812270952.wBR9qrhJ083942@repo.freebsd.org

Since openjdk17 is another LTS release, would it be possible to add this to=
 the
FreeBSD openjdk17 port as well?

My use case is sbt (scala builder), while it officially recommends openjdk8
(for now), it works fine with openjdk17 (my app uses some 17 functionality =
and
doesn't care about supporting 8) except for watching for file changes. The
default polling is not only slow but also does not work reliably.=20

Using openjdk8 sbt file watching works perfectly.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264663-8522>