From nobody Tue Jun 14 09:13:22 2022 X-Original-To: java@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 59EDC840C60 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 4LMjQp0QpRz3DLK 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 E34D2276A9 for ; Tue, 14 Jun 2022 09:13:21 +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 25E9DLxi077337 for ; Tue, 14 Jun 2022 09:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25E9DLPp077336 for java@FreeBSD.org; Tue, 14 Jun 2022 09:13:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 264663] java/openjdk17: possible to port WatchService patch from openjdk8 ? Date: Tue, 14 Jun 2022 09:13:22 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@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: in-reply-to:in-reply-to:references:references; bh=5I5ROEjX7dvkGpZFS48T6rKk8Oy8jfWYatWQ99iZ8vU=; b=wBKAf9b2r1Sau70ncCR16qrqbEf4GWNde48MYlSxO7vVqgX9yszT83cbQJkvBcN2KU1L0g tr1WwGomLITLYsEW7h6UdgNJc7JnwPGmo8Lj4BvLuJRUMQoULqsC6xSlKpTLBqMgG3cmmr r9mlmfsjKZ+dJyzrz/WGfw2ktmv9HOWAgNBlUKcJExNkERKmhbCi6cOUVyaRHDiH9JDTGE jQyyBezngKB80e7U6Uv4azlpV4ZxGGlzj3bBUX7w2i9UxJ3wyuhocEz9sHz1Ph4lKpjoGP G7aJ6M2lhtqLGTTvC68mZMbM3ezmF1L6y2CJwQuY1LfQjnsrWOSfWo3bqbXcqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655198002; a=rsa-sha256; cv=none; b=MV67KS04ys1Fqkx861qcM5eiz2DZLBLZrca3rs/Nbw1Ax87wjcqtyjCur3JWsFbQkbik6U DC0ZP70kC/P2TjMkgwq8v1y0Uq4F4RE61aZFGGhxY+Q9xCi09x5414o7uYv9j5vStB1Ixd LBlV9Db0fxnyS/5FI+LGwexqZl1C2YjaqWCnoNbxkoFKiXq7a0GTCsez7N9wJzLzFW7MSd ZT/fItxVBbEHl16SDsb+1+9fAr1Q9W4pvQU9o7b/gnT4ZqvhiXLRrNxb2Ff4UaAemtasvF f0WrWazYi2EWuJWegOUU3M9gUnIhwX9PIOdtCp43+la8pXf0U33bZnBnOD8L1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-java (Nobody) for maintainer-feedback: Bug 264663: java/openjdk17: possible to port WatchService patch from openjd= k8 ? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264663 --- Description --- In java/openjdk8 FreeBSD added a custom WatchService implementation based on libinotify. https://www.freshports.org/commit.php?category=3Djava&port=3Dopenjdk8&files= =3Dyes&mes sage_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.