-
Notifications
You must be signed in to change notification settings - Fork 37
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
当转换的js代码文件比较大的时候,报错generated bytecode for method exceeds 64K limit. #4
Comments
搜索引擎看了下. 这里有个方案.. 你可以试一试, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
输入文件:dist/apps/script.js
输出文件夹:dist/apps/
最终的输出地址:dist/apps/20240605_133246
Rhino 优化等级:0
禁用字符串加密:false
Exception in thread "main" org.mozilla.classfile.ClassFileWriter$ClassFileFormatException: generated bytecode for method exceeds 64K limit.
at org.mozilla.classfile.ClassFileWriter.stopMethod(ClassFileWriter.java:310)
at org.mozilla.javascript.optimizer.Codegen.generateFunctionConstructor(Codegen.java:681)
at org.mozilla.javascript.optimizer.Codegen.generateCode(Codegen.java:264)
at org.mozilla.javascript.optimizer.Codegen.compileToClassFile(Codegen.java:176)
at org.mozilla.javascript.optimizer.ClassCompiler.compileToClassFiles(ClassCompiler.java:161)
at org.mozilla.mycode.Main.toDexFile(Main.java:96)
at org.mozilla.mycode.Main.main(Main.java:73)
The text was updated successfully, but these errors were encountered: