Is jack and jill for android compatible with byte code weaving?

499 Views Asked by At

I just read the new blog post of @eric lafortune about Jack and Jill's new compiler on Android. http://www.saikoa.com/blog/the_upcoming_jack_and_jill_compilers_in_android

And as I am working intensively on a bunch of new technologies built on byte code weaving for Android, I am wondering if anyone has any idea if byte code weaving would still work with this new tool chain.

2

There are 2 best solutions below

1
On

From the article you mentioned:

Since the toolchain still supports both java source code and java bytecode, existing libraries can be used without problems. Even tools that generate or process bytecode during the build process, such as Dagger, should be fine, with the proper integration.

Bytecode weaving is just bytecode generation/processing, so I think the answer to your question is "yes".

0
On

I'm wondering this myself, but it seems that Kotlin will be a second-class citizen with the new jack and jill compiler unless JetBrains makes an explicit statement that it won't: Android N Java 8 features (Jack compiler) and Kotlin interop

EDIT: no longer true because Kotlin is a first class citizen and the Jack & Jill project are dead.