Col-E / Recaf

The modern Java bytecode editor

Home Page:https://coley.software/Recaf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
image

To Reproduce

Steps to reproduce the behavior:

  1. Install jdk11-openjdk in archlinux
  2. Open a JAR file in Recaf
  3. 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

image

commented
  1. 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.
  2. 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.

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?