有scala对象时,yguard重命名scala jar总是失败

时间:2018-07-15 03:02:55

标签: scala obfuscation yguard

我正在尝试混淆Scala代码。如果源代码中存在对象/案例类,则重命名过程将始终失败并引发以下异常:

Caused by: java.io.IOException: An error ('duplicate entry: A/A/A.class') occured during the remapping! See the log!)

“重复”的原因是scala将对象转换为两个类: 例如:

objec Person(name: String)
======================  after compile ====================================
Person.class
Person$.class

有人知道如何修复它吗,非常感谢

0 个答案:

没有答案