Source: vavr0
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17
vavr0 fails to build with OpenJDK 17 because javac is invoked with the -Werror
option and a new warning is now emitted when a variable is named 'yield':
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /<<PKGBUILDDIR>>/vavr/src-gen/main/java/io/vavr/API.java:[3263,21]
'yield' may become a restricted identifier in a future release
(to invoke a method called yield, qualify the yield with a receiver or type
name)
[WARNING] /<<PKGBUILDDIR>>/vavr/src-gen/main/java/io/vavr/API.java:[3562,21]
'yield' may become a restricted identifier in a future release
(to invoke a method called yield, qualify the yield with a receiver or type
name)
[WARNING] /<<PKGBUILDDIR>>/vavr/src-gen/main/java/io/vavr/API.java:[3861,21]
'yield' may become a restricted identifier in a future release
(to invoke a method called yield, qualify the yield with a receiver or type
name)
[WARNING] /<<PKGBUILDDIR>>/vavr/src-gen/main/java/io/vavr/API.java:[4160,21]
'yield' may become a restricted identifier in a future release
(to invoke a method called yield, qualify the yield with a receiver or type
name)
[WARNING] /<<PKGBUILDDIR>>/vavr/src-gen/main/java/io/vavr/API.java:[4459,21]
'yield' may become a restricted identifier in a future release
(to invoke a method called yield, qualify the yield with a receiver or type
name)
[INFO] 5 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] warnings found and -Werror specified
[INFO] 1 error
[INFO] -------------------------------------------------------------
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.