From nobody Sun Jun 9 22:36:34 2024 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 4Vy8tV3PWVz5N5qc for ; Sun, 09 Jun 2024 22:36:34 +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 4Vy8tV2GlQz4GlS for ; Sun, 9 Jun 2024 22:36:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717972594; a=rsa-sha256; cv=none; b=p6Siq1wMAx7uT+cWBoL3z8otWAX47p755gJvtlzNN3ai5nWRWOTeF8T1RhYWPdeipOEiNg frhgIyVhqrzKu52wIW0kymmC0Or24ilHkbBdpdhbxKTH+q6GauNeLhsgO+2JkaytaLnYH5 HF9vkHnj3gbX17ehTbkzzvEwqcF/dru+i8nMXCEUyGauzZRwwOza3XS8LFxZimO4DXHhu2 ypP1iGfZZsN18wviq1iAcz4v5UJFeAW3yghXfurUH98Xg9+E4WMkOBXRbtE1qE0g+TrP6F +7tx8bIuU4jL3nv+m3xnzaHn8hwZFeDzewgO+pIsMJmWDhXyyH64L1CdEPR8bA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717972594; 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=K6Pdbpn+uAK3xi+TnqFg+mCsqyrWln1wXPbiTrBxwwg=; b=RkE4+EmibjWP6bKllX6ytGO2T7Z1WC0fa2kY4Gi15+vB+E3j27FFDawYqJgmO6HyZIwJtO oWHurF1Mi0i+QX5yuImX0Jcnpby5sTJ3iGBSs/vl4pU2+cHttmiBBgrfeXL887DMGKRFCI 8YFogOsnbb0C4tH1+n5xy9oRYcGQorV+8Ygn8djx04fYqHl1znAPMTzM447I2CEwRkmgOx GfMpSt7QxHBGJklJ3Q3O280z3P5LDiyQSneFcdaBmJMVs1ugLFf1bkhx3uzkXcUR1q0BAv utr3YoVbztekxdLQBaBeF+KfY/3PecW/F26ltzdrXWZidH5bM2mXNvUsb+ncWQ== 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 4Vy8tV1lsmz11Ft for ; Sun, 9 Jun 2024 22:36:34 +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 459MaY2f024161 for ; Sun, 9 Jun 2024 22:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 459MaY5H024160 for ports-bugs@FreeBSD.org; Sun, 9 Jun 2024 22:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279425] [exp-run] java=21 Date: Sun, 09 Jun 2024 22:36:34 +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: commit-hook@FreeBSD.org X-Bugzilla-Status: New 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-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: 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=3D279425 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D411ad89a8344407c361b653509a3a59= 8204f1ae8 commit 411ad89a8344407c361b653509a3a598204f1ae8 Author: Vladimir Druzenko AuthorDate: 2024-06-09 22:27:04 +0000 Commit: Vladimir Druzenko CommitDate: 2024-06-09 22:27:04 +0000 java/apache-commons-collections: limit JAVA_VERSION from 8 to 20 because build fails with 21+ Build error with OpenJDK 21: [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections= -3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.jav= a:188: error: addLast(Object) in CursorableLinkedList cannot implement addLast(E) = in List [javac] public boolean addLast(Object o) { [javac] ^ [javac] return type boolean is not compatible with void [javac] where E is a type-variable: [javac] E extends Object declared in interface List [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections= -3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.jav= a:176: error: addFirst(Object) in CursorableLinkedList cannot implement addFirst(E= ) in List [javac] public boolean addFirst(Object o) { [javac] ^ [javac] return type boolean is not compatible with void [javac] where E is a type-variable: [javac] E extends Object declared in interface List New JDK 21 methods in java.util.List addFirst and addLast has a void return type. This clashes with the existing boolean return from the same method in AbstractLinkedList. Upstream fixed this in 4.5.0 only. But this old 3.x branch isn't fixed. Upstream issue: https://issues.apache.org/jira/browse/COLLECTIONS-842 PR: 279425 Reported by: antoine (exp-run) java/apache-commons-collections/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=