Menu

About Android Jack library file

2016-02-01
2016-03-28
  • light_cheng

    light_cheng - 2016-02-01

    Hi All ,
    Do you know if Findbugs plan to support JACK file (be generated by Java Android Compiler Kit) ?

    I use Findbugs to scan my Android Java code , but I found in Android M project , some classes.jar files were be replaced by classes.jack and Findbugs can't scan the jack files ,although I can disable jack by set compiler option DEFAULT_JACK_ENABLED to false but I can't make sure if there any difference between JAR & JACK , so if Findbugs has no plan to support jack , I have to find another tool to look for bugs in my Java code.
    

    Thanks,
    Light

     
    • Andrey Loskutov

      Andrey Loskutov - 2016-02-01

      No.

      Looking at https://source.android.com/source/jack.html#the_jack_library_format one can see that it does not generate anything FindBugs can understand (a container with *.class files).

      Kind regards,
      Andrey Loskutov

      http://google.com/+AndreyLoskutov

      Gesendet: Montag, 01. Februar 2016 um 11:42 Uhr
      Von: light_cheng lightcheng@users.sf.net
      An: "[findbugs:discussion] " 334432@discussion.findbugs.p.re.sf.net
      Betreff: [findbugs:discussion] About Android Jack library file

      Hi All ,
      Do you know if Findbugs plan to support JACK file (be generated by Java Android Compiler Kit) ?

      I use Findbugs to scan my Android Java code , but I found in Android M project , some classes.jar files were be replaced by classes.jack and Findbugs can't scan the jack files ,although I can disable jack by set compiler option DEFAULT_JACK_ENABLED to false but I can't make sure if there any difference between JAR & JACK , so if Findbugs has no plan to support jack , I have to find another tool to look for bugs in my Java code.
      

      Thanks,
      Light


      About Android Jack library file

       
    • joyyc

      joyyc - 2016-03-28

      I camed across the same problem, have found other useful bugcheck tool supporting Jack File?

       

Log in to post a comment.