Live data from Hacker News

Oracle bans AI-generated code from OpenJDK

app.dealroom.co

91–100 of 408 posts

Re: Oracle bans AI-generated code from OpenJDK

#91

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…

They're just so information-dense and sprawl in scope.

Too many PRs wouldn't be a problem if they were easily digestible: But they often include these giant refactors with confusing changes that aren't elaborated.

The real underlying problem is with authors who do not understand the code they submit. If you cannot defend the PR, you shouldn't be submitting it.

Re: Oracle bans AI-generated code from OpenJDK

#92

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.

I highly doubt that that's the last word on that matter, but even if: Even before LLMs you could combine individual non-copyrighted components into something copyrighted.

Re: Oracle bans AI-generated code from OpenJDK

#93

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…

> easier than ever to just maintain and keep your fork of software with the changes you want or need

I don't imagine this is practical or desirable for all situations. Good software is built from being battle tested by many users in many environments. Even with the advancements in AI tools, I don't imagine they'll become omnipotent anytime soon.

> No more approval, bureaucracy, or arguing

For software that can kill people or substantively affect someone’s life in a negative way, the bureaucracy is there for good reason. I don't think anyone should want someone at Phillips to vibe code the control software for an X-Ray machine or an employee at CrowdStrike vibe coding the next update before pushing it out to millions of machines.

We are forced to endure low-quality software because there is little or no accountability. I can only imagine what you propose would make an already poor situation worse.

Re: Oracle bans AI-generated code from OpenJDK

#94
post #39

Earlier quoted context omitted.

I believe thats the real reason, its not just Oracle, it would eventually be everyone in this kind of boat. No business would publicly use (or claim) AI to write code with recent verdict over the IP rights of AI generated code. It would be interesting to see how this effects the copyleft Licences with contributors are using AI for the PRs

> AI to write code with recent verdict over the IP rights of AI generated code. Which recent verdict? > It would be interesting to see how this effects the copyleft Licences with contributors are using AI for the PRs I know Linux and GCC have been diligent about tagging and tracking LLM based contributions. In the worst case they can chuck it all out and handwrite it back.

https://www.congress.gov/crs-product/LSB10922

There is this old one around contents like images and all, the ripple affect is pretty much everywhere.

Its sort of coupled with the recent penalty of $1.5B on Anthropic. The catch 22 is that some portion of the LLM training data can be classified as IP theft. Even though Anthropic has been fined the data still exists and can be used by LLM to generate code for you. So if you are claiming something as an IP and it has stolen part in it then it leaves you in a hard place.

Language translations may save you in some cases, though the whole definition of cleanroom has been in debate recently too where people are trying to rewrite opensource/famous libraries in different language and claiming IP rights over them.

Re: Oracle bans AI-generated code from OpenJDK

#95

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…

Someone brings this up on just about every AI-related thread. I think it's nonsense. Nobody wants to maintain a fork of any remotely complex software, not even with AI. And in a corporate setting, nobody wants to use your custom fork; they just want to use the standard software they already know with the quirks they've already learned.

This is far more likely to happen in a corporate setting with competent engineers who want to build/solve now versus relying on others. I've seen it 100% of the time with varying results.

Re: Oracle bans AI-generated code from OpenJDK

#96
post #25
post #14

What happens to OpenJDK when Oracle dies? That's looking increasingly likely on a 3-5yr horizon.

Probably it would get picked up by someone else (e.g. the Linux Foundation)? It's GPLv2-licensed, so it's not like the code is going to be risky for someone to fork

I would expect it to be picked up by the Eclipse Foundation. They already have the Java Ent- I mean, Jakarta Enterprise Edition.

Re: Oracle bans AI-generated code from OpenJDK

#98
post #17

Earlier quoted context omitted.

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

If you asked the LLM to create an Android app it probably would.

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…

Re: Oracle bans AI-generated code from OpenJDK

#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?

Re: Oracle bans AI-generated code from OpenJDK

#100

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 think it's even more pervasive than that. Why bother forking software at all? At the point in which code generation is meaningfully trivialized, software becomes entirely disposable. Anything you want, have a model spin it up. You don't even need libraries, the model can just make everything in-situ, who cares? Why on earth would I ever want to use SQLite if I have access to a sufficiently advanced code generator w…

> Why on earth would I ever want to use SQLite if I have access to a sufficiently advanced code generator which can generate me a similarly high quality database system

Because SQLite has 10k requirements that wouldn't even cross your mind to write down, but 80% of which are useful to you.

Post reply on HN