Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

控制台大量出现"Failed to transform"警告 #114

Closed
lwh9346 opened this issue May 13, 2021 · 1 comment · Fixed by #115
Closed

控制台大量出现"Failed to transform"警告 #114

lwh9346 opened this issue May 13, 2021 · 1 comment · Fixed by #115

Comments

@lwh9346
Copy link

lwh9346 commented May 13, 2021

环境:
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
服务端程序:快照21w19a官方端
authlib-injector版本:1.1.34

错误内容:
[authlib-injector] [WARNING] Failed to transform [{这里每句都不一样,详见日志}]

启动参数:
../jdk/bin/java.exe -jar -javaagent:./authlib-injector.jar=https://mc.whl.red/api/yggdrasil -Dauthlibinjector.debug=verbose,authlib,dumpClass,printUntransformed server.jar nogui

我在程序运行目录下没有发现authlib-injector.log,不知道为啥,所以我手动复制了一部分控制台输出

bug_report.zip

@yushijinhun
Copy link
Owner

这是因为 authlib-injector 使用的 ASM 版本过低造成的,21w19a 使用了 Java 16。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants