Giter VIP home page Giter VIP logo

Comments (3)

MegatronKing avatar MegatronKing commented on May 23, 2024

初步定为到是Java 8导致的问题。AS在编译的时候会进行脱糖(desugar)操作,将lambda的语法糖还原,这一步发生在stringFog处理字节码之前,导致后面的stringFog时处理jar文件异常(有点随机性,尚不确定具体原因)。这个问题修复还需要一些时间,如果紧急的话可以选择下面两个方式其中之一规避:

  1. 移除Java 8的支持,删除下面的配置:
compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
  1. 使用retrolambda插件来支持Java 8的lambda表达式。

from stringfog.

751643992 avatar 751643992 commented on May 23, 2024

好的

from stringfog.

MegatronKing avatar MegatronKing commented on May 23, 2024

问题已经完全定位并解决,AS对desugar时生成的jar包的压缩方式做了修改,stringFog使用此jar包解压文件再进行字节码加密后重新jar包时会有问题。稍后会发布1.4.1版本,修复此问题。

from stringfog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.