Closed tlwalker closed 11 years ago
you mean like the --jvm
option on mirahc
?
Yes, I believe that is it. Having the mirahc task run as mirachc --jvm 1.6 when run on a system with 1.7 installed would fix this until android supports Java 7. I would say mirror the javac task but the target attribute is already taken. So I guess a jvm or target-jvm attribute would work.
Added a new Mirah issue for this (https://github.com/mirah/mirah/issues/156). it should be a pretty straight forward change on the Mirah side.
Cool. By the way, there also needs to be an addition in the target and source attributes to the javac entry in pindah's build.xml file.
Ah, looks like we just fixed this. Sorry 'bout the lag.
There should be a way have Mirah generate a specific version of JVM bytecode or have the Pindah build script compile the Mirah-generated Java source code compiled as a step. This is to address the fact that Java 7 is not supported the Android SDK.