[aerogear-dev] Android and JDK 1.6

Daniel Passos daniel at passos.me
Tue Jan 7 10:50:18 EST 2014


I don’t see any problem for use 1.6 or 1.7

-- 
Daniel Passos

On January 7, 2014 at 12:18:05 PM, Summers Pittman (supittma at redhat.com) wrote:

Karel brought up the fact that the Android project relies on classes  
from Java 7. I would like for the Android project to compile using JDK  
6, but I was wondering what the rest of the project thought.  

For a little back story, until recently the dexer (Android Java byte  
code to Dex byte code compiler) could only consume Java 6 byte code.  
That was very recently fixed and almost all Java 7 features are  
supported on Android version greater than Gingerbread. The exception is  
try with resources which is only supported on KitKat.  

I havn't looked at the project yet to even get an idea for how much work  
it would be, but I suspect it will be rather minimal.  
_______________________________________________  
aerogear-dev mailing list  
aerogear-dev at lists.jboss.org  
https://lists.jboss.org/mailman/listinfo/aerogear-dev  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140107/3ed26cda/attachment.html 


More information about the aerogear-dev mailing list