From nobody Sat Oct 25 11:17:57 2025 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 4cty1L6Sn5z6F7Q7 for ; Sat, 25 Oct 2025 11:17:58 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cty1L3hdqz3fF8 for ; Sat, 25 Oct 2025 11:17:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761391078; 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=QUJG/u69dVqSP4QyC0hPG0NpQZ1UbxTamo4v0BGNeNI=; b=BsRRlkWzT6zuencfYaprgtU7lBLUrAA6T3Xgd77R9XDPga/uOMO3YU7HoXQ62nq/AjHIo9 Z0zJCNxUDzbeFX/dmccqYRic7c1r2ILLzyzUIqIeT9MMQjqwNAZoEuoE1b/U5sSQ8MvVo3 ie/Nnxws9o8LzfMsPwYGTBF9tn0uszfvvLf1zY0ndUx1Q6KVe6+nJbEUL+KSoORN6Hbdpt E4qo7s6j5lEchEUq0dGrR6msKHBRNJVS8JqhuvRTXz16Pmpj3l4EyQjDzqXCIfambd6YGa RwEKi5m4SaTThf7vg5RQs5o0AWqjfnsmyXQCbPnxRXbrp7xpy3jdGBE12Y08dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761391078; 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=QUJG/u69dVqSP4QyC0hPG0NpQZ1UbxTamo4v0BGNeNI=; b=OWptjrr9M3c0zxO2adXUoJ0G+yigtQ00UJL6Rld/deo0hkD0/KAtTzBks1GlV8WGZvxDC/ 2G+I4WVBTs5HYKlsUZPLm4+EKgz84NVt1+AIO4b5VFaPmb1uuCmo7bpdLqH68N+djDNCdT g5J4lIW6dYfKLwE5GHSpWEyYccbvZcKu86QeBV9bKZRYj0J0a0PKwJmk7aq2DPFV8p9kB2 eQea1+4MuswOxc7qQDQKdf0WgDvWOfh4G0Nvib7KdUn51ZdPjLfhy8aqCtikErksnDwcJr YLpir9PqwCFnxcpgptbnIeqBrE6qTICNmsP60wwqfT3tNDNQ5eKEaCItXwq6Sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761391078; a=rsa-sha256; cv=none; b=vqqE62rRa6Dp2lOM87wgrlx7LX8PsqMehOLZIFhkgTm0nOrUNyuJcKXW6RftsnDCRErimJ g4xJJ6VWGk1/DCVQRt+t15feEd9oFifiDHPg8qPQCLyyKYs3712LPlakZvwvcMS/Ere88k yzzzau+QHyFiqRW15AhF0sZgswowKNUp0oCLQ6uOl8nkcaYPAUNjPs6DVMdsqmyaJ4Zq5R BBAkNPzHg/vm/asFKJUkHps7trA6mEhxs41ohPCax+zQh59diiO5Y9CrurZ4bJ38lJZKIh l8WklYknRMRXo6z0u0tKQ6w9onQk+kRyGY52j2XpsV0jhGnn1yLlTHvN8wbaEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cty1L23ynzlTC for ; Sat, 25 Oct 2025 11:17:58 +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 59PBHuvh024925 for ; Sat, 25 Oct 2025 11:17:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 59PBHus0024924 for java@FreeBSD.org; Sat, 25 Oct 2025 11:17:56 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 290447] [Feature Request] OpenJDK: kqueue implementation of WatchService Date: Sat, 25 Oct 2025 11:17:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: ronald@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290447 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald@FreeBSD.org --- Comment #4 from Ronald Klop --- (In reply to Mark Linimon from comment #3) It is about an implementation of an interface in the OpenJDK port. https://docs.oracle.com/javase/8/docs/api/index.html?java/nio/file/WatchSer= vice.html You can retrieve this by calling: https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#new= WatchService-- There is also a comment about this feature wish in the source code: https://github.com/freebsd/openjdk/blob/53641783b3cb7a6c0347ad7d595a8d12f23= 47986/src/java.base/bsd/classes/sun/nio/fs/BsdFileSystem.java#L47 I think the issue is best assigned to java@. NB: Now that FreeBSD 15 has an inotify API, maybe the Linux implementation = can be considered as quick fix. Of course this is pure speculation from my side= and the details might be more complicated. https://github.com/freebsd/openjdk/blob/53641783b3cb7a6c0347ad7d595a8d12f23= 47986/src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java#L37 --=20 You are receiving this mail because: You are on the CC list for the bug.=