From nobody Sat Dec 27 05:07:11 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 4ddVpS71L6z6LVx6 for ; Sat, 27 Dec 2025 05:07:12 +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 4ddVpS5QbSz3KFk for ; Sat, 27 Dec 2025 05:07:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766812032; 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=qC28ycoAqHc1Bpxhy+Ux7dzQ5hP1ufSo3lYP/BKCem8=; b=fgMqu/yloDJfKfZRa98RMh8uFSJ9baj/sNL96TzeZ4ZnZIkoTdDV11BCk9BVlcl2gVZoX9 /nWKG+Uw6qMY2+cuacWoqppwD0XWhWNrFMDsKwg6EJsDCLcy98LEO45DTCkCW+HsxYRtNG sJaDaExoQ6R+u2xsnyc8FddAMTJ6H4ZonLlrHoLouGeDp9HyrUoq4STxFPlD5je40AX4Ns ZoZoO4xJRtyhYDwv1lPm708SSvvWxfDyyQaB1XrHaM9Th9wZo1Oc9Afjy385rWuVG6fUHa /eaHIfJ3sLa3FtWrQRXlC8BhqS7rDbcYB16H21B8bIgj60I69UzYMp8gl54bsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766812032; 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=qC28ycoAqHc1Bpxhy+Ux7dzQ5hP1ufSo3lYP/BKCem8=; b=lFYgJa5U3t9gHSe3XUJ8W9ENCwfr9d1woy4r5WF/NC2pExtV64YnjFbdyvlgNp5wlcFgTf 2SrhXjFdrsX7OGDnfP6ZXt+5DepDVYJ20bocKc02k+KWAlt5ppDhC5Ra+GtPA5sZZMCYLW LVv93jjECfAggp4rpLEZG9TU8iZ2uAqut5EWk3wZhmBZFh28wLSguTAjql2PHL5gC5OcFt KaLsixVS9uAcKzl2zOSZgo295eM6IK32h3P5PHsnqcymWpowa7Qs2mf2zfD8uqHMAfJh8A n0rSxWBOLLPS1XCrbSfQjqZPKB38tX0LeOUFU/90tLNLT95A+BuuyGUcRA1iXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766812032; a=rsa-sha256; cv=none; b=aDDygNnhohmSbgnpqzyWHCvMSxV04q1pg9HfS8AYosIfseh8eKrdGSrwFcwVJ7RlASG6G5 TLonu/XhSoKQc2KMhEkmK1SdIux9jQduIarj6kAnagLCkljgKxHrwDZDceFmTFvHSwIg2f rwJax9ZD04ROYArSEZg7K4Ot95GLSGZWyVHEVxNrs0dhkMkPI/vKJ6oPvPXHwO1HDqRAMO FIdjQbgfuXNt2RCmbGrMVMq4Zijn87rrtxWEypklIe4YDmw7TP0gvKJQ4flyars0NY19uS i3/CigkvUkcZlYroEz9q9kmdyftWX98KhvYy4GT1hbA8AKrwrcJiLVmiGB0mfw== 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 4ddVpS4kzXzljR for ; Sat, 27 Dec 2025 05:07:12 +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 5BR57CV9060234 for ; Sat, 27 Dec 2025 05:07:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BR57Chc060233 for java@FreeBSD.org; Sat, 27 Dec 2025 05:07:12 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 272855] Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 21 Date: Sat, 27 Dec 2025 05:07:11 +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 Some People X-Bugzilla-Who: mi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@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=3D272855 --- Comment #27 from Mikhail Teterin --- (In reply to Michael Osipov from comment #26) > In C/C++ symbol versioning likely solves the problem I think, you misunderstood, what I was talking about. The version of the library, against which a program was LINKED would still matter to the softw= are, that has just been built. But the port doesn't care -- if you have libjpeg.= so.5 already installed on your system, all of JPEG-using software can be linked = with that even if graphics/libjpeg is currently installing libjpeg.so.6. The APIs don't change that often. Loosening up the LIB_DEPENDS by default w= as a good thing -- and I'm proud to have been part of it :) > soft-deprecated version ranges That's quite wrong... Especially for the reasons listed: "people weren't us= ing them correctly". A system with five Java applications, all using log4j, end= s up with five different log4j-versions -- because none of the five application-maintainers can be bothered to just depend on ONE version, whichever it is. But they aren't satisfied with just telling you: "you need= to provide log4j", because then some clueless reviewer somewhere will say: "it= is not ready out of the box". And then many insist on creating a giant monolithic JAR (which Maven makes = too easy), with all of the different dependencies inside it, so a sysadmin has = to really stick his head out to split it apart and replace pieces -- because n= ow he has "an unsupported configuration". (Been there, done that.) Had this line of thinking prevailed earlier, we'd never have had shared libraries either :( Sorry, I digress. > I think we need sane tradeoff w/o reinventing the wheel. The inherent conflict is UNSOLVABLE: application-authors/maintainers care a= bout their one application working on all platforms. Platform people -- like Fre= eBSD ports-maintainers -- care about all applications working on our one platfor= m. There is no solution, that both sides would like. Myself a platform person,= I think, we ought to CONTINUE the 30+ years tradition of making the apps buil= d on FreeBSD -- and do it the FreeBSD way... --=20 You are receiving this mail because: You are on the CC list for the bug.=