Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

Update Fernflower decompiler

Open Fox2Code opened this issue 2 years ago • 5 comments

Update fernflower decompiler

The current version of FernFlower shipped with Recaf doesn't support Java17

I Would like it to be updated if possible. Or if not use a fork of it like QuiltFlower.

CFR still work correctly for Java17, but I know Fernflower and it's forks are more accurate.

Fox2Code avatar Feb 14 '22 13:02 Fox2Code

I've been peeking at the quilt fork every now and then. Certainly looks nice and I hope to see more enhancements put into it.

Currently in 2X we're using the forge fork since its the first easy artifact I found: https://github.com/Col-E/Recaf/blob/master/pom.xml#L128

If you could find an artifact host of a more up to date version I or anyone could open a PR to update it.

but I know Fernflower and it's forks are more accurate.

image

CFR is giga-chad software.

Col-E avatar Feb 14 '22 15:02 Col-E

CFR > Fernflower

xxjddd avatar Feb 14 '22 18:02 xxjddd

The QuiltFlower decompiler is hosted here https://maven.quiltmc.org/repository/snapshot/org/quiltmc/quiltflower/

tth05 avatar Feb 19 '22 15:02 tth05

Recaf should ideally use upstream fernflower, not some fork.

xxjddd avatar Feb 21 '22 23:02 xxjddd

Recaf already uses ForgeFlower, due to original Fernflower not being provided on a Maven.

PhoenixVX avatar Feb 22 '22 00:02 PhoenixVX