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 76E25840EC2 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 4LMjQp1wHCz3D9H 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 2368F2771F 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 25E9DMDW077345 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 25E9DMEP077344 for java@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: java@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: 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; bh=7Jfw4hltlUUhilCAU5zG3iMz0y/vXju5/qnXHYfn/q8=; b=UUkqWubNLP5aZ7MIvAB6b6NUPRa1N0alJfv3h08Fgq53CfDNzoQ4y3HiBvWyww9SuLXgdm ofnp8ikPJkceJcEYfK311rxwi3IA7Xs7HTzmltMn1PkmG2BIDCcAKgKUYeHQU7KzwNYX0L i2teiu4RqeUGceo6nDMYqsA1TqFRe0baYuPtXrCQ7GttnLR6gHpmXnVw3jicLf4D8kDb86 2/dvD/EQTxoxrDgLZZruYEzS2AwOEQNQWyWCLniiX12ykQo7q3EX3hJ03yTCftZWIfpgQe UQTo4N0LKLSIBPIjlCbqzj8gW1MAQtaL4JPmI7fHeTgh76hdun+lErx9IpN7SQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655198002; a=rsa-sha256; cv=none; b=kPJkmMUhGYTK9PxZwVhL+jh5U7fpeFKLw3OcgjQZEHpSyw62tZyt71S87w7GUpwq/lsH/s 64ij3lS2aBN3+UxsC+IWJw2SlgPOIXNo2l0n5l1NNXk2AsXcfsRubyEZsYqk5Ghba1NhIP kif9Dss5MF/8X6s2bFWYQqzyEBXJXln3yivo9hwbvBtefXFPi260YNP8lvw0+Hpyhlkfoq mr1NTJkCXE3tH2OYz3VxGi9f4gBIvGGsSuzMi1CsTdUaNlTPDsg//W9V6ViuhHkTrxipbB x+DxZaHg7pybRm0yTvgK01+mjKBFUEne7bsFohXpSreQcWO0eZEWd+FvahFTkw== 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.=