r/Android • • Jan 21 '11

Oops: Android contains directly copied Java code, strengthening Oracle's case -- Engadget

http://www.engadget.com/2011/01/21/oops-android-contains-directly-copied-java-code-strengthening/
0 Upvotes

74 comments sorted by

View all comments

11

u/[deleted] Jan 21 '11

Having looked at the example code, it isn't obvious how a lot of it could be written differently, the requirements of the methods are fairly well-defined.

If google had copied something with more than one possible implementation, like a sort algorithm, that would be much more convincing. Suprise suprise, such code is very, very different.

6

u/Tobiaswk Developer - Kotori your friend! Jan 21 '11

When you're looking at the exact same variable names, structure and composition of the code it does seems odd that they match. It seems like a complete copy/paste. At least some parts of the code-structure would be different. I see your point, but as it is now, this looks like a complete ripoff.

4

u/LongUsername Jan 21 '11

In the copy of the exibit I saw (hosted by androidpolice) the top straight away says that Oracle edited the files to make them look more similar. Granted, they claim it was only stripping comments and changing whitespace, but if one of those comments was "taken from standard document XXX" that would be important.....