From nobody Mon Jan 12 15:01:18 2026 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 4dqbDZ2zzkz6Nhm6 for ; Mon, 12 Jan 2026 15:01:18 +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 4dqbDZ2HTWz3cPJ for ; Mon, 12 Jan 2026 15:01:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768230078; 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=TI7e51mGsGebRVc9GajgjJ9FFkcIo9T4czd8Qi2pkrQ=; b=JshiuSEaaZALOROqrrppgk/fFjuDHTRuUwZcrXqxyjQ8EaydsxPfguiF+r2HGNkdlK5n07 R31lYJAzOsLpVKPWbOrZVIqPkkefWWd18wBsOxMgV1yAfjy2CR/Sxl4ABQaK7RYlrrOCrf Y90pWWSTAPdvcPVw0mas56Ytx3U6o3R7CQrJQChQnrkVqZ/oXkq657NFHcqBvXXXeeDXQk QqUe/C6cphQ2kkmS/FbzCm78Krmonpw3qVgr+inCbAJs0aINiwH2YHX2jU+9vTey5egX3b UUmHE1BJ8bSUvAGcQ0R34XLgAmaU9/dsGo2wcIWgPDIDuivfYTo4bS9VsY3Ohg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768230078; 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=TI7e51mGsGebRVc9GajgjJ9FFkcIo9T4czd8Qi2pkrQ=; b=HPNkAol4VPsIAbKnR/u4Bufketwtx/WE7oC4bnBL16RQUTOlL0X2QiSIgl+S2qAaJ5F0tn ePZO/PSrTUV0GIkUbOZd2mcVFs/wxJAlorG8mucb+ddMW4iSgVGsGIa5/QXTlDEhIvfcmc r0DTPjqtlennZxoQXHLIBX/k2HRCTXNMpmNU5hj5Xr7JG2GPW1DcJvFkEBpxzoem61kUjQ G/UrE3kQMGEPCr3TzHpD4zPerQtN2Ga+Vah9G74pZSEor0HuG94MeQ1g1/7gGcP5DYAGvV Rx3Ca1Z8wWz+Ww5cQzxEP9JC/fYRZeQtWjDvNiBg7DJwX1FYNaywx+T4HkIcfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768230078; a=rsa-sha256; cv=none; b=EpUIVR4f3DY/IVzlDIIGfO9krAPZ+CsazjiqpjdfeREC/JZnwwaTgOe6HBYDSv/3E9miWG oPLMEqLcwdTI36xFXqIzUty/paOtX91ecJpeC8mIxZ8w2zkwpa+XcfwiM5cQ5XY7lPAdVi EMvwJUhsU5qr/UJrwz+ipHvMVxawrl8YlC8elDehgRGB/LBlVKDUvzljzYpivxnzQaY+sZ qDlYO7PnkFEEdHMfqcBsdLXtEfHzlGAPQX+dwHEphCeHFE+8MVsucbxlUKMnhYOwLKiiXC X+hPAtUufRXVM7EfGuA/k3zQdyN+XH2bcrBrk8Jqdnvp2a7QRhvSA+Ed9hykzQ== 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 4dqbDZ1v8MzX79 for ; Mon, 12 Jan 2026 15:01:18 +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 60CF1IrO089080 for ; Mon, 12 Jan 2026 15:01:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60CF1I6e089078 for java@FreeBSD.org; Mon, 12 Jan 2026 15:01:18 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 289858] Mk/Uses/java.mk: Use JAVA_VERSION as priority Date: Mon, 12 Jan 2026 15:01:18 +0000 X-Bugzilla-Reason: CC AssignedTo 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: 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=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. You are the assignee for the bug.=