Lurker News

Comments (932) 116 threads

Show all comments

Showing thread 3 of 116

teruakohatu15 replies#
> "Google copied approximately 11,500 lines of declaring code from the API, which amounts to virtually all the declaring code needed to call up hundreds of different tasks. Those 11,500 lines, however, are only 0.4 percent of the entire API at issue, which consists of 2.86 million total lines. In considering “the amount and substantiality of the portion used” in this case, the 11,500 lines of code should be viewed as one small part of the considerably greater whole. As part of an interface, the copied lines of code are inextricably bound to other lines of code that are accessed by programmers. Google copied these lines not because of their creativity or beauty but because they would allow programmers to bring their skills to a new smartphone computing environment."

Sanity prevailed! This judgment could have had devastating consequences and turned software development into a copyright nightmare.

oconnor6636 replies#
Question from a layman: Does "interoperability" as a concept have any legal relevance here? Like focusing on programmer skills seems kind of beside the point, which is really for two pieces of software to be able to interoperate.
lostcolony#
Also speaking as a layman, but yes. Fair use has, as one of its four factors, the purpose and character of the use, to which interoperability is of definite relevance. It explains -why- the API was reused, even if the internals are entirely different. Not because it saved Google work, or there was some sort of competitive edge against Java SE to be gained by doing so.
TinoDidriksen1 reply#
Yes, reverse engineering for the purpose of interoperability is one of the things explicitly allowed by laws such as DMCA.
teraflop#
The decision talks about "interoperability" as a general concept, but neither the DMCA nor reverse engineering is at all relevant to its legal reasoning.
torstenvl#
Interoperability does have legal relevance, but because of programmer skills. Part of the fair use analysis turns on the legitimate goal of allowing programmers to use their skills in Java on the new platform.

IAAL but IANAIPL and most emphatically IANYL

scj#
IANAL: Merger Doctrine is closest thing I'm aware of.
kmeisthax#
There's already Ninth Circuit precedent in favor of it. For example, Sony tried to sue two commercial PlayStation emulator developers and the Ninth rejected the lawsuit on all counts (and one of those cases is even cited in this opinion).

The court has to talk about programmer skills because Android (at least, the versions before they switched to OpenJDK) was not entirely source- or binary-compatible with Java SE programs. In fact, the reason why they couldn't license Java SE was that Sun insisted on Android being locked into compatibility in the first place. So this entirely represents an expansion of existing fair use precedent: now, not only does fair use apply to full reimplementations for the sake of interoperability, but also partial reimplementations made for the sake of programmer convenience.

comex1 reply#
Yes, interoperability is relevant, because it affects the necessity of copying that particular code rather than making one's own substitute, which in turn affects fair use.

But Google's lawyers (inexplicably, in my opinion) failed to talk much about the fact that many Java libraries are interoperable between Android and Oracle Java, leaving the courts to think only in terms of full applications which are not interoperable. Thus the courts have treated this case as if the only benefit to Android's reuse of Java was programmer familiarity.
Thankfully, Google won anyway, so any defendant in a future case who can make a better interoperability argument will be in an even stronger position.
Edit: For example, in the Federal Circuit ruling that the Supreme Court just overruled, they complain: "Indeed, given the record evidence that Google designed Android so that it would not be compatible with the Java platform, or the JVM specifically, we find Google's interoperability argument confusing. [..Google] points to no Java apps that either pre-dated or post-dated Android that could run on the Android platform." [1]
[1] http://www.cafc.uscourts.gov/sites/default/files/opinions-or...

iam-TJ1 reply#
Google didn't argue on interoperability since that would have torpedoed their core arguments that Android is a transformative work creating a new market outside of, and different from, Sun Java Standard Edition.

To argue interoperability Google would have needed to copy the entire JAVA SE API.
The key difference is that Java SE (designed for desktops) API was considered by Google mostly not required on smartphone/mobile devices envisaged for Android. Sun would only licence Java SE complete (Sun was the one wanting complete interoperability).
To the extent the concept of interoperability enters into it, it was on the human side; the arguments were about leveraging existing programmer knowledge to the extent that Android's requirements were shared with and common to Java SE.

Continue this thread — 1 reply

reactspa8 replies#
It is fascinating that code is now being measured quantitatively. Number of "lines of code".
benburleson1 reply#
My first manager, when I was a young engineer at Raytheon would like a word.
gabereiser2 replies#
It's 2021 and I still come across managers that use this as a metric.

Continue this thread — 2 replies

sriku1 reply#
I suppose it makes sense from the perspective of copyright law, which protects artifacts. After all, one could say the same for quoting from a famous literary work .."ha now they're valuing literature in terms of number of words of prose!"
ocdtrekkie17 replies#
The dissent clearly highlights the fallacy of the ruling, where it discussed the importance of the "heart" of the work, rather than the portion of exact lines copied.

Aka, that you could clone Harry Potter's plot, characters, and story while not copying each word of the book verbatim, and it still be a copy of Harry Potter.

Continue this thread — 17 replies

EvanAnderson3 replies#
Now? I've personally heard quantities of code measured in "lines of code" (or, thousands of lines of code-- "K-LOCs") going back to the mid-90's. An acquaintance who worked for IBM in the 70's said it dates back at least that far (measuring developer productivity in the "K-LOCs" they produce).
ChrisMarshallNY3 replies#
It's been going on since the 1960s (maybe longer).

Personally, I think the best code is the code I don't write.
A significant part of my refactoring, is removing as much code as possible, by tweaking algorithms, deriving common base classes, and removing unused code branches.
Every line of code is a potential bug. The less code, the less bugs.

Continue this thread — 3 replies

Continue this thread — 1 reply

lostcolony#
How else do you determine what amount infringes? One of the four factors is "The Amount or Substantiality of the Portion Used".
koolba#
Objective measures are better suited to uniform application of justice vs subjective ones.
raverbashing#
I'm actually ok with that metric in this case as it's easy for judges to understand and it's actually a good proxy.
amalcon#
Number of lines is actually a pretty good (though imperfect) measure of how difficult a code base is to work with, which is why many developers are delighted by the opportunity to delete code.
kyberias#
LoC is an old and classic software size metric. It's not perfect, but not completely useless either.
dmitryminkovsky5 replies#
I'm glad about this outcome, because I agree the other outcome would have had a devastating effect on software development.

I also appreciate this fair use argument, especially when you point out the code in question was 0.4% of the entire API.
Still, I'll always struggle with the idea that "the amount and substantiality of the portion used" when copying an interface is comparable to copying an implementation. The interface is, intellectually, the substantially heavier, "bigger picture" component of the API than the implementation. In my view they are apples and oranges.
So, I'm glad this was the outcome. But I'll always feel like there was something wrong with Googe taking the Java SE interfaces and using them like they did, gratis.

Continue this thread — 5 more replies

Continue this thread — 12 more replies