Debian Patches
Status for procyon/0.6.0-4
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 04-java25-use-equals.patch | fix: use equals() instead of == to compare Method Building procyon with Java 25 results in the following failure: 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) This is caused by == used instead of equals() to compare Method instances. java.lang.reflect does not guarantee that Method instances are singletons. diff --git a/Procyon.Reflection/src/main/java/com/strobel/reflection/MethodInfo.java b/Procyon.Reflection/src/main/java/com/strobel/reflection/MethodInfo.java index dbe846f5..64755b3d 100644 |
Vladimir Petko <vladimir.petko@canonical.com> | no | debian | upstream, https://github.com/mstrobel/procyon/pull/84 | 2026-02-10 |
| 02-cli-program-name.patch | Set the name of the program for the help page | Emmanuel Bourg <ebourg@apache.org> | not-needed | |||
| 03-java21-disable-failing-tests.patch | disable tests failing with Java 21
- SwitchTests.testEnumSwitch - enum switch was decompiled as an ordinal switch.
- ThirdPartyTests.testUnboxToNumber - decompiled code contains Constable, not Number. - ThirdPartyTests.testLiteralAssignments - test specifies float numbers with excess precision, Java truncates those since 19. - ThirdPartyTests.testOptimizedVariables, testSwitchKrakatau, testWhileLoopsKrakatau - decompiled variable does not match ('b' vs 'x') |
Vladimir Petko <vladimir.petko@canonical.com> | yes | debian upstream | 2024-02-02 |
