2012/6/5 Davide Perini <[email protected]> > I would like to have a complete list of all the incompatibilities > between the android sdk and the jdk 7. > It isn't possible to sign an apk using the JSDK 7. >
Yes it is: http://code.google.com/p/android/issues/detail?id=19567#c7 -- K > What are the other incompatibilities? > > Thanks. > > > > http://www.oracle.com/technetwork/java/javase/compatibility-417013.html#incompatibilities > > seems to confirm it. > > > > Thinking about it, it's might be easier to patch the dx source code to > > accept the new version number? If that works, it should not be that > > difficult? > > > > Am Dienstag, 5. Juni 2012 16:28:33 UTC+2 schrieb al: > >> > >> My first thought was: there are probably new bytecodes in java 7 class > >> files. In that case the transformation to dex files has to be changed > >> and > >> it's not clear if that's possible in a backward compatible way, i.e. > >> without replacing the dalvik implementation on "all" devices, which is > >> obviously not feasible. > >> > >> A quick search lead me to > >> http://www.yworks.com/de/products_yguard_about.html (sorry, German), > >> where they say, only the version number in class files changed and a new > >> instruction (invokedynamic) has been added. However they also say, > >> invokedynamic is not used by current java implementations, only by > >> dynamic > >> languages like JRuby. In that case, it seems possible to work around > >> this > >> issue: just write a small tool to change the version number of the class > >> files to the previous number and add that tool as an additional build > >> step. > >> > >> This way, you know when you get your solution instead of waiting for > >> Google. Google has no obligation to do what you want / when you want. > >> They > >> can decide for themselves what they do and when. > >> > >> BTW: This might be an interesting hack for somebody with some spare time > >> > >> > >> Am Montag, 4. Juni 2012 15:59:07 UTC+2 schrieb sblantipodi: > >>> > >>> I just tried, nothing has been fixed in months. > >>> > >>> Il giorno venerdì 1 giugno 2012 12:10:02 UTC+2, sblantipodi ha scritto: > >>>> > >>>> As title, > >>>> some months ago I had some problem signing my android apps using java > >>>> 1.7 that forced me to > >>>> switch back to jdk 1.6. > >>>> > >>>> Is this problem fixed? > >>>> > >>> > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > > -- > -------------------------------------- > Davide Perini - DPsoftware > web: mc.dpsoftware.org > email: [email protected] > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

