[Bug 272855] Mk/bsd.default-versions.mk: update JAVA_DEFAULT to 21

[email protected]
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272855

--- Comment #11 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=900510e7960e45cd3b49d25acd4a7513edb56d37

commit 900510e7960e45cd3b49d25acd4a7513edb56d37
Author:     Ronald Klop <[email protected]>
AuthorDate: 2025-12-11 10:54:28 +0000
Commit:     Ronald Klop <[email protected]>
CommitDate: 2025-12-11 10:57:17 +0000

    net/spread-j: only compiles on jdk8 and jdk11

    Error on later JDKs:
    [javac]
/wrkdirs/usr/ports/net/spread-j/work/spread-src-3.17.3/java/spread/SpreadConnection.java:1800:
error: invalid use of a restricted identifier 'yield'
    [javac]                                         yield();

    PR:     272855
    Approved-by:    no maintainer

 net/spread-j/Makefile | 1 +
 1 file changed, 1 insertion(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.