Live data from Hacker News

Oracle bans AI-generated code from OpenJDK

app.dealroom.co

31–40 of 398 posts

Re: Oracle bans AI-generated code from OpenJDK

#31
post #3

Would Cursor tab assisted code be considered AI generated? I feel like that was the epitome of AI assisted but quality code

Yeah, they kind of hit on this in their main post:

> If I use a generative AI tool to create 100 lines of code, and then edit ten of those lines myself, may I contribute the result?

> No. Your contribution would still include, in part, AI-generated code.

Re: Oracle bans AI-generated code from OpenJDK

#32
post #17

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…

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

Re: Oracle bans AI-generated code from OpenJDK

#34

I kind of get their overall point, even if it is ironic that Oracle is all in on AI. They don’t want a ton of contributions to review that weren’t made with care, adding burden to, as they put it: “already limited time of human reviewers”. Especially for a project that runs to many major businesses, this could pose a massive risk.

Probably has less to do with quality and more of a copyright/license concern.

I’m just going off the reasons they gave. Which highlight both copyright and quality. Both of those make sense to me.

Re: Oracle bans AI-generated code from OpenJDK

#35
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 iterators, goodby linters, hello compile time error.

Re: Oracle bans AI-generated code from OpenJDK

#36
post #3

Would Cursor tab assisted code be considered AI generated? I feel like that was the epitome of AI assisted but quality code

> I feel like that was the epitome of AI assisted but quality code

I totally agree with you on this! The engineer is still actively engaging while getting the performance gains of not having to type out functions. The Engineer is still in charge vs agentic "engineering" a model + harness can spit out whatever and the engineer is left to review tons and tons of code

Re: Oracle bans AI-generated code from OpenJDK

#37
Oracle is just selling AI shovels. Of course it would have a hard time defending IP issues in slop code when it had famously sued Google for Java infringement.

Also, Oracle knows that it will be stronger with strong IP laws. Other companies will realize that fact soon.

Re: Oracle bans AI-generated code from OpenJDK

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

Kotlin my dude, unless you hate yourself.

Re: Oracle bans AI-generated code from OpenJDK

#39

Earlier quoted context omitted.

No I'm sure they are just paranoid about license rights.

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.

Re: Oracle bans AI-generated code from OpenJDK

#40

Earlier quoted context omitted.

No I'm sure they are just paranoid about license rights.

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

[deleted]
Post reply on HN