Top
Best
New

Posted by delduca 12 hours ago

Oracle bans AI-generated code from OpenJDK(app.dealroom.co)
431 points | 291 commentspage 3
pjmlp 11 hours ago|
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.

zaphar 11 hours ago|
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.
pjmlp 19 minutes ago||
You mean like Microsoft also putting a break on their AI usage, which was going crazy?
exabrial 7 hours ago||
https://openjdk.org/legal/ai

I don't think this is as big of news as it needs to be. The explanations are from a risk-management perspective.

mikmoila 8 hours ago||
https://openjdk.org/legal/ai

Shitposting, the reasons are very clear and explicit: The risks of having legal problems are very clear.

Google for example GEMA vs. OpenAI.

xtajv 4 hours ago||
This is a friendly reminder from a grouchy old fart that

1. You are the engineer of record on all of your commits.

2. As the engineer of record, you have a certain duty of care with regards to code quality.

3. If you are not signing your commits, you are not providing reasonable provenance and instead tossing your name around in a way that anyone can replicate with impunity.

luciana1u 6 hours ago||
Oracle bans AI code from OpenJDK but I'm fairly sure the release notes have been written by a model for a year now.
starcast2026 11 hours ago||
How could we know whether incoming code is AI generated or not? are there tools for this?
Supermancho 4 hours ago||
If they had a policy to ban German speakers from submitting code to OpenJDK, it would have the same effect. None at all, which is maybe the point. It's another tool to categorize submissions/submitters they find problematic.
octoberfranklin 10 hours ago|||
"If I don't know you, I don't merge you"

And if you catch somebody submitting code they can't explain, you don't know them anymore.

It's really simple. Open source has always had a social layer. Github culture tries to eliminate it, and that's the source of this vulnerability.

dionian 11 hours ago||
First thought I had too. I deliberately strip AI metadata from my PRs in certain orgs.
dan_q 11 hours ago|||
Why not just write the code yourself? You sound like an addict hiding their use from their friends and family.
jimbo808 11 hours ago||||
This is inherently deceptive.
dan_q 11 hours ago||
AI is for people who are proud of their obduracy.
asadotzler 10 hours ago|||
First time you're caught, you are no longer a project contributor and your deceptive conduct will be forwarded to all other major open source projects with warnings that your code cannot be trustworthy and is a well documented legal liability. How's that sit with you?
dofm 10 hours ago||
This is the firm whose debt is one level above junk and whose survival as a single unbroken corporate entity is fully predicated on OpenAI being able to make money from the data centres they (Oracle) are building for them, let alone simply paying for them.

I accept @jerf's explanation is the right one but this is an absolutely almighty signal that AI-first developers should heed. And someone should ask Altman about it on the record.

dan_q 10 hours ago|
I don't think you should take "AI-first developers" seriously as a category.

The people you refer to are delusional idiots and should be treated as such.

dofm 10 hours ago||
I don't disagree. But at the moment it is ~all major tech CEOs, right? Companies everywhere are saying "increasingly we don't write our own code". Out loud in front of their investors and customers. Even Oracle did.

But people at Oracle below the C suite don't even fart in public without lawyers signing off.

This is Oracle telling quite a lot of customers and partners of one of their most significant products that it doesn't trust AI code to be safe. Oracle, the company that is more exposed to the bubble bursting than basically anyone else apart from Coreweave.

This message could have been a lot shorter, could have said they were pausing accepting AI submissions until the intellectual property situation was clarified, but no — they said AI code can be unsafe and insecure and it's too risky to accept it. So a good question (given that Oracle are fucked if OpenAI even stumbles) is why?

That is a heck of a message to send, and it is visible enough. That is why I think developers (by which I mean individuals and their companies) whose focus is AI-generated code, which is almost everyone in public, should pay a bit of attention.

riazrizvi 11 hours ago||
"AI-generated code" will become shorthand for code-that-wasn't-verified-and-organized-by-a-competent-human.
Lucasoato 11 hours ago||
AI for me but not for thee.
TacticalCoder 12 hours ago|
So Java, which powers a sizeable chunk of the real-world since two decades now, without needing the help of LLMish sloppy-pasta, is going to continue to power the Real World [TM] with its language and JVM that have been created with tens of millions of human man-hours without LLMish sloppy-pasta?

I'm shocked.

I'm not only shocked: I also see there a delicious irony in the countless of LLMish sloppy-pasta code that's now running and going to be run on man-made JVMs.

asadotzler 10 hours ago||
Closer to three decades than two.
msdz 12 hours ago||
> countless of LLMish sloppy-pasta code that's now running and going to be run on man-made JVMs.

Don’t worry, I think most LLMs, when starting a greenfield codebase, don’t reach for Java, so it may be a smaller amount of code affected than you feared.

dboreham 12 hours ago||
If you asked the LLM to create an Android app it probably would.
msdz 11 hours ago|||
Interesting idea, so I had to check!

Prompt: “Top language pick for an Android app? Respond with only the language.”

Responses (admittedly via the aichat CLI, not an agent harness; and temp=0):

Kimi K3: Kotlin

GPT 5.6 Sol: Kotlin

Claude Fable 5: Kotlin

DeepSeek v4 Flash 0731: Kotlin

Are there any other “inherently” heavily JVM-biased domains?

I think even in Minecraft game mods Kotlin is possible nowadays…

CuriouslyC 11 hours ago|||
Kotlin my dude, unless you hate yourself.
More comments...