IANAL and at least he is. I'm not really sure what to think from it. In particular these bullet quoted items: "•Sun open-sourced Java Standard Edition under the GPL in 2006 and 2007, but didn't include a patent or copyright license with the code. In order to get that license, developers have to demonstrate compatibility with the Java specification.
•The only way to demonstrate compatibility with the Java specification is to use Sun's Technology Compatibility Kit, or TCK, and Sun / Oracle and Apache have been bickering about the license for the Java TCK, or JCK, for years. (That's putting it lightly, actually. It's been more like a war.)
•The only license Sun ever offered Apache for the JCK included significant "field of use" restrictions, including a restriction on mobile phones."
This actually makes me believe that Oracle and Google both know what they're doing and this ends up really ugly. Can anyone give a second opinion as to if those bullet points are true?
* Dalvik, as other people point out above, is not Java. It is its own virtual machine, built from the ground up by Google, so Oracle can't claim copyright on it, but is going after it with patents, which seems like a low blow (we can't compete, so we'll sue).
But the Apache stuff seems shadier. It reads like you specifically can't use the Apache stuff for mobile devices due to patent and copyright issues. Clean room implementations don't get you around either of those specific legal issues -- unless I've misunderstood something here.
If that's the case then I agree.
Could it be the case that Oracle is about to actually test this?
Microsoft used "moving target" tactics to avoid having its APIs cloned.
I also believe the BCL is copyrighted too. I suspect that large chunks of Java libraries are as well.
Apache Harmony is the other side of the coin from this though: it's an open source project with very strict requirements in terms of contributors: http://harmony.apache.org/contribution_policy.html
And I think Google is likely a lot more careful/knowledgeable than some random hardware company trying to ship a product as fast as it possibly can. Also, my guess is that something like Dalvik is not just something you find laying around on the internet...