#1108588 procyon: FTBFS with default Java 25

Package:
src:procyon
Source:
src:procyon
Submitter:
Vladimir Petko
Date:
2026-02-14 03:25:01 UTC
Severity:
normal
Tags:
#1108588#5
Date:
2025-07-01 04:24:20 UTC
From:
To:
Dear Maintainers,

The package procyon ftbfs with default Java 25.
The relevant part of the build log:
---------------
...
com.strobel.reflection.SignatureTests > testSignatureOfGenericMethodInGenericDefinition FAILED
    org.junit.ComparisonFailure: expected:<[<T:Ljava/lang/Object;>]([TT;)[TT;> but was:<[]([TT;)[TT;>
        at org.junit.Assert.assertEquals(Assert.java:117)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at com.strobel.reflection.SignatureTests.testSignatureOfGenericMethodInGenericDefinition(SignatureTests.java:71)

...

com.strobel.reflection.SignatureTests > testSignatureOfGenericMethodInGenericInstance FAILED
    org.junit.ComparisonFailure: expected:<[<T:Ljava/lang/Object;>]([TT;)[TT;> but was:<[]([TT;)[TT;>
        at org.junit.Assert.assertEquals(Assert.java:117)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at com.strobel.reflection.SignatureTests.testSignatureOfGenericMethodInGenericInstance(SignatureTests.java:79)

com.strobel.reflection.emit.TypeBuilderTests > testOverrideGenericMethodNoBridge FAILED
    java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
        at com.strobel.core.ReadOnlyList.get(ReadOnlyList.java:206)
        at com.strobel.reflection.emit.TypeBuilder.updateMembersWithGeneratedReferences(TypeBuilder.java:1641)
        at com.strobel.reflection.emit.TypeBuilder.createTypeNoLock(TypeBuilder.java:1437)
        at com.strobel.reflection.emit.TypeBuilder.createType(TypeBuilder.java:898)
        at com.strobel.reflection.emit.TypeBuilderTests.testOverrideGenericMethodNoBridge(TypeBuilderTests.java:145)


com.strobel.reflection.emit.TypeBuilderTests > testMethodBuilderArrayTypes FAILED
    java.lang.ArrayIndexOutOfBoundsException

....

+--------------------------------------------------------------------+
|  Results: FAILURE (39 tests, 35 successes, 4 failures, 0 skipped)  |
+--------------------------------------------------------------------+

39 tests completed, 4 failed

...

* Get more help at https://help.gradle.org

BUILD FAILED in 23s
16 actionable tasks: 7 executed, 9 up-to-date
dh_auto_test: error: gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian -Ddebian.package=procyon -Dfile.encoding=UTF-8 --parallel --max-workers=4 test returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-06-11T20:30:22Z
---------------

#1108588#10
Date:
2026-02-10 00:52:48 UTC
From:
To:
Dear Maintainers,

Would it be possible to consider the MR[1] as a proposed solution for
this issue.

Best regards,
Vladimir.

[1] https://salsa.debian.org/java-team/procyon/-/merge_requests/3

#1108588#15
Date:
2026-02-14 03:23:35 UTC
From:
To:
Hello,

Bug #1108588 in procyon reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/procyon/-/commit/492db61c7777cc8a4e2cb7af9ed2cf0d00f46ed8
------------------------------------------------------------------------
d/p/04-java25-use-equals.patch: Fix Method instance comparison to resolve Java 25 ftbfs (Closes: #1108588).
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1108588