Live data from Hacker News

Oracle bans AI-generated code from OpenJDK

app.dealroom.co

101–110 of 397 posts

Re: Oracle bans AI-generated code from OpenJDK

#101
post #84

While the Oracle hate boils, Zig, Rust,... aren't much different. There is also the approach of Microsoft putting AI all over the place on .NET, and CoPilot driven development all over the place.

The Oracle antipathy is less about the policy itself and more about the apparent hypocrisy of hyping and funding these tools as "solving programming" and then forbidding their use on their own open source project.

Re: Oracle bans AI-generated code from OpenJDK

#103

Hilarious thing is, if I want a JDK, I'll ask Fable to write one, get Sol to review it and write tests for it, and it will be working by Monday morning. No need to get permission or anything else from Oracle. Building a complex product from many smaller, individually-testable components is exactly what LLMs are good at, and a Java SDK certainly qualifies. And if I run out of tokens, well, that's OK too. K3 running on…

Please do this. I would love to see this timeline actually hold true. Production quality is the bar though. Not something that only works in a very narrow set of circumstances with a ton of caveats.

Re: Oracle bans AI-generated code from OpenJDK

#104

How does all this AI generated code blocking gappen? Does a human decide that or an AI is tasked with sequencing that PR's DNA to ascertain its possible inhuman origins? What if someone generates code with AI and then goes into the IDE and then bathes it, dresses it (including adding comments) etc, in a way a human would? What then? No, here I am not exploring a way to fool the code DNA checking, but rather trying to…

The FAQ addresses these questions: https://openjdk.org/legal/ai

Re: Oracle bans AI-generated code from OpenJDK

#106

How could we know whether incoming code is AI generated or not? are there tools for this?

First thought I had too. I deliberately strip AI metadata from my PRs in certain orgs.

Why not just write the code yourself? You sound like an addict hiding their use from their friends and family.

Re: Oracle bans AI-generated code from OpenJDK

#107
post #99

Hilarious thing is, if I want a JDK, I'll ask Fable to write one, get Sol to review it and write tests for it, and it will be working by Monday morning. No need to get permission or anything else from Oracle. Building a complex product from many smaller, individually-testable components is exactly what LLMs are good at, and a Java SDK certainly qualifies. And if I run out of tokens, well, that's OK too. K3 running on…

If I want a JDK, I'll ask my package manager to download and install one, and it will be working a minute later. Why would you want to wait another week for something that already exists?

Excellent point. Why, indeed.

Re: Oracle bans AI-generated code from OpenJDK

#108

Earlier quoted context omitted.

Not even a conspiracy theory. Just the most likely explanation.

It’s been established that LLM-generated code is not copyrighted so I can fully understand the company living from copyrighted data to not accept LLM-generated contributions.

> It’s been established that LLM-generated code is not copyrighted

If that's a reference to Thaler v. Perlmutter, the only thing that's been established is that an LLM can't be considered an author under the Copyright Act, only a human being can. It says nothing about the consequences of a human claiming authorship of LLM-generated code, which would be relevant here.

Re: Oracle bans AI-generated code from OpenJDK

#109

So contributions to OpenJDK have to be hand-written, while internally, Oracle uses AI generated code... I guess the logic is that employees who use AI generated code (theoretically) review their code better? The whole thing still seems a little strange.

No, their internal PRs have the same problem, but they are pushing an AI narrative from the c-suite and can hide the reality of their private code bases. The "limited ROI on AI investment" articles will continue to percolate slowly into the brains of the LinkedIn hive-mind until we hit a tipping point, and then we'll finally shut up about how a handy dev tool with some decent use-cases is the dawning of the singulari…

Out of curiosity, do you use frontier AI dev tools on a daily basis professionally?

Re: Oracle bans AI-generated code from OpenJDK

#110

Policies like this will result in the death of the branded software. As we move forward it will be easier than ever to just maintain and keep your fork of software with the changes you want or need. No more approval, bureaucracy, or arguing. Just tell the AI agent want you want changed and you have it. This will be used for huge things too. Like maybe you want a specific fork of Java that only supports for each itera…

I have my doubts about this. Brands are a about reputation, and reputation strongly affects responsibility when business decisions are made. If a manager decides to vibecode a solution which eventually fails, said manager will be punished. If instead a mainstream software is bought, and it fails - well, everybody has the same trouble around, right? It's not a personal mistake anymore. I suppose there are niches where branded software may give way, but I don't think it's gonna be a general trend.
Post reply on HN