Re:Oops: Android contains directly copied Java code, strengt...
by spiffworks on Friday January 21, 2011 @01:12PM
(#2128219)
About the files with the Oracle copyright header, it seems to be on some remote tree that I can't even browse. Can you opine on whether it was ever actually shipped?
Re:Oops: Android contains directly copied Java code, strengt...
by ergo98 on Friday January 21, 2011 @01:39PM
(#2128344)
This is the most important post in this thread. It looks like they created their own "conformance tests", in some cases using the Java implementation as the baseline. On the scale of concerns, that is somewhere around 0.
Specifically, if we look at the PDFs from the original source here:
six of the seven Android files are in subpackages of "org.apache.harmony.security.tests". The Android version of Mueller's example number six, strangely, has no package declaration at all, but the name of the class (PolicyNodeImpl) at least is the same as one that has been identified as unit test code the last time it came up in this connection.(BTW, the "org.apache.harmony" package prefix doesn't necessarily mean that the ASF ever distributed the particular file in question; that PolicyNodeImpl.java file was distributed by Google with an Apache Harmony package declaration, but had never been distributed by the ASF itself.)