From nobody Mon Jan 12 15:01:18 2026 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 4dqbDb5F4Bz6Nhm7 for ; Mon, 12 Jan 2026 15:01:19 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dqbDb3XTKz3cM3 for ; Mon, 12 Jan 2026 15:01:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768230079; 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=1dsK8TjhMrGzetzU7M9DAt+s94efQNd/2XZDYAa6S2c=; b=aF+ZSnIgwWipxtfzXUqqdVrcBt6XmvQ8AfV98b6B4z2/wcoN4gw5esLaexdDsP6DSUezBB IdqAvwBpQvHqXMNohADeaU1jpsUixGOAgcXbS3HsJK5i52+ReGmSVaTV3dIB2o0bQV52Xo +9e/kpHhUrPYKT/34w5GpsBAX1AscKfK/NjuJUNmIqbRtjRymHnnGrJxhR6JKr4C6nP2qv /UOYWqrbf0moJaE915RMKyhgbpd9C2TFnsN5Pgn2CzHLHf5bogajXS+pYiTeFacsofvjk2 9W6+uLGPpjFoczgsdHljJqfeyTTX68WtSxpSGaxNYYZpdRaQ6Q8X4ratrz9yOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768230079; 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=1dsK8TjhMrGzetzU7M9DAt+s94efQNd/2XZDYAa6S2c=; b=vdMp7g2JK5ojsVyMjxg2Ndcoqnu6yg3n7eY7jR/ogqbXBB21AN8Zw+9qcr8w3dFGTpxSRp SNQqgRU0UcuWOb883Gyoevn09JSbjv17850Lsfjw3v92MQaA7/17MJOoyo82TA+gTUXKqa yE8KCu5X096BVKJ2Zmbhf59sRxO15NFVc7BGExzy2FBlftCB8Os9kE6ahvoXjIzQkuAcOR 6UmF1JzvE0LXjUkwPKT0TsC6ci4c481meZ8+bKehji7Sr2Y3Q/fi2yO3exlhTG6/dQlkM8 3am8CPGW57KrObcnPo/oIc3fUJnhpYAbo+SQafe++63uu4Lm3pZhrGmdGZSPIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768230079; a=rsa-sha256; cv=none; b=bRIcEcX66SexKGxmTG4Q8m7ryIfwJsl1M8MTVQbxRTTdPO5LkZfBNQEE5ukDxVxIV1QcFx ntCPoFYmE1JXWKA26VOFABnv1+Ms1tPeco+bxsv1qDLASHuSjZTz2htbrqlnGBNFEXc6/A mfLqIkfqa/aBJTbuj44MkV7SwAEuU2jU3k3ECHgKt2pRxNhLrw+yaprzu5DXkAau35L0P/ xGaH2Rk9DLV8U1aQnzXIEBKFLoSpEtKN21GKNN6hKTm3garsQwicQIOoHQqwjv/0JbeKZk GgdJCHOnJYTFMlZuWuaxuHhR0IDKm5MmnCeMZKzIpxg2/9aS4MNOMsaaz+oldg== 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 4dqbDb2rvNzX7P for ; Mon, 12 Jan 2026 15:01:19 +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 60CF1J8I089145 for ; Mon, 12 Jan 2026 15:01:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60CF1Jej089144 for ports-bugs@FreeBSD.org; Mon, 12 Jan 2026 15:01:19 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 289858] Mk/Uses/java.mk: Use JAVA_VERSION as priority Date: Mon, 12 Jan 2026 15:01:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vvd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289858 --- Comment #6 from Vladimir Druzenko --- Side effect - selects 8 if JAVA_VERSION is not specified, even if the defau= lt Java is different. And if JAVA_VERSION=3D17+, it will select 17 even if the default version is 21 (if none of the supported Java versions are installed= ). This is considered version 17 has the highest priority. There may be cases where the preferred version should be used regardless of= the default version if no Java is installed (for example in poudriere), but oth= er versions are allowed to be used if they are already installed and supported= by the port (live system). We may have to create a flag JAVA_USE_PREFERRED: "yes" - if no Java version is installed, then use the priority version, "no" - otherwise the default version (if supported by port). --=20 You are receiving this mail because: You are on the CC list for the bug.=