Yes and no...
Yes and no...
Posted Dec 18, 2011 13:48 UTC (Sun) by khim (subscriber, #9252)In reply to: Sun JDK & Android AOSP by ballombe
Parent article: Ubuntu disabling the Sun Java JDK browser plugin
When software authors are grepping version strings it is always correct to assume they do it for a non-technical reason.
Sure. It's actually one single non-technical reason: someone must support different versions and waste time and money better spent on other things.
Otherwise they would check for the specific features they need.
Yesh, right. There are approximately bazillion packages which demand from you "you need pkgtool > 0.9", "please install binutils 2.21 or newer", etc. Why AOSP should be any different? They just check that you use tools which are known to work and don't use tools which are known not to work.
I doubt people added this check out of spite: most probably they observed some kind of strange behavior (not necessary "it just refused to build", it may be "some particular rare function started producing incorrect output" or something similar) and instead of trying to fight OpenJDK they just added that check.
Posted Dec 18, 2011 14:09 UTC (Sun)
by raven667 (subscriber, #5198)
[Link] (2 responses)
Posted Dec 18, 2011 18:03 UTC (Sun)
by gnu_andrew (guest, #49515)
[Link] (1 responses)
I can understand the motivation but for those of us working on the code, this kind of thing is quite annoying. It gives OpenJDK a bad press for an issue which may no longer be present and (to my knowledge as IcedTea maintainer and OpenJDK developer) has never been reported.
We do get a number of issues with the javac in OpenJDK 6 because it's some horrible hybrid which has changes that were made for 7 early on (so it's different from the proprietary 6 compiler) but not later fixes (so things that work with 7 don't work with it). On top of that, Oracle, having created this mess, don't seem prepared to support it to a great degree. However, this Android filter also blocks the 7 compiler which should be the same as the one in proprietary versions of 7.
Posted Dec 22, 2011 13:22 UTC (Thu)
by cesarb (subscriber, #6266)
[Link]
It seems they do not want to move to Java 7 because of MacOS:
"We don't want to go again to a situation where we allow two different
JBQ" - http://groups.google.com/group/android-building/msg/bf9d3...
Yes and no...
Yes and no...
Yes and no...
versions, like we tried to do with 5 and 6, because the people
building with the newer version when they make changes will break the
build for the people still using the older one. As long as MacOS only
has 6, we'll have to use 6 everywhere.
