jline3 ftbfs with Java 21 due to this-escape warning

Bug #2053204 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jline3 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package fails to build with Java 21 default to do this-escape warning:

[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING]
/<<PKGBUILDDIR>>/builtins/src/main/java/org/jline/builtins/Nano.java:[949,16]
[this-escape] possible 'this' escape before subclass is fully initialized
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: warnings found and -Werror specified
[INFO] 1 error
[INFO] -----------------------------------------------

This is already fixed upstream[1]

[1] https://github.com/jline/jline3/commit/05ee05dbc7b9c5ba9df8358d8a9fc58227101ed0

Related branches

Vladimir Petko (vpa1977)
affects: jline (Ubuntu) → jline3 (Ubuntu)
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts jline3 install/upgrade/purge (pass)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jline3 - 3.3.1-3ubuntu1

---------------
jline3 (3.3.1-3ubuntu1) noble; urgency=medium

  * d/p/03-java21-compatibility.patch: cherry-pick upstream patch to
    resolve Java 21 ftbfs (LP: #2053204).

 -- Vladimir Petko <email address hidden> Thu, 15 Feb 2024 11:53:32 +1300

Changed in jline3 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.