HckrNws

HckrNws logo

Google’s copying of the Java SE API was fair use [pdf]

Story
pdoconnell 0 points 4/5/2021, 2:04:22 PM

Comments

TeaVMFan4/7/2021, 2:38:43 AM points
I feel conflicted about this decision. I've added some analysis here:

https://frequal.com/java/SupremeCourtOracleVsGoogleRuling202...

focusing on two areas: * Google had the ability to make their own language and APIs for Android * The chilling effect on future language/API innovation

domano4/6/2021, 9:13:50 PM points
Guess thats it for Fuchsia and Flutter
therealbilly4/6/2021, 12:49:02 PM points
Why would Google do this in the first place? The reason is that they did not have time to figure out what capabilities might be needed in their own solution. So copy the API from someone's other competing product and then later, put code behind those API calls. Is it theft or cheating? Kind of, I suppose. It saved them time from having to engineer the API surface.
xeromal4/6/2021, 3:03:38 PM points
Yeah, it really just gave them a shape that devs were familiar with and they could evolve the underlying mechanisms over time
bitwize4/6/2021, 11:21:36 AM points
For me, the problem here is that there is no logically consistent way to rule in favor of Google without undermining the concept of software copyright itself. APIs are creative expression: at a basic level, it is possible to change the names, the order, and to some extent the type of parameters and achieve the same result. It is also possible to change the structure of the API itself at a large scale in such a way that the programmer still can do what the API purports to provide, in a completely different way. Therefore, if one were to call APIs merely functional "declaring code" that cannot be copyrighted, then that would put all software code at risk of being called such. The idea that, say, a certain algorithm can be expressed in many different ways lies at the heart of how we justify making such expressions copyrightable.

With this ruling, either software will be found to be entirely (or mostly) uncopyrightable, which is unlikely, or software copyright will turn into an even bigger legal morass that requires a team of top-tier lawyers just to understand which parts of your software are effectively copyrightable (or potentially infringing) and which aren't.

The Supreme Court should have found in favor of Oracle, and told Google to bring their case before Congress if they're so worried that API copyrightability would destroy the industry.

iudqnolq4/6/2021, 11:12:20 AM points
I found this description of an API surprisingly good compared to earlier courts. It's not quite literally true, but it makes sense.

> The copied lines of code are part of a “user interface” that provides a way for programmers to access prewritten computer code through the use of simple commands. As a result, this code is different from many other types of code, such as the code that actually instructs the computer to execute a task

> As part of an interface, the copied lines are inherently bound together with uncopyrightable ideas (the overall organization of the API) and the creation of new creative expression (the code independently written by Google). Unlike many other computer programs, the value of the copied lines is in significant part derived from the investment of users (here computer programmers) who have learned the API’s system.

WoodenChair4/6/2021, 10:21:09 AM points
Regardless of how you feel about the legal question, if you read the whole thing, it’s interesting to see how much the justices differ with regards to their respective grasps of the technical and business issues. In particular Thomas’s dissent includes many very relevant business and technical facts that Breyer’s opinion doesn’t even mention. For example Java SE vs Java Micro Edition, advertising business model vs licensing model, the inherent creativity of designing an API, Apple and Microsoft’s competing products, etc.
ivolimmen4/6/2021, 7:09:10 AM points
So Oracle's reason to buy Sun failed? I am happy.
mgalgs4/6/2021, 5:55:51 AM points
Every time I see a big thread I smile knowing dang is going to have to write some comment about how they're working on things
peter3034/6/2021, 4:22:19 AM points
How who Apple react if some company copied, then implemented their iOS API on their mobile device, so they could run Apples hundreds of thousands apps?
winter_blue4/6/2021, 3:03:10 AM points
I hope Oracle is ordered to cover Google's legal expenses for all of the lawsuits (related to this).
arbirk4/6/2021, 2:53:58 AM points
Well worth a read. "We reach the conclusion that in this case, where Google reimplemented a user interface, taking only what was needed to allow users to put their accrued talents to work in a new and transformative program, Google’s copying of the Sun Java API was a fair use of that material as a matter of law."
ta202104054/6/2021, 1:16:14 AM points
I wonder if Google will continue to move away from Java even after winning this ruling.

What will Java look like at Google in 2030?

mason14/6/2021, 12:40:48 AM points
this is a matter of opinions, and the jurors voted based on their own flawed understanding
hi414/5/2021, 11:51:34 PM points
I cannot tell you how happy I am to hear this. My heart sank when things seemed to not go well for Google.
shmerl4/5/2021, 10:30:23 PM points
That's good for practical purposes, but they still didn't rule on APIs being copyrightable or not to begin with? It's a bit weird to say "it's fair use" but not say "it's not copyrightable in the first place".
strenholme4/5/2021, 10:10:43 PM points
I am very glad to see this. Having a “you can abuse copyright to have proprietary control over an API” precedent on the books had a chilling effect for programmers.

Let me give you one example as an electronic musician. Once upon a time, Steinberg created an API for connecting programs which simulate musical instruments and musical effects (think reverb, echo, flanger, etc.) called VST. This API was always proprietary but everyone ending up using it, including the open source Audacity program which uses an open source re-implementation of the VST API, allowing it to use professional effects when editing tracks.

Well, Steinberg decided that VST2 — the one everyone has been using — was out of date and removed all downloads to the VST2 API, since they wanted users to upgrade to VST3. While a lot of professional music making tools have updated to VST3, others have not, and a lot of tools will never be updated. Steinberg no longer has a copy of the VST2 SDK available for download; they’re really trying to get everyone to update to VST3.

Now, with this horrible “Google vs. Oracle” precedent looming over everyone’s head that a company was allowed to copyright an API, Steinberg could had, in theory, said “VST2 is copyrighted, and Audacity is not allowed to use their own independent implementation of that API” (they didn’t in practice because they know it’s bad business; indeed VST3 is dual licensed, where GPL3 is one of the license options).

With this precedent, the Audacity team can more easily retain their independent implementation of VST2 knowing the legal precedent saying re-implementing an API is fair use.

pyrale4/5/2021, 10:20:21 PM points
> I am very glad to see this. Having a “you can abuse copyright to have proprietary control over an API” precedent on the books was a chilling effect for programmers.

It was always possible to release APIs as open-source. There's as much chilling effect about proprietary software as there ever was being careful about using licensed work, and that was never a problem.

On the other hand, the hunting season on companies providing software is now open. You're a startup providing a new database, or a well-thought library? Shit, you better take the VC money before someone else does and puts you out of business. And when a company like Amazon comes with an offer, you better not be in a bargaining mood.

chmod6004/5/2021, 9:31:06 PM points
From the dissent:

"Instead of creating its own declaring code—as Apple and Microsoft chose to do— Google copied verbatim 11,500 lines of Oracle’s declaring code and arranged that code exactly as Oracle had done."

I didn't read the whole opinion, but what is Google's excuse for this? If there's one way to do it, I don't think copyright should apply. But when there's more than one way, why should copyright not provide some protection? I guess just because it's tiny and contains little expression?

Regardless, it seems like very poor judgement to not do a cleanroom implementation here.

Google2344/6/2021, 12:21:21 AM points
That’s the API? You can’t clean room that without having a different API.
arduinomancer4/6/2021, 2:29:56 AM points
The 11,500 lines is the API interface, so just the function/class signatures.

They _did_ do a cleanroom implementation, that's the whole issue that makes it an interesting case: are APIs fair use?

martin19754/5/2021, 9:17:53 PM points
I hate analogies... but will use one here... 'copying' an API, to me is a bit like copying the look&feel of a product. There used to be similar lawsuits alleging 'look and feel' violations awhile back between Microsoft and whomever (I don't recall anymore), most if not all of these bombed. If Google had lost this one, then the next step would be copyrighting a typedef-ed struct with "proprietary" Google data in it...

I am not a huge fan of Google's antics in general, but in this case, I am glad they won.

webreac4/5/2021, 9:03:08 PM points
I am not a lawyer. Is it finished ? Has Oracle completely lost ? I really do not like very much Oracle.
gigatexal4/5/2021, 8:43:13 PM points
I’m super conflicted because I think I side with Oracle here and I never seem to. Java had an established API. It had a license. Google could have licensed it and the end result would have been the same: Java apps on Android. Weren’t there even Google brass worried about this in emails? It seems to me Oracle is due license fees but SCOTUS ruled otherwise and I guess that’s overall better for the industry.
wtallis4/5/2021, 9:48:16 PM points
Copyright protection is not an automatic right that you're entitled to for anything you put effort into creating and want to make money off of. There are more specific requirements for what you need to do to secure copyright protection or patent protection, and there are limits on the exclusive rights those get you. "They worked hard on it and want to charge money for it" is not a sound argument.
sandes4/5/2021, 8:32:58 PM points
> Those 11,500 lines, however, are only 0.4 percent of the entire API at issue, which consists of 2.86 million total lines

This marks jurisprudence

chmod6004/5/2021, 8:31:21 PM points
This is not a Constitutional issue. This is a purely legal decision based on a federal statute passed by Congress.

Constitutional issues are somewhat of a mix of the political and legal. SCOTUS tries to be apolitical, but by its nature it can override Congress on Constitutional matters, and therefore it's at least somewhat political.

But cases like this are legal. Political credit and blame for this decision should go to Congress, not SCOTUS.

Of course, those interested in the legal process itself may give credit or blame to the justices for their legal positions.

szhu4/5/2021, 7:25:22 PM points
Great line:

> Unlike many other computer programs, the value of the copied lines is in significant part derived from the in- vestment of users (here computer programmers) who have learned the API’s system.

c-smile4/5/2021, 7:19:36 PM points
Thinking out of box.

Am I right that this may essentially end Dart project at Google?

As far as I understand Dart was an attempt to have another Java in case that Oracle/Google conflict will not go anywhere.

As soon as Google will be able to use Java on dart platforms there will be no need for Dart.

Just guessing.

Black1014/5/2021, 6:56:56 PM points
Does that mean that we can use portions of copyright code/text with no repercussions?
Black1014/5/2021, 9:55:58 PM points
thanks for the downvote you spineless user;)
suhail_saifi9294/5/2021, 6:51:47 PM points
Gjb
baq4/5/2021, 6:30:49 PM points
Was following this on slashdot. Kids grew up in the meantime.
aerovistae4/5/2021, 6:19:57 PM points
Does anyone have any insight into how the justices are educated about a case like this? I guess this applies to many cases, involving a variety of industries, but it's especially clear here that making a decision requires a technical understanding of the stakes. How are the justices made to understand what the different concepts meant? from reading the ruling it's clear that they have a very good understanding, and it's impressive for non-programmers, most of whom are older and did not grow up with technology.
burtonator4/5/2021, 6:17:11 PM points
Let's assume Google was in the wrong here - for the sake of argument.

How would it been possible for Google to do this without just taking the API definitions.

Could they have just use compiler errors?

kaba04/6/2021, 9:21:01 AM points
Pay for the at the time not open license?
bostonsre4/5/2021, 5:51:46 PM points
Does oracle have any moves left to counter this decision? Or are we finally clear of this litigation that has been hanging over us for so long?
lolinder4/5/2021, 7:04:43 PM points
The Supreme Court is the court of last resort. They'd have to start over with some new argument, and if they had a better one I imagine they would've pulled it out by now.
nashashmi4/5/2021, 5:33:25 PM points
I have a workaround. I was thinking that an adapter socket can be patented. And use by others cannot be made declared under fair use.

So what if APIs were also patented?

tibbydudeza4/5/2021, 5:31:36 PM points
A good ruling.

Re-implementing an API is how we got clone PC's when Compaq cloned the IBM BIOS interface and associated ISA bus logic which made Intel based DOS home computers cheaper and affordable for ordinary people.

pjmlp4/5/2021, 5:31:28 PM points
Now while I eat my hat, I am waiting to see what will be the next excuse for not updating Android Java to latest versions.
monocasa4/5/2021, 6:45:33 PM points
Oracle's newer VM patents.
jariel4/5/2021, 5:25:46 PM points
Now Google, Microsoft and Oracle can go ahead and copy little startup's APIs, or even Stripe?

Using Stripe?

You're literally one-click away from our new Google Payments?

Just change this URL, and you're good?

I'm not as keen about the outcome as others.

It's good for open source in a way but I'm wary of big cos just wiping out smaller one's.

Also - does anyone with insight have something to say about open source APIs being copied, to get around copyleft?

Could GPL'd software now be 're-implemented' without concern?

paulmd4/5/2021, 4:59:08 PM points
Hopefully this is a crack in the armor of the x86 monopoly - after all what is an instruction set but an "API for processors"? The novelty is in how you implement the instruction set, not the actual API that says "this instruction takes A and adds it to B", that is purely a matter of compatibility.
xxpor4/5/2021, 5:28:05 PM points
Who would willingly make a new x86 design these days?

I would think this would crack ARM's control over their instruction set though. I can't imagine it'd be worth re-implementing literally the entire thing from scratch though when ARM will willingly sell you IP blocks, as opposed to Intel or ARM which will certainly not.

garaetjjte4/5/2021, 5:52:03 PM points
Does anybody claim copyright for ISA though? I think it is just patent minefield.
drallison4/5/2021, 4:57:26 PM points
The SCOTUS decision on API Fair Use is the correct one. Students of intellectual property law and computer programs will find the briefing for the Supreme Court fascinating. I find it hard to see how the Circuit Panel that overturned the original pro-Google decision to Oracle's favor in the light of the arguments and evidence provided. The briefing for the Cert, particularly the amici, is worth reading. Oracle tried to move the argument into the public square by encouraging "experts" to write damning op-ed articles for news outlets and for the semi-technical press about the evils that Google did. Often their articles misplayed a shallow understanding of the issues and history of the Oracle/Google dispute.

The SCOTUS decision cuts through the cruft and reaches the right finding in this case. It shows that the Supremes can can pay attention and do the right thing.

dang4/5/2021, 4:56:31 PM points
Threads are paginated for performance reasons (yes we're working on it), so to see the rest of the comments you need to click More at the bottom of the page, or like this:

https://news.ycombinator.com/item?id=26699106&p=2

https://news.ycombinator.com/item?id=26699106&p=3

(If you've already seen a bunch of these, I apologize for the annoying repetition.)

jcranmer4/5/2021, 4:55:05 PM points
A summary for those who don't want to read the entire thing:

This case was originally granted back in 2019. It was scheduled for oral argument in March 2020, but was postponed at the last moment until October because of the pandemic. Being postponed at the last moment, it was fully briefed well over a year ago, and the justices likely knew how they would rule in the case for a long time. (It's unclear how much of an impact oral argument actually has on influencing the decisions). That it took so long for a decision to come out--this is the last October hearing to get an opinion--strongly suggested to me that this would be a messy case with several overlapping concurring and dissenting briefs.

It is not. It is a simple 6-2 decision, with a single majority opinion and a single dissenting opinion. I'm reading between the lines here, but it seems pretty clear that Breyer (the majority opinion author) does not believe that APIs are copyrightable in the first place, but doesn't argue that point as he probably does not have enough other votes to agree with him. It's plausible that Breyer had a lengthy section on why APIs weren't copyrightable but that was pulled due to the other justices in the majority rejecting it. We can't know what the voting would break down as, but a 3-3-2 breakdown of "API is uncopyrightable; API is copyrightable, but this is fair use; API is copyrightable, this is not fair use" does not strike me as implausible. (There's not much in favor of this breakdown, note: that I lay it out like this is as much wishful thinking as anything else).

Thomas's dissent--I'll focus on that first--essentially makes two main arguments. The first is that API is copyrightable in its own right (Breyer's opinion assumes that it is for the fair use analysis but doesn't say that it is). The second argument is that Google's copying of the API cannot be fair use. A lot of that argument appears back-reasoned from "Google copied so much of the API and they made so much money off of it, how can it possibly be fair." In a broader sense, however, it's a different mode of fair use analysis than Breyer argues for. Thomas essentially views copyright as a property interest, and fair use is a narrow limitation on property interest. The API is an entity in and of itself here, so even though the API is a tiny fraction of both the original and reimplementing code, you need to look at the amount of the API itself that is being copied to judge how substantial a portion it is. Although when he turns to consider the impact that an independent implementation has on the market for the original, it's not the market of the API itself that matters but the market of the entire implementation.

Now going back to Breyer's opinion, he treats fair use rather differently. First, Breyer essentially invokes the idea that different kinds of copyrighted material deserve different amounts of protection. He draws a distinction between declaring and implementing code, and notes that since only declaring code is being copied, it pushes the factor analysis much more towards being fair use than otherwise. In contrast to Thomas, Breyer notes that commercial use isn't automatically non-fair use, and lists a few examples of where commercial use can indeed be fair use. Also, Breyer pushes hard against the idea of copyright being about property interests, noting that the Constitution expressly provides that copyright is for the progress of science and arts. Whereas Thomas places primacy on the importance of the effect of the market, Breyer instead contends that it's the least important factor here.

All the way back at oral argument, Thomas surprised me with the most insightful question: the fair use factors in the law are very explicitly a nonexhaustive list, so what other factors might exist to sway fair use analysis? At opinion time, Thomas is instead the one to declare that none other exist, while it's Breyer who rather strenuously comments that fair use analysis is not exhaustive, although he does not include any other factors in his analysis.

What's the overall impact, then? APIs may or may not be copyrightable--SCOTUS does not decide. But Breyer essentially suggests that APIs have at best "thin copyright"--a lot of their use may be inherently fair use (the same analysis Breyer does here can reasonably be copy-pasted for a lot of API reimplementation cases). What's more radical is the effect it has on fair use analysis. Breyer states that appeal courts have to reconsider fair use on appeals if juries find a use to be fair or not (that's an easy part of the opinion to miss). Breyer upends the traditional notion of how to balance fair use factors yet again. Essentially, he suggests that the analysis of fair use is dependent in large part on what kind of work is being copied, and the balancing is dependent on the kind of work. He also rejects a lot of the traditional emphasis on market or potential market analysis for fair use. This is somewhat disclaimed for wider application to non-code cases, but you can bet there is now going to be a lot of appeals surrounding fair use over the next few years.

chouchinhua4/7/2021, 5:51:28 AM points
This is a pretty good summary of the philosophical difference between Thomas's and Breyer's view of copyright.

I'll add that Thomas points out that if Breyer wants to talk about "thin" copyright, he should have discussed it within the copyrightability context, not skirting and discussing it in the "fair use" segment. If Breyer does so, Thomas argues, Breyer would find that "thin" copyright is still copyright, and Google will have no argument left to support fair use. All the remaining facts (such as competition, loss royalty, etc.) would support non-fair use.

d3ntb3ev1l4/5/2021, 4:53:41 PM points
Can I copy one line from the Beatles catalog “she loves you yeah yeah”. I represents such a small % of their overall lyrics.
Sephr4/5/2021, 4:46:22 PM points
Does this mean that frameworks like WINE are now illegal if Microsoft so desires?

How about special-cased ad blocker integrations that stub ad vendor APIs? I feel like that would also run afoul of these increased copyright protections.

rossdavidh4/5/2021, 4:28:02 PM points
So not only a good decision, but one that was decided 6-2, with the younger judges (left and right) among those 6. It looks like it could be a solid majority on the side of sanity on this particular issue for a long time (knock on wood).
game_the0ry4/5/2021, 4:26:47 PM points
6-2 majority decision, which is pretty one-sided and really good news for open source.

It's worth noting - the two dissenting justices were Clarence and Alito, who are both baby boomers over the age of 70, both old school conservatives. Of other two conservative justices, Kavanaugh and Gorsuch (who are also on the early end of Gen X), both sided with Google.[1] I was not expecting that. I thought they would have aggressive views with respect to the possibility of copyright infringement.

Funny moment during the case - Clarence compared Google copying Oracle to a football team stealing an opponent's playbook. That's a really bad analogy and demonstrates a lack of understanding in open source software.

Oh, and before I forget - f*ck you, Larry Ellison.

[1] Justice Barrett came in too late to participate in the decision, I wonder where she would have sided.

eric_fib4/5/2021, 4:18:19 PM points
Really interesting!
LogicUpgrade4/5/2021, 4:10:13 PM points
Honestly this stands contrary to almost every principle of fair use (transformative work of different character for the purpose of comment, parody etc.).

Google took tons of APIs from a platform and implemented them into... a platform.

If you think designing thousands of classes is not substantial that's a very different argument, different from fair use.

Fair use means yes, APIs are copyrightable, but this is transformative use. And, to anyone with a clue in software dev... no it's not.

It's basically like taking someone else's script as-is and shooting a movie from it, and the court deeming this use of a script "fair use".

topicseed4/5/2021, 4:26:23 PM points
Is a restaurant menu copyrightable?
bsimpson4/5/2021, 4:04:55 PM points
It's interesting to me that they ruled that APIs are copyrightable, but that copying them is a fair use.

In what circumstances would non-fair-use copyright then apply?

mlindner4/5/2021, 4:42:19 PM points
They didn't actually say whether APIs are copyrightable, just that they would assume it for sake of argument and test to see if the fair use test was sufficient. They found the fair use test sufficient so they didn't investigate whether it was copyrightable or not.
rhacker4/5/2021, 3:51:06 PM points
I don't quite know how to say this but, is it possible to be happy about the outcome but have a feeling that it was probably legally not quite straightforward. I mean everyone (or most) on here is probably pleased with the outcome, but extremely biased?

Also if Sun was still around would people be rooting for them instead of Google? Oracle isn't exactly easy to love.

I'm not looking for pound keyboard replies from people that disagree, I'm just curious if there are others that have the same feeling.

anonymouse0084/5/2021, 3:48:00 PM points
After experiencing 'good' and 'bad' API design, I'm really hoping that people who invest in creating great APIs get to benefit from their hard work even after this.

This decision doesn't appear to speak to why the 11,500 lines were actually important, other than to 'steal' developers away from Java - which in effect is poaching without the hard paper trail and paystubs.

So in the end, I find this setting us all up for the real battle... the utility of APIs and languages, which will bring us back to settle squarely what is a 'utility' & 'design' patent, and what is a copyrighted material.

I'm curious to know who will take it up -- I doubt anyone of consequence will be copying APIs after this.

dpifke4/5/2021, 3:43:34 PM points
I found this section (pp. 33-34) particularly interesting:

...enforcement of the Sun Java API copyright might give Oracle a significant share of these funds. It is important, however, to consider why and how Oracle might have become entitled to this money. When a new interface, like an API or a spreadsheet program, first comes on the market, it may attract new users because of its expressive qualities, such as a better visual screen or because of its superior functionality. As time passes, however, it may be valuable for a different reason, namely, because users, including programmers, are just used to it. They have already learned how to work with it. [...]

This source of Android’s profitability has much to do with third parties’ (say, programmers’) investment in Sun Java programs. It has correspondingly less to do with Sun’s investment in creating the Sun Java API. We have no reason to believe that the Copyright Act seeks to protect third parties’ investment in learning how to operate a created work. [...]

Finally, given programmers’ investment in learning the Sun Java API, to allow enforcement of Oracle’s copyright here would risk harm to the public.

If one were to apply the above logic to anti-trust instead of copyright fair use, one might wonder if the Court could find harm to the public in certain behaviors of e.g. a monopoly email provider or monopoly social networking site.

(A big argument against anti-trust enforcement against Google and others is that the Sherman Act is designed to protect consumers, not competitors.)

marc__14/5/2021, 3:41:29 PM points
Oracle's response[1]:

"The Google platform just got bigger and market power greater — the barriers to entry higher and the ability to compete lower. They stole Java and spent a decade litigating as only a monopolist can. This behavior is exactly why regulatory authorities around the world and in the United States are examining Google's business practices."

- Dorian Daley, Executive Vice President and General Counsel, Oracle

[1]https://www.prnewswire.com/news-releases/oracle-statement-re...

scriptproof4/5/2021, 4:25:39 PM points
The alternative would have been not using Java at all. That would have made attracting programmers more difficult at the beginning of the Android platform, but then, Java would have disappeared on mobiles, at least. I do not discuss why Oracle thinks is entitled to have of big chunk of the revenues of Android and the work of Google.
AnimalMuppet4/5/2021, 4:57:01 PM points
Here, Oracle, let me break out the world's smallest violin...
xxpor4/5/2021, 5:23:57 PM points
Oracle is very clearly banking on their political ties with the GOP to save the company. Regulatory capture in its most disgusting form.
gundmc4/5/2021, 9:09:47 PM points
"Only a monopolist would have the resources to fend off our blatant shakedown attempt."
Natanael_L4/6/2021, 12:43:49 AM points
The irony is that what they claim happened is instead what would have happened only if the case was resolved in the opposite direction. Everybody having to pay for API licenses for absolutely everything would be disastrous. The gridlock would be insane.
hacktember4/5/2021, 3:34:44 PM points
I'm sooo relieved that this is over!
lisper4/5/2021, 3:34:25 PM points
Although I applaud the effect of this decision, I can't help but agree with Clarence Thomas that the reasoning behind it is not sound. It waffles back and forth between arguments for fair use and arguments that APIs are not (or at least should not be) copyrightable in the first place. You can't have it both ways. If APIs are copyrightable (and a plain reading of the text of the law appears to indicate that they are) then Google's copying was clearly not fair use. The purpose was clearly commercial, not educational or a parody. The API was not merely a fact or an idea, it was a specific embodiment that required effort to produce. And the copying clearly had a negative impact on the value of the original.

What really happened here is that the Supreme Court did an end-run around the law to paper over a major fuckup by Congress. On the one hand, I'm glad that they fixed the problem. But the way that they did it fills me with dread for the future because it undermines the rule of law.

For the record, I absolutely despise Clarence Thomas and everything that he stands for. But in this case I think he has a valid point.

shadowgovt4/5/2021, 3:38:52 PM points
IANAL, but there is definitely such a thing as commercial fair use. The music industry is rife with "they stole my riff" cases that hinge on whether the copying was transformative and the amount that was copied. I wouldn't go so far as to say this undermines the rule of law (rather, the Court's precedent-setting power is part of the rule of law. It may undermine rule by Congress, but nothing about the US system makes Congress a king, and if they want to take back their power on this topic, they need only craft a clearer law addressing these issues directly).

I think reasonable people can agree with Justice Thomas on this (sidebar: this is why I love reading SCOTUS rulings - they're generally wise people and both the majority and dissent sides are usually reasonable takes). The tests of "is it transformative" and "how much was taken" are probably the most subjective tests in the copyright precedent.

jacques_chester4/5/2021, 3:41:31 PM points
> It waffles back and forth between arguments for fair use and arguments that APIs are not (or at least should not be) copyrightable in the first place.

The precedential parts are unambiguous: Google's actions were fair use, as a matter of law (this is code to lower courts to not fuck around). The majority opinion did not answer whether APIs are copyrightable in the first place because it was unnecessary to settle the dispute.

The rest of it is obiter dicta. Thomas's objection, as is usually the case, is irrelevant.

IANAL, TINLA.

mumblemumble4/5/2021, 3:46:41 PM points
>You can't have it both ways. If APIs are copyrightable ... then Google's copying was clearly not fair use.

You seem to have misunderstood the idea of fair use. Fair use is a specific doctrine covering the acceptable ("fair") use of copyrighted works. Fair use of a non-copyrightable work would be, technically speaking, a contradiction in terms.

See, for example, the US copyright office's explanation: https://www.copyright.gov/fair-use/more-info.html The first sentence is "Fair use is a legal doctrine that promotes freedom of expression by permitting the unlicensed use of copyright-protected works in certain circumstances."

Furthermore, there is no requirement that fair use be non-commercial. It is more likely that the courts will find that non-commercial use is fair, but that is not a hard and fast rule. An easy example here is book reviews quoting passages from the text.

dpifke4/5/2021, 3:51:48 PM points
The purpose was clearly commercial, not educational or a parody.

This is addressed in the decision on page 27. The Court wrote:

The text of §107 includes various noncommercial uses, such as teaching and scholarship, as paradigmatic examples of privileged copying. There is no doubt that a finding that copying was not commercial in nature tips the scales in favor of fair use. But the inverse is not necessarily true, as many common fair uses are indisputably commercial. For instance, the text of §107 includes examples like “news reporting,” which is often done for commercial profit. So even though Google’s use was a commercial endeavor—a fact no party disputed, see 886 F. 3d, at 1197—that is not dispositive of the first factor, particularly in light of the inherently transformative role that the reimplementation played in the new Android system.

mjw10074/5/2021, 3:33:11 PM points
The bits where they emphasise that the copying was "transformative" as part of the "Purpose and Character of the Use" analysis are interesting:

« Google’s limited copying of the API is a transformative use. Google copied only what was needed to allow programmers to work in a different computing environment without discarding a portion of a familiar programming language. Google’s purpose was to create a different task-related system for a different computing environment (smartphones) and to create a platform — the Android platform — that would help achieve and popularize that objective. »

« Here Google’s use of the Sun Java API seeks to create new products. It seeks to expand the use and usefulness of Android-based smartphones. Its new product offers programmers a highly creative and innovative tool for a smartphone environment. To the extent that Google used parts of the Sun Java API to create a new platform that could be readily used by programmers, its use was consistent with that creative “progress” that is the basic constitutional objective of copyright itself. »

This suggests to me that someone who copies a set of function declarations for the purposes of, say, creating a free-software clone of an existing product might not be able to rely on this decision.

bitwize4/5/2021, 5:25:05 PM points
> This suggests to me that someone who copies a set of function declarations for the purposes of, say, creating a free-software clone of an existing product might not be able to rely on this decision.

They wouldn't need to rely on this decision.

The courts tend to frown on using IP law as a weapon against interoperability or legitimate competition outside the scope of what the IP law covers. If you get sued for copying Yoyodyne's API in order to develop an otherwise original piece of software whose purpose is to interact with other software that expects Yoyodyne's program, the appeals court is likely to smack the suit down citing Sega v. Accolade and Sony v. Connectix, and the SCOTUS (assuming it gets that far) is likely to agree.

One of Oracle's major arguments was that Android was not interoperable with regular Java, and in Oracle's position the fact that Google copied Java's declaring code just to screw Oracle over put Android outside the bounds of interoperability fair-use protection.

jimbob454/5/2021, 3:29:21 PM points
Does this mean Fuchsia/Zircon are effectively dead? I got the impression Google was keeping them as a backup in case this lawsuit went badly for them.
monocasa4/5/2021, 4:59:34 PM points
Android has already switched to GPLed OpenJDK for the Java classes in question. This was about the Android versions from before that switch over.
ccleve4/5/2021, 3:27:56 PM points
I like the outcome from a public policy perspective. The policy the court has imposed is good for the industry. But let's make no mistake -- this is legislating from the bench.

The wholesale expropriation of an API is not the same thing as taking a small snippet of a copyrighted work for analysis, commentary, criticism, or scholarship. It is core the value of the work.

Indeed, it's the most important part, because it defines the functionality of the product. It is what the customer sees and interacts with. It is the means by which the customer gets value. You can completely swap out the backend behind the API and the customer will still get value. Change the API and the value goes away.

From a legal perspective, this decision is 100% wrong. The plain language of the law makes that clear.

What should have happened here is that Congress should have passed an amendment to copyright law allowing for fair use of an API. They should have done so after a free and full debate, with due consideration to all economic consequences.

It is not for our black-robed, un-elected overlords to make this decision.

mrkstu4/5/2021, 5:39:13 PM points
Let's take the 'on a computer' portion out of it.

If I specify that my company takes orders that only have certain header columns and must have specific format in certain fields on the bill of goods, is that /specification/ (not the full text I wrote, but the facts of the specification itself) copyrightable? Why? I don't see that the abstract facts of a specification of interoperability should receive any kind of copyright.

mjh25394/5/2021, 3:25:35 PM points
All thanks be to God
softwaredoug4/5/2021, 3:20:53 PM points
Judge William Alsup learned to code for this case, and was therefore able to avoid a lot of the BS being peddled around the significance of some of the code:

> The argument centered on a function called rangeCheck. ... It was in Oracle’s interest to play up the significance of rangeCheck as much as possible, and David Boies, Oracle’s lawyer, began to argue that Google had copied rangeCheck so that it could take Android to market more quickly. Judge Alsup was not buying it.

> “I couldn't have told you the first thing about Java before this trial,” said the judge. “But, I have done and still do a lot of programming myself in other languages. I have written blocks of code like rangeCheck a hundred times or more. I could do it. You could do it. It is so simple.”

https://www.theverge.com/2017/10/19/16503076/oracle-vs-googl...

distribot4/5/2021, 3:31:34 PM points
I just took a look at the rangeCheck:

https://majadhondt.wordpress.com/2012/05/16/googles-9-lines/

Is this example correct? Can someone explain to me how this: if (toIndex > arrayLen)

is correct?

If the array length is say 5, and toIndex is 5, that should still throw an index out of bounds exception, right? But it would be acceptable here.

orangecat4/5/2021, 3:44:09 PM points
Judge William Alsup learned to code for this case

He learned Java for the case, but he was already an accomplished developer: https://www.theverge.com/2017/10/19/16503076/oracle-vs-googl...

mlindner4/5/2021, 4:08:30 PM points
That judge had no part of this decision though.
garaetjjte4/5/2021, 6:38:34 PM points
>David Boies

That David Boies? I guess law firms will represent whoever will pay, but it seems somewhat funny that he also represented The SCO Group in their litigation against IBM...

mikevm4/5/2021, 3:17:15 PM points
So what does this mean for the future of Java, now that Oracle won't be able to milk Google with licensing fees?
tyingq4/5/2021, 3:12:47 PM points
This seems to change part of the debate on "Extracting the abstract syntax tree from GCC" that happened here recently:

https://news.ycombinator.com/item?id=26590524

Specifically, this thread about copying the readline API: https://news.ycombinator.com/item?id=26606328

Stallman's contention that a judge would look unfavorably on cloning the API signature because it could be viewed as subterfuge...seems very weakened here, if copying an API is fair use.

I suppose this also gives companies like Amazon a green light for clones of GPL software exposing an API that's identical.

monocasa4/5/2021, 3:34:11 PM points
Yeah, but even Stallman's opinion and understanding on the matter has changed over time (that was one of the first GPL enforcement actions). IIRC, FSF was one of the amicus briefs in favor of Google's position. They want to be able to replace proprietary software with compatible, open source clones piece by piece.

In fact a good chunk of the case law cited today hadn't even hit the courts yet at the time Stallman made that statement.

jkingsbery4/5/2021, 3:07:43 PM points
I 100% agree that this is the right outcome. Any other outcome would be a nightmare for software developers and would inhibit the development of products.

But the dissent raises an interesting point. I think it shows how the crafting of legislation by people who are wholly ignorant of technology can create problems. While programmers recognize the difference between an API and it's implementation, Thomas makes the interesting point that the relevant legislation does not (page 4 of the dissent):

> Copyright law generally protects works of authorship. Patent law generally protects inventions or discoveries. A library of code straddles these two categories. It is highly functional like an invention; yet as a writing, it is also a work of authorship. Faced with something that could fit in either space, Congress chose copyright, and it included declaring code in that protection.

> The Copyright Act expressly protects computer code. It recognizes that a “computer program” is protected by copyright. See 17 U. S. C. §§109(b), 117, 506(a). And it defines “‘computer program’” as “a set of statements or instructions to be used directly or indirectly in a computer in order to bring about a certain result.” §101. That definition clearly covers declaring code—sets of statements that indirectly perform computer functions by triggering prewritten implementing code.

While it clearly is in the Court's prerogative to interpret law, there seems to be a pretty good case that the court didn't provide an interpretation for a gap in the law, it instead fixed a law that didn't make sense.

curt154/5/2021, 3:13:20 PM points
The court made no holding on whether APIs can be copyrighted.

"We shall assume, but purely for argument’s sake, that the entire Sun Java API falls within the definition of that which can be copy-righted. "

jpollock4/5/2021, 4:37:50 PM points
Indirect is there to protect code that uses an API, not the API.

Since it's API's all the way down, this is needed to protect any application on top of the BIOS/OS/HAL.

Otherwise, very little would be protected by copyright.

However, it's entirely possible that "indirect" is a word with a definition that is different to our understanding in legal documents.

8note4/5/2021, 6:23:27 PM points
The gap in the law they've clarified is what fair use looks like for software.

When the API definition is a small portion of a work, it is fair use to reimplement the api

crazypython4/5/2021, 3:05:41 PM points
"The fourth statutory factor focuses upon the “effect” of the copying in the “market for or value of the copyrighted work.” §107(4). Here the record showed that Google’s new smartphone platform is not a market substitute for Java SE. The record also showed that Java SE’s copyright holder would benefit from the reimplementation of its interface into a different market. "
exabrial4/5/2021, 3:04:27 PM points
Sanity prevails. This is incredibly important for _literally every programming language_!
greg7mdp4/5/2021, 3:01:34 PM points
Thomas and Alito dissented - these two are always on the wrong side of history.
lvass4/5/2021, 3:00:47 PM points
So does this mean one can already interface with a GPL program/library and ignore it's license? Is this the end of the GPL dual-license business model?

https://github.com/JoshCheek/clisp/blob/master/doc/Why-CLISP...

ajayyy4/5/2021, 3:57:41 PM points
No, only if you write your own implementation. Google rewrote the Java API from scratch* except for using the same method signatures.

* Some small functions were directly copied, but nothing major

pkulak4/5/2021, 3:00:02 PM points
> In this way, the declaring code’s shortcut function is similar to a gas pedal in a car that tells the car to move faster or the QWERTY keyboard on a typewriter that calls up a certain letter when you press a particular key. As those analogies demonstrate, one can think of the declaring code as part of an interface between human beings and a machine.

I love this analogy, and I'm going to use it to describe this case from now on. If I have a great idea for a new keyboard, maybe great new clicky keys or something, I have to make it QWERTY. I can't just come up with some random key ordering. And it has nothing to do with how good or bad QWERTY is as an idea. It's just that QWERTY happens to be what people have skills in.

anonymouse0084/5/2021, 3:50:28 PM points
Actually, I find this a bit underpowered. The whole idea is that the invention (in this case the API design or QWERTY in your example) is so powerful that it becomes a 'utility' - so Java's implementation was so powerful it really should have been 'patented' not copyrighted. Then after 20 years, you can take the true 'utility' of the API design from Java to the commons.

And yes, if ease of use will be a differentiator why people like Apple (whether it's right or wrong), then so is the ability to learn is an attribute to be protected from theft.

I say all this seeing exactly where Swift is heading, and probably why Apple created the language that will run their unified APIs... because there's no other way to join except through their Swift gates.

tpush4/5/2021, 2:58:55 PM points
The comments on this case always seem a bit confused to me.

APIs have been copyrightable (in the US) since 2014(or 15, not sure). This ruling only affects the fair use judgement, and makes no further statement on the question of copyright; meaning APIs are still subject to copyright.

jcranmer4/5/2021, 3:10:48 PM points
The copyrightability of APIs goes back to the "structure, sequence, and organization" being copyrightable decision back in (checks Wikipedia) 1986. The application since then has been inconsistent. Essentially, there's a concept called "thin copyright" which recognizes that some copyrightable things only receive minimal protection. The canonical example here is a phone books--phone books are copyrightable, but they mostly contain non-copyrightable information (lists of phone numbers), so most copying will essentially be fair use or free.

Breyer's decision explicitly avoids deciding whether or not the SSO being copyrightable is good law, but it does essentially provide that it provides only thin copyright.

minusSeven4/5/2021, 2:54:42 PM points
So does this ruling actually mean anything or can Oracle challenge this too somewhere else?
flyingfences4/5/2021, 3:23:57 PM points
It's the Supreme Court of the United States; there's no higher court for this case to go to -- it's final.

Oracle could launch a new case but it would have to rely on entirely different merits. If Oracle did have such other grounds for a suit, they would have included them in this case.

splithalf4/5/2021, 2:54:29 PM points
This will be great for developing nations.
jeffbee4/5/2021, 2:54:12 PM points
Makes me wonder how much Goldstein & Russell get paid to win a case like this. Worth every cent, I assume.
throwaway85814/5/2021, 2:52:15 PM points
The interesting question is how broad this fair use ruling is. According to the Supreme Court's other fair use cases, fair use is highly fact-specific and therefore case-specific.

What kinds of actions and motivations by Google could have led to a determination that the use was not fair?

Or is Embrace/Extend/Extinguish as practiced by the big tech companies now always protected by fair use?

jcranmer4/5/2021, 3:36:45 PM points
The centerpoint of the analysis is recognizing that declaring code is different from implementing code. From this key distinction, it pretty much follows that most copying of declaring code that does not also copy implementing code is inevitably fair use, so it can effectively be argued that copying APIs is inherently fair use. Kind of like how we say that commentary or parody is inherently fair use--it's always case-specific, but there are broad categories where you're almost always going to agree that it's fair use.
kemitchell4/5/2021, 9:41:06 PM points
That's exactly the question.

We see the majority trying to preserve flexibility in fair use throughout, even going so far as to head off arguments that this decision affects others:

> We do not say that these questions are always relevant to the application of fair use, not even in the world of computer programs. Nor do we say that these questions are the only questions a court might ask.

> The fact that computer programs are primarily functional makes it difficult to apply traditional copyright concepts in that technological world. ... In doing so here, we have not changed the nature of those concepts. We do not overturn or modify our earlier cases involving fair use. ... Rather, we here recognize that applications of a copyright doctrine such as fair use has long proved a cooperative effort of Legislatures and courts, and that Congress, in our view, intended that it so continue.

We see Thomas leading this question in dissent:

> Because the majority's reasoning would undermine copyright protection for so many products long understood to be protected, I understand the majority's holding as a good-for-declaring-code-only precedent.

Fair use is a mishmash of vague, impressionistic factors and a long list of cases from which to argue by analogy. It's not sharp-lines law. It's finger painting.

Which is why lawyers so rarely recommend that people rely on fair use in any really meaningful way, outside areas where there have been a lot of court decisions, or where strong industry norms have evolved between repeat players.

_the_inflator4/5/2021, 2:51:11 PM points
Ok, so what is Oracle's next move then?
dkjaudyeqooe4/5/2021, 3:09:02 PM points
This is the end of the road, unless they can get Congress to change the law, of course. But they have 0% chance of that.
AshamedCaptain4/5/2021, 2:43:22 PM points
For better or worse, the same arguments ( "API is copyrightable" ) is what was used in the past to prevent 98's Microsoft from doing embrace-extend-extinguish to Java with their "JavaVM with P/Invoke'd Win32 API".

The idea in that case was that when you try to implement something identical to the Java language and standard library, it doesn't matter if you call it Java or "Visual J++"; you are still implementing Java and thus in order to be able to do that you need to agree to Sun's terms (in that time, it was that your implementation needed to pass a testsuite and among other things needed to be "write once run everywhere", something the MS one definitely didn't as it was offering lots of non-portable extensions).

Now to my understanding the opinion here is that literally Sun was trying to do the same to Google (forcing them to ensure their implementation was compatible with Sun's, including being able to run Android software under Sun's JVM), which would have quite put a setback to Android at least as it was at that point (could you imagine Android forced to go with Swing?).

If I try to be fair, I find that in fact Android did succesfully pull the embrace-extend-extinguish strategy that MS was prevented to by legal reasons, and as a consequence basically killed Java on the mobile space (though Oracle has a lot of blame to share here). Perhaps the tides turned and now Google is seen as the lesser evil when compared to Oracle, while in the past Sun was seen as the lesser evil compared to MS. But is there any objective reason why the two rulings should have gone differently?

I am actually completely undecided about how I would have liked this ruling to go. I can see some of the repercussions of being able to copyright "header files" way too dangerous to ignore, but on the other side I have already seen the consequences of not being able to, and they are also bad.

Alien vs predator...

AnthonyMouse4/5/2021, 3:00:58 PM points
The issue is that what Sun was trying to do to Microsoft was equally wrong, but people didn't care as much because Microsoft was more obviously the villain.

The real answer is that copyright is the wrong tool to go after what Microsoft did and the correct tool for that is antitrust. EEE is anti-competitive even if copying an API is fair use.

jeswin4/5/2021, 3:02:39 PM points
There's a huge difference. Microsoft was already a monopoly on desktops (and was relying on that dominance to EEE) when that happened, while in Google's case the smartphone industry was nascent.
Edman2744/5/2021, 3:03:25 PM points
I think the difference here would be that the "point" of Google copying the API was not to make Oracle's Java be irrelevant, but rather to get a pool of developers that already knew the platform. Whether Oracle's Java stayed as popular or even got bigger was irrelevant for their purposes. The "point" of Microsoft's copying of the API was to make it so that eventually, people would only use their version, like they did with MS-DOS. The Supreme Court was considering the "point" when they were applying a test on "what kind of economic impact does the copying have on the original" and "does this act as a substitute for the original", which is on pages 32 and 33, where they're saying "Oracle / Sun tried to get into the smartphone space but couldn't hack it, Google entering that space didn't meaningfully affect them".

On the flip side, if Microsoft had been judged by the same standard, they might determine that Microsoft's reimplementation of an incompatible Java would have too much of an economic impact on the original to be fair use.

fncypants4/5/2021, 3:04:12 PM points
The 1990s Microsoft issues were antitrust. They tried "embrace-extend-extinguish" because they were in a monopolistic position, and this tactic was viewed as anticompetitive.

But Google (at least with respect to phone OS) was in the position of the startup, and Sun was the big market player. Now, Google had with ridiculous resources at its disposal, of course, but at the time not using a monopoly position to twist arms of carriers, for example. It's not anti-competitive to spend a lot of money to win.

Of course, things change....

BoDlulu4/5/2021, 3:08:01 PM points
I seem to remember that the 98 case was a trademark violation. Microsoft used the Java brand even though their implementation wasn't compliant (it was a derivative) - which was a big issue for Sun since one of the main point of Java is compatibility ("Write once, run everywhere").

Google however made sure to always be clear about "the Java Programming Language" or such safe phrase that makes clear that they're not the official thing.

stickfigure4/5/2021, 3:19:16 PM points
I led the development of a large GUI app using J++ in the late 90s. This fear you describe is unwarranted.

It's worth pointing out that the list of examples of "Embrace, Extend, Extinguish" on the wikipedia page of that name [1] contains zero actual successful examples of it working. Perhaps you have noticed that you aren't reading this page in an ActiveX control.

This is a boogeyman. Don't be afraid of it.

[1]: https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...

mm3214/5/2021, 3:19:48 PM points
Microsoft extended the JDK with VisualJ++, by introducing their COM based version of JNI. They claimed that the result was the same thing; now Google reimplemented the JDK while keeping the same API. that makes a subtle difference. I wonder what would have happened if Microsoft were to have sold VisualJ++ as 'Microsoft JDK'.
randomifcpfan4/5/2021, 3:23:14 PM points
The different case results had nothing to do with the relative size of Google vs Microsoft vs Sun.

Microsoft lost because Microsoft had signed a contract with Sun, and was found to have broken the terms of the contract.

Google never signed a contract with Sun, so was free to act in ways that Microsoft was not.

kerblang4/5/2021, 3:28:49 PM points
If I recall correctly, Microsoft licensed java and Sun sued them for violating the terms of the license. Google never had a license; they were sued for violating copyright. Neither lawsuit determined that embrace/extend/extinguish is illegal/unethical/immoral; they were concerned with the means, not the ends.
whoisthemachine4/5/2021, 3:29:51 PM points
I immediately thought of Microsoft Visual J++ as well. I will add that the Android Runtime/Dalvik did not really add such extensions to the Java language, only an additional library, so it isn't quite the same embrace/extend/extinguish approach, but the change in opinion is curious, and perhaps more a sign of the times than anything else.

I wonder if Microsoft's actions could have been ruled at the time as violating antitrust laws instead, if the copyright interpretation had fallen flat? Perhaps upcoming antitrust investigations into Google will look at their re-implementation of Java interfaces in the same light?

o_nate4/5/2021, 3:48:19 PM points
I'm not sure the "API is copyrightable" argument was relevant in the Microsoft-Sun case. Keep in mind that case was settled privately. Since it was never decided in court, it's hard to say what the most relevant claims were, but I don't see Sun making much of the copyright claim. They had a licensing claim because they claimed Microsoft had licensed the Java trademark but was not implementing it fully according to the spec. That seems rather different than this case.
esturk4/5/2021, 6:27:17 PM points
You say the alternative is bad but stop short of evaluating how bad. There's clearly a difference here and you don't seem to shy away from giving an opinion yet you also claim to be undecided for a court case that had lasted 10 years.

I'm sorry, but this smells like a bad faith argument.

flowerlad4/5/2021, 2:42:38 PM points
This has impact beyond APIs. The Supreme Court says copying User Interface is fair use.

Excerpts:

The nature of the work at issue favors fair use. The copied lines of code are part of a “user interface” that provides a way for programmers to access prewritten computer code through the use of simple commands. As a result, this code is different from many other types of code, such as the code that actually instructs the computer to execute a task. As part of an interface, the copied lines are inherently bound together with uncopyrightable ideas (the overall organization of the API) and the creation of new creative expression (the code independently written by Google). Unlike many other computer programs, the value of the copied lines is in significant part derived from the investment of users (here computer programmers) who have learned the API’s system. Given these differences, application of fair use here is unlikely to undermine the general copyright protection that Congress provided for computer programs.

dkjaudyeqooe4/5/2021, 2:53:52 PM points
You're reading too much into that. The user in this case is the programmer using the API, or even the code that uses the API. It's doesn't generalize to end user interfaces.
Andrex4/5/2021, 2:40:36 PM points
Just exhaled the biggest sigh of relief I've ever had when reading the title. Holy cow. Thank fucking god.
victor1064/5/2021, 2:38:14 PM points
I love how the Us supreme court judgements are written using low level terminology that most anyone can understand with little prior knowledge. Some countries use legal and complicated jargon that its hard to follow.
openasocket4/5/2021, 2:48:04 PM points
Based on my conversations with my wife, who is a lawyer, that plain language can be a little bit deceptive. While lawyers love their jargon and latin phrases, there's also a lot of very specific terms of art that sound like regular language. Terms like "reasonable" carry a lot of connotations and context in a legal decision that you don't get from the word alone. But yeah, I agree that these legal decisions are really easy for a layman to understand, even if I might miss some of the nuances.
coldpie4/5/2021, 6:03:23 PM points
We're getting pretty far off topic, but I love this article: https://loweringthebar.net/2017/02/octopoid-embrace.html
bitwize4/5/2021, 6:07:04 PM points
Supreme Court decisions are the next-best thing to black-letter law. It is important to clarify what the law has been decided to be, once and for all. Lower-court rulings have no shortage of legal jargon and terms of art with meanings that conflict with everyday meanings of those same words, because they're just part of the sausage making that is drafting and interpretation of the law. SCOTUS rulings can have these too, as the other responder indicated, but there's just fewer of them (and more clarifying language where necessary) because again, a SCOTUS ruling is a proclamation to the people, once and for all, of what the law has been settled to be.
D13Fd4/5/2021, 2:37:17 PM points
I love this outcome. But what are people's thoughts on the analogy between a software platform and a "factory floor"? That seems wrong to me; the "factory" is more like the IDE, not the platform.
protomyth4/5/2021, 2:35:09 PM points
I would imagine if the ruling went the other way, IBM might want to talk to all the BIOS companies. Luckily, that didn't happen.
oblio4/5/2021, 2:45:08 PM points
IBM would probably want to talk to 99% of computing companies out there, not just BIOS companies :-)
philjohn4/5/2021, 3:14:07 PM points
and Amazon could talk to Oracle who "borrwed" the S3 API for their cloud storage.
Silhouette4/5/2021, 2:33:18 PM points
From a quick scan, the majority opinion here seems reasonable. I suspect it is what almost everyone working in programming would have considered the "right" answer.

The dissent is worrying, though. For a pivotal case that would have had a profound adverse effect on the future of software development had it been decided the other way, there seemed to be a disturbing lack of appreciation of the fundamental issues in play, particularly the practical reasons that programmers separate interface and implementation and the implications of this for interoperability.

curt154/5/2021, 2:33:15 PM points
"On the other hand, Google’s copying helped Google makea vast amount of money from its Android platform. And enforcement of the Sun Java API copyright might give Oracle a significant share of these funds. It is important, how-ever, to consider why and how Oracle might have become entitled to this money. When a new interface, like an API or a spreadsheet program, first comes on the market, it may attract new users because of its expressive qualities, such as a better visual screen or because of its superior functionality. As time passes, however, it may be valuable for a different reason, namely, because users, including programmers, are just used to it. They have already learned how to work with it. See Lotus Development Corp., 49 F. 3d, at 821 "

Interesting to see SCOTUS citing Lotus v Borland, which was originally deadlocked at 4-4 (although Breyer seems to have voted in favour of Lotus back then). Does this elevate the precedential value of Lotus?

bryanlarsen4/5/2021, 2:32:45 PM points
It's interesting reading Thomas' dissent. As per typical Thomas appears to be arguing that it's the letter of the law that matters, whereas it's the majority opinion that the motivations and substance of the law are primary.

Hackers and programmers tend to try and read the law like computer code to be "hacked" and exploited based on the letter of the law. So you'd expect us to be more sympathetic to Thomas' view. So this is a great example to smack hackers with when they try and "hack" the law, treating it like code rather than something more human. It's a great example because this is a case where the majority is obviously the "right" decision to any true code hacker.

quotemstr4/5/2021, 2:34:58 PM points
I'm normally with the textualists on the court on the question of how we interpret the law, but in the case of copyright, the concept of "fair use" is specifically intended as an "extension point" where the courts could do what seemed right in changing circumstances. I like strongly typed languages too, but there are legitimate uses for void*.
VikingCoder4/5/2021, 2:56:02 PM points
No, when the code allows an exploit, that's a bug. Thomas is supposed to help us understand the intent of the code - what the Requirement was. Yes, it's better for us if the code reflects the intent perfectly. But to the degree that's not possible, we need someone to Interpret the code.

Textualists are trying to ignore the fact that there's a difference between intent and implementation.

The Legislature should do a far better job making their intent clear. But to the degree they make mistakes, leaving the intent unclear in some situation, it's good to have Case Law to inform us.

I am not a lawyer. I don't know much about the law. But I do know metaphors, and when someone talks about exploiting the law, this is what comes to my mind.

jcranmer4/5/2021, 3:01:19 PM points
Thomas's analysis pretty much starts from the conclusion that Google made billions off of Android, so therefore how could anything it be copied be fair use? He cloaks this analysis somewhat by arguing that the distinction between declaring and implementing code must be meaningless because Congress didn't lay it out explicitly in law, but for the person who actually broached the question of what other factors might influence fair use during oral arguments, it's pretty unintrospective about the analysis itself.
Boxxed4/5/2021, 3:06:22 PM points
> Hackers and programmers tend to try and read the law like computer code to be "hacked" and exploited based on the letter of the law.

Speak for yourself. There are plenty of us that understand you can't take the human element out of this.

TheMagicHorsey4/5/2021, 5:46:04 PM points
Judge Thomas is terrible.

He simultaneously says that corporations have First Amendment rights to donate unlimited money to politicians, but have no First Amendment rights to moderate content on their social networks.

He's a hack that just does whatever is best for conservatives.

chelical4/5/2021, 5:50:05 PM points
There is a massive difference in interpreting law vs code. Code can be patched immediately. New laws or changes to an existing law can take months, even years or decades to pass.
andomar4/5/2021, 7:48:56 PM points
"Following the letter of the law" means ignoring Congressional intent. It allows the judge to choose one of the many possible readings of a statute.

So in effect, "following the letter of the law" enlarges a judge's discretion. The opposite of what you would expect.

kemitchell4/5/2021, 9:19:07 PM points
> It's a great example because this is a case where the majority is obviously the "right" decision to any true code hacker.

https://en.wikipedia.org/wiki/No_true_Scotsman

Have you spoken to any professional language or API designers about this case? Would all "true code hackers" agree that copyright shouldn't apply to software at all?

CobrastanJorji4/6/2021, 11:01:09 PM points
I think you're reading a different argument. Thomas's argument is circular dreck. It basically says:

1. An important fair use test is market effects. 2. Amazon and others used to give Oracle huge gobs of money because they feared that APIs might be copyrightable and not covered by fair use. 3. After Google called Oracle on this, Amazon and others also started believing it was likely fair use and stopped paying Oracle tens of billions per year. 4. Therefore, Google copying the API was a major adverse market effect. 5. Therefore, copying wasn't fair use.

That's a shit argument. Watch me do a similar analysis in a more obvious way.

1. An important fair use test is market effects. 2. People used to pay gobs of money to watch the movie Transformers 2. 3. In a widely watched review of the film, I showed a 4 second clip of the movie where someone said "I am standing directly beneath the robot's testicles." 4. After this, nobody wanted to pay any money at all to watch Transformers 2. 5. Therefore, there was a major adverse market effect from my copying. 6. Therefore, copying wasn't fair use.

smnrchrds4/5/2021, 2:31:29 PM points
First of all, very good news. Second of all, what does this mean for Fuchsia, Dart, and related projects? I always assumed they were a hedge against Google having to pay exorbitant licensing fees to Oracle. Now that the threat has disappeared, will those projects be sunsetted too?
rileyteige4/5/2021, 2:34:12 PM points
Given the investment going into Flutter for cross-platform mobile (and now desktop and web) development, I would be very surprised to see Dart get Google Readered.
usbfingers4/5/2021, 5:33:15 PM points
Agreed, very good news though I'm left with the same question. It doesn't inspire that much confidence, but the recent embrace of Flutter from Canonical leaves me hopeful even if Google did drop from active lang / framework development, it wouldn't be left to dry.
tantalor4/5/2021, 2:30:56 PM points
From the dissent:

> The Copyright Act expressly protects computer code. It recognizes that a “computer program” is protected by copyright... And it defines “‘computer program’” as “a set of statements or instructions to be used directly or indirectly in a computer in order to bring about a certain result.” §101. That definition clearly covers declaring code—sets of statements that indirectly perform computer functions by triggering prewritten implementing code.

Thomas seems confused here. An API (declaring code) is not a computer program. A computer cannot execute declaring code - by definition - because it is missing the implementation.

Declaring code does not "indirectly perform computer functions". Declaring code does not perform anything. It provides a reference, nothing more, for a compiler to match one computer program (the API client) to another (the API implementation).

tantalor4/5/2021, 2:37:41 PM points
This argument is hard to swallow:

> declaring code would satisfy the general test for copyrightability.. they are expressed in “words, numbers, or other verbal or numerical symbols

It is common knowledge that mathematical formulae & equations, which are also expressed in words, numbers, and symbols, do not have copyright protection.

> Copyright protection is therefore not available for... mathematical principles; formulas or algorithms

https://www.copyright.gov/circs/circ31.pdf

> public static int MaxNum (int x, int y, int z)

This is literally a mathematical formula, hence does not have copyright protection.

reactspa4/5/2021, 2:41:32 PM points
Even if it were computer code, I think the Majority argued that use of 0.4 percent of the code can be considered Fair Use. In films, textbooks, etc., I think (though I'm not certain) there's precedent that up to 5% of the product can be reproduced (copied) under Fair Use, for criticism, academic analysis, etc.
raldi4/5/2021, 3:26:10 PM points
By the quoted logic, any data file (say, an image) would be considered a computer program.
1980phipsi4/5/2021, 3:34:56 PM points
Agreed. I read the dissent, but not all of the majority. Do they address this point?
pseudo04/5/2021, 3:37:34 PM points
> Thomas seems confused here. An API (declaring code) is not a computer program. A computer cannot execute declaring code - by definition - because it is missing the implementation.

This standard doesn't really make sense, and the legal standard says nothing about executability. What about programs with external dependencies, or a code snippet? Those won't necessarily be executable in a self-contained sandbox, but I'd certainly consider them computer programs.

Also, per Thomas's dissent:

> The majority also belittles declaring code by suggesting it is simply away to organize implementing code. Not so. Declaring code defines subprograms of implementing code, including by controlling what inputs they can process. Similarly, the majority is wrong to suggest that the purpose of declaring code is to connect pre-existing method calls to implementing code. Declaring code creates the method calls.

He clearly has a much better understanding of APIs than some software engineers I've worked with.

sleepydog4/5/2021, 3:46:03 PM points
I also took issue with that argument. I suppose you could argue that the declarations are statements for the compiler or JVM. But even then, there is a layer of translation that is problematic, in my opinion. If you were to say that

public int max(int x, int y);

Is a program that tells a compiler or VM to add an entry to its public symbol table that allows it to compile or execute third-party code utilizing this function, and that the declaration, by itself, then qualified as a computer program and could be copyrighted, where would you draw a limit? Would two different programs that produce identical assembly instructions infringe on each other's copyright?

What about system calls for an OS? For example, Linux system calls have names, but they also have numeric identifiers. If someone copied Linux system call names in a new BSD-licensed OS, would they violate the GPL? What if they only copied the numbers?

It's interesting to think about. I'm glad this was the minority opinion.

chaostheory4/5/2021, 4:21:17 PM points
> Thomas seems confused here. An API (declaring code) is not a computer program. A computer cannot execute declaring code - by definition - because it is missing the implementation.

Yup, for all intents and purposes an API is just a data exchange contract between different software.

tzs4/5/2021, 6:00:52 PM points
Thomas may have phrased it badly, but his underlying point that declaring code in a program satisfies the 17 USC 101 definition of "computer program" seems sound.

Declaring code in statement based languages is (1) a set of statements, is (2) used directly or indirectly in a computer, and it is used (3) to bring about a certain result. That hits all the points listed in 17 USC 101.

This is trivial to prove. Take a program that works and remove the declaring code. The program no longer works. That shows that the declaring code is indeed being used by the computer, and it is being used to bring about a certain result.

That the declaring code is not directly used in actually calling the API is irrelevant. The "certain result" the declaring code is used to bring about is the compiler producing output that works with the API.

andomar4/5/2021, 7:54:56 PM points
Agreed. In another part the dissent says: "The Copyright Act protects code that operates “in a computer in order to bring about a certain result” both “directly” (implementing code) and “indirectly” (declaring code)."

But a program that only declares functions never brings about a result.

Declaring code is just the recipe for how to invoke implementing code.

waterheater4/5/2021, 8:41:50 PM points
>A computer cannot execute declaring code - by definition - because it is missing the implementation.

If you allow null pointer references to a declared variable, then it certainly can.

>Declaring code does not "indirectly perform computer functions". Declaring code does not perform anything. It provides a reference, nothing more, for a compiler to match one computer program (the API client) to another (the API implementation).

I strongly disagree. We understand the obvious difference between declaration and instantiation, as declaration brings a variable into existence while instantiation specifies the variable's value. Declaring a variable is ultimately based upon available language primitives.

Whether or not he realized it, Thomas draws out a deep philosophical element of computing. Consider the creation of a self-hosting compiler. Once created, this compiler has an identity. However, creating this compiler required the usage of other software tools, each of which have distinct identities. Once the compiler operates, its creating tools become unnecessary to it, as the compiler operates independently (though the broader system may not). His phrase "triggering prewritten implementing code" has full-stack implications, whereas the majority opinion considers scope.

To connect to hierarchical processing model of programming, the majority opinion says a top-level processing block is special, whereas Thomas says no processing block differs from one another.

From a business perspective, I agree with the majority. From a philosophical perspective, I agree with Thomas.

jxf4/5/2021, 2:29:21 PM points
While the result is a big relief, I think it's not as decisive as I'm noticing some headlines (and commenters) are claiming.

One of the big open questions is "are APIs copyrightable?" The court skirted that question, and instead focused on whether it was fair use:

> To decide no more than is necessary to resolve this case, the Court assumes for argument’s sake that the copied lines can be copyrighted, and focuses on whether Google’s use of those lines was a “fair use.”

That said, this case does establish a precedent that if your copying of an API is primarily for purposes of matching an interface so that developers can reimplement it, you're in fair use territory:

> 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.

I'll count that as a win, on balance.

kyrra4/5/2021, 2:32:40 PM points
Thomas's dissent explicitly points this out. Without diving into "are APIs copyrightable?", the majority are skipping what should have been evaluated first before saying if they were fair-use or not.
pdoconnell4/5/2021, 2:44:10 PM points
In general the court seems to try to go to the easiest decision point in a case. The copyrightability of an API is less relevant if the user being sued should win regardless because of fair use. This is better than a plurality decision where there's multiple reasonings on API copywrite that make future decisions difficult. Here at least the court gives guidance on how to think about evaluating fair use in this context, which lower courts can apply.
jcranmer4/5/2021, 3:05:21 PM points
I noticed that comment too early on. Breyer's opinion comes pretty close to saying "it's at best 'thin copyright'" but the fact that it's explicitly disclaimed makes me think that this is to some extent a compromise position: rather than arguing about whether SSO is copyrightable and risk a bigger split, just concede it because the fair use is sufficient here.
marcosdumay4/5/2021, 3:31:14 PM points
> That said, this case does establish a precedent that if your copying of an API is primarily for purposes of matching an interface so that developers can reimplement it, you're in fair use territory

Well, if you can an API for any primary purpose that not making software compatible with the one you are copying, then it's not really an API. It's perfectly fine if you can't frame it and sell around as a painting.

shadowgovt4/5/2021, 3:56:06 PM points
I'm not sure why it's claimed they skirted the question... If I understand correctly, the Court answered the question when they issued bench instructions that APIs were to be considered copyrightable.

Is the difference that there's no SCOTUS precedent on the issue because it wasn't addressed in this case? Because (IANAL but) I'd assume the bench direction is itself precedent... In that if another circuit court tried to run a case as if the question was in the open, the Court would again ruler-slap them and say "No, assume APIs are copyrightable, plain language of the law."

jhanschoo4/5/2021, 3:57:11 PM points
> That said, this case does establish a precedent that if your copying of an API is primarily for purposes of matching an interface so that developers can reimplement it, you're in fair use territory:

>> 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.

It's even weaker than you think. It was important that Google's use of Java's API was on a non-competing product. It's still quite up in the air what happens if you provide a generic library using your competitor's API without licensing it from them.

pfdietz4/5/2021, 4:49:36 PM points
Making APIs copyrightable is a GOOD thing. It means they aren't patentable.
iamcreasy4/5/2021, 4:54:49 PM points
I suppose Supreme court decision over this matter sets precedence for any future cases.
fnordprefect4/5/2021, 6:20:44 PM points

  One of the big open questions is "are APIs copyrightable?" 
The Australian equivalent to the US Supreme Court considered this over 20 years ago, and imho got the correct result (not copyrightable): http://www.austlii.edu.au/cgi-bin/viewdoc/au/cases/cth/HCA/1...

IMHO they got the Huffman table wrong, although arguably it was the result compelled by an overprotective approach.

btilly4/5/2021, 6:32:36 PM points
While the result is a big relief, I think it's not as decisive as I'm noticing some headlines (and commenters) are claiming.

It is even less decisive than you're saying.

The fact that the Supreme Court decided not to overturn the decision of the Court of Appeals for the Federal Circuit that APIs are copyrightable means that binding precedent on every court except the Supreme is that they are. And for fair use, one of the statutory factors is the "effect" of the copying on the "market for or value of the copyrighted work."

That said, this case does establish a precedent that if your copying of an API is primarily for purposes of matching an interface so that developers can reimplement it, you're in fair use territory:

The fact that one statutory factor points one way doesn't stop another from pointing the other. And part of their decision is the conclusion that Google's copying increased the value of Java. That will generally not be true when APIs get copied.

In particular if I am trying to create a product that competes with yours, and I copy your API for the purpose of interoperability, I'm going to have an uphill battle claiming fair use. Because my product directly reduces the market for your product.

To name some historically important examples, Microsoft copied the APIs for JavaScript from Netscape, Microsoft copied APIs from Lotus 1-2-3 for Excel, and Wine copied APIs from Windows for Linux. The outcomes famously were that Netscape went out of business, Lotus 1-2-3 was discontinued, and Linux became somewhat more viable.

hyperpallium24/5/2021, 6:54:36 PM points
Always seemed crazy to me that interoperability was ever in doubt.

Copyright in a private, internal API seems reasonable in principle.

RIP kotlin-first on android?

anonymouse0084/5/2021, 8:34:15 PM points
> 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.

I'm waiting for an ambitious attorney to figure out how to frame this as poaching talent from an ecosystem to bring to another.

bobbyi_settv4/5/2021, 8:50:25 PM points
> One of the big open questions is "are APIs copyrightable?" The court skirted that question, and instead focused on whether it was fair use:

Doesn't deciding that it's fair use specifically mean that they think it is copyrightable? The fair use doctrine specifically refers to the use of copyrighted material.

grumple4/5/2021, 9:04:17 PM points
I think the focus on fair use is even better. It means that EVEN IF you can copyright the API, it doesn't matter because others can reimplement it. So not only can corps not stop that, but courts might rule later that the copyrights are totally invalid.
TeeMassive4/6/2021, 1:21:42 AM points
> One of the big open questions is "are APIs copyrightable?" The court skirted that question, and instead focused on whether it was fair use

Also what people fails to realize with fair use is that it is up to the defendant raise a fair use defense and then a judge has to approve of that defense as a valid one (Viva Frei explains this https://youtu.be/AzQz1LrjCWk?t=253 ).Meaning Oracle can still go on with its lawfare campaign against those who made the mistake of basing their tech on theirs.

Abishek_Muthian4/6/2021, 5:10:08 AM points
Not from U.S. Would the discussions, consultations between the judges and the independent subject matter experts be published? Surely there must have been such extensive discussions right? Or is the judgement based upon the subject matter experts presented as witness from both sides themselves?

I'm intrigued by how judgements are passed in such intricate technical matters.

smokey_circles4/6/2021, 7:25:08 AM points
>The court skirted that question, and instead focused on whether it was fair use

Because the federal courts already ruled that APIs are eligible for copyright [0].

Google wanted to overturn the ruling that they were in violation of copyright and argued they used Java's APIs fairly under copyright law.

The court will not answer questions not put to it, and Google (I presume) felt they had a better shot at getting the court to agree it was fair usage, rather than arguing copyright should not apply here.

0: https://www.paleudislaw.com/federal-circuit-rules-that-apis-...

_the_inflator4/6/2021, 12:01:32 PM points
Exactly. Coming from law, sometimes like in this case, some topics can be left undecided, if it does not change the result. Even if the code could have been copyrighted, it would still be considered fair use.

Translated into developers speech: this is some sort of early return. ;)

Crontab4/5/2021, 2:29:06 PM points
Thank goodness.
marcodiego4/5/2021, 2:25:18 PM points
Great! This could open a very dangerous precedent.

Time to end this one now: https://news.ycombinator.com/item?id=26692575

curt154/5/2021, 2:25:18 PM points
"The record also showed that Java SE’s copyright holder would benefit from the reimplementation of its interface into a different market....the jury also heard evidence that Sun foresaw a benefit from the broader use of the Java programming language in a new platform like Android, as it would further expand the network of Java-trained programmers...and because there are two markets at issue, programmers learning the Java language to work in one market (smartphones) are then able to bring those talents to the other market (laptops)."

The benefits of reimplementing APIs always flow both ways. I'm glad SCOTUS recognised this point.

kaba04/5/2021, 3:14:14 PM points
Except that Android is a fkup of “Java” that is so old that repositories have to create an android and a normal version. Kotlin spread into android development pretty much because android java is so bad.

That is exactly what was the “damage” Oracle sued for.

javajosh4/5/2021, 2:23:04 PM points
Does anyone have a good estimate of what this case cost Oracle and Google, especially in terms of legal fees, and where that money went ultimately?
pm904/5/2021, 2:32:41 PM points
The money goes into lawyers fees.

Because of the way this decision went, I’m sure Google considers it a worthy investment and Oracle considers it a temporary setback as it pursues other extortion schemes using Sun’s Patents. I wouldn’t be surprised if they have a specific division of lawyers dedicated to finding novel ways of extorting wealth using Patents; this would likely just be one of the cases they were working on.

Come to think of it, from Oracles perspective it was definitely worth a shot, to throw a few millions (if that?) with a chance of winning billions.

dkjaudyeqooe4/5/2021, 3:06:09 PM points
I don't know, but it was money well spent and we should thank them for causing this important point of law to be clarified.
thesuperbigfrog4/5/2021, 2:22:13 PM points
Had the ruling gone in Oracle's favor I can imagine some greedy company trying to procedurally-generate every API and copyright them all similar to this project which tried to copyright all musical melodies:

https://www.independent.co.uk/life-style/gadgets-and-tech/ne...

In the case of the music project, it was for the protection of the community, but I can imagine such a system being used selfishly for software APIs.

luckylion4/5/2021, 2:46:01 PM points
Can you copyright generated things? You probably could copyright the way you're generating it, but I doubt you have a legal standing about the generated text or melody itself.
Natanael_L4/5/2021, 3:07:41 PM points
Independent copyright when a work was independently created is a thing in most jurisdictions, as copyright covers copying and is not like patents in that regard.

However, that would indeed require a ton more work to prove that you did not copy any of the generated work and truly did create yours by yourself.

asien4/5/2021, 4:04:24 PM points
> Had the ruling gone in Oracle's favor I can imagine some greedy company trying to procedurally-generate every API and copyright them all

It would have officially mean businesses and the US governments are locked by vendors and have no right to copy API in order to provide compatibility towards other systems.

Making « VendorLocking » legally valid in favor of the vendor.

Not gonna lie I was scared by the outcome of that judgement and the catastrophic defense of Google.

I’m now relieved !

f-serif4/5/2021, 2:21:43 PM points
I don't understand why people uses such stupid font style -_-
jraph4/5/2021, 2:52:36 PM points
uBlock origin has a convenient font blocker, for what is worth. Saves many kilobytes, and readability.
_Microft4/5/2021, 2:21:02 PM points
Is this a final judgement? Is it over now?
thedevelopnik4/5/2021, 2:30:31 PM points
Yes. There is no appellate court above the Supreme Court. The only way things could change now is if Congress/President passed a new law, and I don’t think API copyrights are near the top of the list.
nikanj4/5/2021, 2:49:22 PM points
Time for Oracle to pull out the Sun patent portfolio and start over.
imadethis4/5/2021, 2:20:28 PM points
Page 44 has Thomas’s dissent with Alito concurring. Worth a read as well, even just to see the opposing arguments.
shirleyquirk4/5/2021, 2:53:05 PM points
Designing an API is a creative work not unlike that of an architect, I see the merit in the dissent pointing out, e.g "there may have been only one way for Google to copy the lines of declaring code, but there were innumerable ways for Oracle to write them. Certainly, Apple and Microsoft managed to create their own declaring code."
jblz4/5/2021, 2:20:04 PM points
From the dissent: "In the 1990s, Oracle created a programming language called Java..."

Sun Microsystems was acquired in 2010... I guess I should give Thomas the benefit of the doubt that he intended the statement to apply to Oracle's owned IP & not be a historical account of the language's creation and creators, but this rubbed me the wrong way.

jakewalker4/5/2021, 2:24:58 PM points
He addresses this in footnote 1 on the same page, though. "A different company, Sun, created the library. But because Oracle later purchased Sun, for simplicity I refer to both companies as Oracle."
zzleeper4/5/2021, 2:25:35 PM points
Not surprised at all the Thomas and Alito are in that dissent..
Sindisil4/5/2021, 2:34:15 PM points
Also from the first page of the dissent: "A different company, Sun, created the library. But because Oracle later purchased Sun, for simplicity I refer to both companies as Oracle."
BoDlulu4/5/2021, 2:54:30 PM points
I mean, Android was acquired by Google as well.
curt154/5/2021, 2:19:07 PM points
"(e) The fact that computer programs are primarily functional makes it difficult to apply traditional copyright concepts in that technological world."

So the opinion effectively preserves the status quo in the software industry while sidestepping the question of API copyrightability.

mindcrime4/5/2021, 2:22:50 PM points
True, but it's such a strong precedent in favor of copying API's being "fair use" that it at least partly moots the more general question of "are API's copyrightable in the first place." I think this was a good decision all in all. AIUI, the SCOTUS try to limit the scope of their decisions as much as possible, to avoid over-generalization.
Finnucane4/5/2021, 2:38:27 PM points
Was the question of API copyrightability even raised before the court? I'd guess Google didn't think it was in their interest to go that far.
ve554/5/2021, 2:19:05 PM points
I had forgotten about this for quite awhile, given the pace at which these cases operate at.

The great sigh of relief I was unexpectedly gifted this morning upon seeing this at #1 was a nice surprise. Very important precedent, good job.

Bluecobra4/5/2021, 2:18:32 PM points
I am glad Oracle didn't win. It seems to me that they bought Sun just to sue Google. I'm still bitter over for how they destroyed Sun... it's a shame that they didn't have a better steward.
The_rationalist4/5/2021, 2:22:11 PM points
Oracle is making a lot of innovation in openjdk and graalvm. They have much better engineers than if e.g Google had bought sun.
kasperni4/5/2021, 2:25:37 PM points
Sun drove themself into the ground. And at least in the Java world they have been excellent stewards. The platform is moving forward again.
abhv4/5/2021, 2:17:45 PM points
Which of Breyer's clerks drafted this? They clearly understand many tech issues and I hope they find their place on some Federal circuit to herald an era of logic in tech law.

"Google’s limited copying of the API is a transformative use. Google copied only what was needed to allow programmers to work in a different computing environment without discarding a portion of a familiar programming language. Google’s purpose was to create a different task-related system for a different computing environment (smartphones) and to create a platform—the Android platform—that would help achieve and popularize that objective. "

...

"Here the record showed that Google’s new smartphone platform is not a market substitute for Java SE."

...

"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. "

...

"the Court concludes that Google’s copying of the API to reimplement a user interface, taking only what was needed to allow users to put their accrued talents to work in a new and transformative program, constituted a fair use of that material as a matter of law. "

ethbr04/5/2021, 2:23:33 PM points
"Held: Google’s copying of the Java SE API, which included only those lines of code that were needed to allow programmers to put their accrued talents to work in a new and transformative program, was a fair use of that material as a matter of law."

If the un-italicized is the new test, that's probably the most reasonable thing I'm going to read this month. And it's only the 5th.

abhv4/5/2021, 2:32:49 PM points
UPDATE: based on Wikipedia [1], the "API" was likely saved by one of these people (all likely in their mid-20s!):

Emily Barnet, 2020, Yale (2015)

Diana Li Kim, 2020, Yale (2017)

Arjun Ramamurti, 2020, Yale (2018)

Daniel Richardson, 2020, Virginia (2018)

Brittany Jones-Record, 2020, Stanford (2016)

David Scott Louk, 2020, Yale (2015)

Elizabeth B. Deutsch, 2021, Yale (2016)

Joel F. Wacks, 2021, Chicago (2018)

[1] https://en.wikipedia.org/wiki/List_of_law_clerks_of_the_Supr...

lillecarl4/5/2021, 3:15:11 PM points
"Here the record showed that Google’s new smartphone platform is not a market substitute for Java SE."

Does this mean that companies copying the S3 API as a substitute for S3 are still untested territory?

jmull4/5/2021, 3:22:46 PM points
Why do you think Breyer and the other assenting justices wouldn't be able to come to this kind of decision without a clerk taking the lead?
datavirtue4/5/2021, 3:35:39 PM points
"Here the record showed that Google’s new smartphone platform is not a market substitute for Java SE."

Well that nukes it. The courts took how long to identify this precedented principle? It seems like the rest of the opinion is just there to ward off more of this tomfoolery for people that don't get it.

gyc4/5/2021, 4:16:55 PM points
> Which of Breyer's clerks drafted this? They clearly understand many tech issues and I hope they find their place on some Federal circuit to herald an era of logic in tech law.

Breyer also has a brother who was a District Court judge in the SF Bay Area who's undoubtedly had to deal with various tech cases. Not saying there's any kind of shared knowledge of tech within the Breyer family but just kind of interesting.

spullara4/5/2021, 4:42:01 PM points
How much precedence does this carry for other cases or does each instance of "fair use" need to be evaluated by the Supreme Court before we know if it was legal?
schneidmaster4/5/2021, 6:32:15 PM points
Breyer has actually been writing on these issues for quite some time; see for example his article "The Uneasy Case for Copyright: A Study of Copyright in Books, Photocopies, and Computer Programs" [0] -- published in the Harvard Law Review in 1970. His overall body of work demonstrates a pretty good understanding of the underlying technical issues, and he has been a reliable ally on the bench in this area.

[0]: https://www.jstor.org/stable/1339714?seq=1

samgranieri4/5/2021, 2:17:36 PM points
Thank God.
mycall4/5/2021, 2:17:01 PM points
> Computer programs differ to some extent from many other copyrightable works because computer programs always serve a functional purpose.

So a computer program instructs processors to do things while books do not necessarily instruct neurons to do things. This seems like a leap. I could write a book with NOP for every word or I could write a program with NOP loops. Are these really instruction to do things? Like so, books do instruct people (aka knowledge).

HumblyTossed4/5/2021, 2:24:45 PM points
Yes a NOP is an instruction to do something. It tells the cpu to not change state for a period of time equal to how long it takes to execute the NOP.
mindcrime4/5/2021, 2:17:00 PM points
This appears to be the "money quote":

We reach the conclusion that in this case, where Google reimplemented a user interface, taking only what was needed to allow users to put their accrued talents to work in a new and transformative program, Google’s copying of the Sun Java API was a fair use of that material as a matter of law.

Also, while I hate to just repeat things that have already been said, I feel compelled to say

"What a relief!"

because this would have been a complete disaster if they had gotten this decision wrong. In fact, I'm not sure "complete disaster" is a strong enough phrase to reflect what it would have meant for the software industry if this had come down the other way. So getting this looming disaster out of the way is a tremendous relief.

BoorishBears4/5/2021, 2:23:59 PM points
I'm glad for the verdict but this is such bullshit.

Google implemented exactly enough to create the illusion of letting people use their Java talents then dragged their feet with a half broken out-of-date language environment.

And they did all this to save money, not some sort of noble rebellion or clever hack.

> Sun offered a licensing deal of between US$30 and 50 million. Schmidt said Google would have paid for that license, but they were concerned that Sun had also requested some shared control of Android along with the fee.

A pittance for Google but that vague "some control" sounds really bad right? Well fortunately there's a history here and we know from past licensing deals (J++) this control is enforcing interoperability with other Java implementation. And of course Oracle spells that out pretty easily:

> Oracle states that Sun refused because Google’s intention was essentially to fork Java to a Google version of the language, and to prevent it being inter-operable with other versions, an idea which was “anathema” to the “write once run anywhere” basis of the language.

Google got a cheap license and the only stipulation was "don't fuck up the Java ecosystem by having your OS run Java-but-not-really" but that was too much for them and exactly what they ended up doing!

I don't know why people are acting like this is some victory of open source. Maybe a victory for open source, but championed by a greedy corporation that fragmented the Java ecosystem for years.

I wish Oracle could have taken another angle here, they deserved damages from Google for this. Google literally pulled a J++ and got away with it.

qalmakka4/5/2021, 2:15:58 PM points
This is one of the most important legal decisions in the history of software. The US Supreme Court has basically just saved the whole software industry (and FOSS projects) from being wrecked by patent trolls.
jahnu4/5/2021, 2:16:49 PM points
At least in the US
pwg4/5/2021, 2:50:30 PM points
s/patent trolls/copyright trolls/

This case involved copyright, not patents. Copyrights are separate from patents.

xforeigner4/5/2021, 2:50:54 PM points
Good, now can we get a ruling that prevents Google, RedHat, Microsoft and others from wrecking FLOSS projects with their stifling influence?

Or prevent them from eradicating competing or even original projects by doing hostile rewrites or forks?

kaba04/5/2021, 2:53:03 PM points
Why? It wasn’t about whether APIs are under copyright (they are), but whether this particular case constitutes fair use. I think the effect of this decision was way overblown.
hajile4/5/2021, 2:58:19 PM points
I’d make the case that it instead saved closed source coding.

Open source code is still usually copyrighted. Nobody would trust closed languages and APIs unless they paid a fortune for them while open source with a grant would be safe to use.

dehrmann4/5/2021, 4:06:59 PM points
I assume this means that Amazon can ignore the Elastic and Mongo licenses when building compatible implementations?
ISL4/5/2021, 4:10:58 PM points
It is going to open a big door for people who reimplement APIs.

In particular, social-media aggregators (one app to display your Twitter, FB, Instagram, etc.) may have new protections.

adolph4/5/2021, 4:33:48 PM points
To be pedantic, this part of the case is about copyright law, not patent.

https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_....

The first phase of the case lasted from 2010 to 2015. Oracle successfully established that APIs are copyrightable, but their claims of patent infringement were rejected. Google petitioned the Supreme Court in October 2014 to review the case, but this was denied. A second petition by Google in January 2019 included the judgement that APIs are copyrightable. The Supreme Court agreed to review this part of the judgment in November 2019.

To the degree that SCOTUS has found that an API can be copyrighted, there is still room for copyright trolls to operate.

pjfin1234/5/2021, 2:15:28 PM points
Yay!
andrewflnr4/5/2021, 2:15:12 PM points
Oh, I forgot this little apocalypse was hanging over our heads. It's good to see some sanity.
caf4/5/2021, 2:30:10 PM points
This made me wonder what gender 'apocalypse' has in French (feminine, it seems - la petit apocalypse),
gonzo414/5/2021, 2:33:53 PM points
And it's kinda nice to see it come to an end. I wonder if both google and oracle are looking at the bills from their lawyers and thinking about it like the destruction at the somme.

It's great for software, it'll be an interesting documentary someday. And congratulations to all the lawyers for making a ton of money.

clankyclanker4/5/2021, 3:00:44 PM points
I’m just grateful this decision didn’t come out 4 months ago. It would’ve gone the way of 2020, somehow.
epaga4/5/2021, 2:15:00 PM points
"The doctrine of “fair use” is flexible and takes account of changes in technology. Computer programs differ to some extent from many other copyrightable works because computer programs always serve a functional purpose. Because of these differences, fair use has an important role to play for computer programs by providing a context-based check that keeps the copyright monopoly afforded to computer programs within its lawful bounds."

This is EXCELLENT news for anyone in software development. Yay for Fair Use.

jawns4/5/2021, 7:38:32 PM points
> computer programs always serve a functional purpose

The Court is apparently not familiar with much of my code :)

The_rationalist4/5/2021, 2:15:00 PM points
Now can they please use a modern jdk on Android? It's about time
quotemstr4/5/2021, 2:26:22 PM points
They are using a modern JDK on Android. The standard library is literally OpenJDK, and the runtime is the excellent ART JVM, which has super-fast GC and tons of mobile-specific optimizations (like zygote space support and switching to a different GC when the app goes into the background). IMHO, you really don't want HotSpot on mobile. ART is good work.
teruakohatu4/5/2021, 2:14:19 PM points
> "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.

oconnor6634/5/2021, 2:22:48 PM points
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.
reactspa4/5/2021, 2:36:06 PM points
It is fascinating that code is now being measured quantitatively. Number of "lines of code".
dmitryminkovsky4/5/2021, 3:07:45 PM points
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.

hammock4/5/2021, 3:34:07 PM points
So if I copy the entire A volume of Encyclopedia Britannica, but leave B-Z alone, I'm good?
zucker424/5/2021, 4:01:04 PM points
It's also good that Breyer wrote this opinion, given that he was one of the two judges who dissented in Eldred v. Ashcroft almost 20 years ago[1]. Lessig called that opinion "perhaps the best opinion [Breyer] has ever written"[2] in his retrospective on the case.

[1] https://en.wikipedia.org/wiki/Eldred_v._Ashcroft

[2] https://www.legalaffairs.org/issues/March-April-2004/story_l...

LogicUpgrade4/5/2021, 4:06:19 PM points
> "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.

This judgment is the equivalent of someone taking a movie script, shooting a new movie out of it without changing a word, and the court declaring this "fair use" of the script.

Software development wouldn't have turned into a nightmare unless you decide to steal a platform. Which most people don't need to do in order to do their work.

nullifidian4/5/2021, 4:13:57 PM points
An alternative take, which I'm sure won't be popular, is that now, with an interpretation taken to the extreme, a megаcorporation can basically steal your (let's say a small startup's) platform (in case you refuse to sell it for ethical or some other reasons), by re-implementing it and investing much more resources which you don't have, to make it more attractive to customers.

I'm ok with either decision, but, depending on how this precedent going to be interpreted, it could have far reaching consequences, maybe unintentional/undesired ones too.

outsomnia4/5/2021, 4:17:22 PM points
Yes... Sanity prevailed, no thanks at all to SCOracle.
matheusmoreira4/5/2021, 4:18:54 PM points
> 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.

Also known as compatibility and interoperability. I'm so happy to see that judges understand their importance.

mayank4/5/2021, 4:35:56 PM points
> This judgment could have had devastating consequences and turned software development into a copyright nightmare.

It’d sure have made the practice of taking someone else’s API and re-implementing the innards a lot more interesting:

https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/s3co...

temp-dude-878444/5/2021, 4:44:44 PM points
I wouldn't celebrate a victory yet. As is often the case, the court's choice of tests simply will serve as a blueprint for others on how to avoid themselves being caught in the same kind of result.

Based on this court decision, it's apparently fair use to lift someone else's API and use it to jumpstart programmer familiarity with your product, if the author of the API previously tried to achieve success in that narrowly-construed, retroactively-interpreted exact same market segment and wasn't very successful.

I see a few things coming out of this. IP holder companies will become even more common: they will be used to hold copyright to one API and license it out to customers -- including independent companies that you would currently recognize as part of the same platform.

But because the IP holder does not provide an implementation and therefore does not 'compete' in a market segment, any unlicensed use of it is necessarily infringing: there's no innate functionality with which one can interoperate under the doctrine of fair use.

lumost4/5/2021, 4:46:32 PM points
Can't this argument be used to copy the x86 interface and avoid paying license fees to either Intel or ARM for the instruction set?
d3ntb3ev1l4/5/2021, 4:50:55 PM points
So if Java had just bloated their code and those apis code footprint represented a larger % of the overall they’d be guilty? Or if Java trimmed a bunch of non essential packages into modules/extensions Google would be guilty

It seems to me the judge is saying, “the house was full of 10 tons of jewelry but the robbers only took 10 pounds so that isn’t really stealing lol “

burnte4/5/2021, 5:31:37 PM points
Read Thomas' dissent, it'sabsolutely insane. He says how those 11k lines are basically 97.5% of Java's entire usefulness, and billions of dollars of value to Oracle from an Amazon deal. Absurdity.
anonytrary4/6/2021, 4:28:28 AM points
Yeah it sounds like they were being sued over building a compatibility layer. That's nuts. Good thing the right decision was made :)
esarbe4/5/2021, 2:13:09 PM points
I'm so relieved. This could have forced such dramatic changes in how we develop software. And any other decision would have been a crippling blow to FLOS software.

Now if we only could get the SC to invalidate software patents in general.

ocdtrekkie4/5/2021, 2:18:24 PM points
This is a large scale defeat of the GPL and dual licensing, so I'm not sure how this could be anything but a sad day for sustainable open source development.

If you're big enough and have enough lawyers, there's no reason to license software you want to build on.

tyingq4/5/2021, 2:12:36 PM points
The HN discussion from 2016 (Jury finds for Google): https://news.ycombinator.com/item?id=11781053

From 2018 (Oracle revives matter via appeal): https://news.ycombinator.com/item?id=16688521

Edit: Fixed, had written "Jury finds for Oracle", which was NOT what happened in 2016. Argh.

politelemon4/5/2021, 2:16:36 PM points
I'm unfamiliar with the legal system (judicial system?). I had thought that the jury's findings were final. Am I understanding correctly that the case still went to the Supreme Court of the US, and now that court finds in favor of Google.

What happens after this, more appeals or is this like a proper static const readonly final?

caf4/5/2021, 2:23:41 PM points
As both that thread title and the Supreme Court opinion say, the jury found in favour of Google.

They were then overruled by the Federal Court, which has now in turn been overruled by the Supremes.

whatshisface4/5/2021, 2:11:52 PM points
Google's an LLC?
gjsman-10004/5/2021, 2:12:30 PM points
After a restructuring, Google is an LLC owned by Alphabet Inc. (the publicly listed organization).
gjsman-10004/5/2021, 2:11:27 PM points
Oh my God. What a relief.
mrkstu4/5/2021, 2:16:05 PM points
Yep. This case was an existential threat to multitudes of industries and the assumptions they were built on.

The weird thing is it would of hurt Oracle as much as anyone. I have no clue how anyone w/any technical merit didn't understand that this was a footgun of the largest possible magnitude for them.