From nobody Tue Jun 14 09:13:22 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 77582840B9D for ; Tue, 14 Jun 2022 09:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LMjQp1T9vz3D54 for ; Tue, 14 Jun 2022 09:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 130FB276AA for ; Tue, 14 Jun 2022 09:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25E9DMxM077341 for ; Tue, 14 Jun 2022 09:13:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25E9DMQQ077340 for ports-bugs@FreeBSD.org; Tue, 14 Jun 2022 09:13:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264663] java/openjdk17: possible to port WatchService patch from openjdk8 ? Date: Tue, 14 Jun 2022 09:13:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dennis.noordsij@alumni.helsinki.fi X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655198002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7Jfw4hltlUUhilCAU5zG3iMz0y/vXju5/qnXHYfn/q8=; b=fa3cDlbdKN6HU5WhFia1prPLG95HmyNE8Qr0PX5iY49y/HWfTukB7k1tZPXdZOaTJz9mL0 IXhu0H7wKNBF1K0fKb56m2XzWZArndPX5x+VN0j9GYHO7TMBz5gxwM55/OXnvt1l13Om5L ewG8zqiXxVJqH0x9UR8hBWzxD/zsabIzfqxQaXJD6S5QqLIjixdmYKDLMiwDTfl2HuBFv/ AUhX3ZchCJfZ7bDAojEBmjUtpNjfSfzXQU5td3ypV8HhShV+0KHgOEV9vDgYMUx/Y3qbnI 5T3HAYAgX7m0p6jLzttUCSNw3OGozLrvVbvqlw2E4XU0yNhUp25O8Mz1bk3miw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655198002; a=rsa-sha256; cv=none; b=yhtgPfUHhBwkkFM+qFSMMEZyp4SDJRXDeMryp1LKYVCsrX2079WkQqIowD6njUtnJIAlCG dPD189HGF/UXkh69ID3kYgBuvVM4gx0iqa9jKBnKI0uJbAisqMv2CsDEkzIKtBLNs1IML/ a7Ng4rgkjVyr2SokdFa+A7dDaApVearV4fAdMYXoQ1cfTf+VPPXSVlFGmV3XQ5vUtYOJuE j0lf+1gDvXLG+E6v6QdtaN6RjPfQX6UvAa/7/XKC8169AADE4XuoWvjqe5vCR0U97wdg17 tI327SwnnhboGlVmmrQLn/XK5cglVbfVeIN4y/gx0eMu/p7wSBpR2ELitUUITA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=