3 ms·
Oh don't worry, Dalvik/ART is completely different from Java, at least for legal purposes.
by ianlevesque 12y ago
Oh don't worry, Dalvik/ART is completely different from Java, at least for legal purposes.
- Zigurd 12y agoNeither run Java bytecode. They happen to have Java semantics. But they are one (Dalvik) or two (ART) steps removed. Once your Android toolchain has produced Java bytecode, it is translated to Dalvik bytecode before being packaged. Then it might, or might not (pre-ART systems), get translated to native code before being run. And, depending again on version, might get JIT compiled, or not. Once can take advantage of this in interesting ways. If you are Myriad and you have a Java(tm) runtime for mobile devices, you can skip (or reverse) the Dalvik bytecode translation and run Android apps in your runtime. At which point Oracle sues your ass, and the settlement is confidential. You can see this approach at work in the Jolla handset.