Col-E / Recaf

The modern Java bytecode editor
https://recaf.coley.software
MIT License
6.06k stars 467 forks source link

反编译器报错 解析 4.x版本 #859

Closed haishen668 closed 1 month ago

haishen668 commented 1 month ago

bug描述

反编译器报错

堆栈信息

java.lang.NoSuchMethodError: 'com.sun.tools.javac.tree.DCTree$DCDocComment >com.sun.tools.javac.tree.DocCommentTable.getCommentTree(com.sun.tools.javac.tree.JCTree)' org.openrewrite.java.isolated.ReloadableJava17ParserVisitor.convert(ReloadableJava17ParserVisitor.java:1669) org.openrewrite.java.isolated.ReloadableJava17ParserVisitor.visitCompilationUnit(ReloadableJava17ParserVisitor.java:539) org.openrewrite.java.isolated.ReloadableJava17ParserVisitor.visitCompilationUnit(ReloadableJava17ParserVisitor.java:73) com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:625) com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)

环境 系统 Name Architecture Processors
Windows 11 amd64 20
Java Version VM name VM vendor Home Supports compiler
23 OpenJDK 64-Bit Server VM Oracle Corporation C:\Users\Administrator\.jdks\openjdk-23 true
JavaFX Version
24-ea
Recaf Version Build Settings directory
4.0.0-SNAPSHOT e060831 2024 09/22 08:08 C:/Users/Administrator/AppData/Roaming/Recaf

截图

image

Col-E commented 1 month ago

Should be easy on our end, just bump the OpenRewrite dependency to address https://github.com/openrewrite/rewrite/pull/4516

haishen668 commented 1 month ago

所以我应该做些什么,使用其他平台或者版本的java吗,能否给我推荐一下合适的版本,非常感谢 !我现在的javafx版本应该是24

Col-E commented 1 month ago

Should be solved as of 16ec6ae25098697cadbb51451938a18a67f0fa73

Col-E commented 1 month ago

Its not solved :/

Col-E commented 1 month ago

I opened https://github.com/openrewrite/rewrite/issues/4540 for a follow on-fix upstream

Col-E commented 1 month ago

The upstream follow on fix has been merged and added