Classes are not decompiled
evilsh3ll opened this issue · comments
Describe the bug
Classes are not decompiled when using jdk11-openjdk (11.0.21.u9-3) in archlinux. I installed have also jdk17-openjdk (17.0.9.u8-2) installed. Can I force the jdk17 or jdk21 startup? Maybe the problem is a jdk version.
To Reproduce
Steps to reproduce the behavior:
- Install jdk11-openjdk in archlinux
- Open a JAR file in Recaf
- Classes are not decompiled
Exception
➜ ~ recaf --input='/home/main/Scrivania/test-1.11.0.jar'
Nov 15, 2023 2:38:50 PM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @e580929'
Screenshots
- I cannot do anything without the sample causing the problem, based on other similar reports in the past I assume this is a specific issue to the sample and not JAR files at large.
- Some samples target ZIP parsing logic to prevent recognition of classess. We've done a lot of extra work in 3/4x to address this, and not much has been ported back to 2x.
the sample is cryptomator 1.11 binary
My instinct (without looking into the jar) tells me it is because of old ASM which is not capable of newer bytecode versions. Can you please try 3x instead?
3x is working correctly, is there any chance to get the same behavior also in the standard build?
Most likely the dependencies needs to be updated. Can you tell us what features are missing in 3x?