Live data from Hacker News

Oracle bans AI-generated code from OpenJDK

app.dealroom.co

11–20 of 398 posts

Re: Oracle bans AI-generated code from OpenJDK

#11

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.

It is not when you stop kidding yourself : using AI has nothing to do to improve the quality of the code. It is a vanity status, at this point.

Re: Oracle bans AI-generated code from OpenJDK

#15

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 I'm sure they are just paranoid about license rights.

Re: Oracle bans AI-generated code from OpenJDK

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

Re: Oracle bans AI-generated code from OpenJDK

#18
The post in question: https://openjdk.org/legal/ai

It is 'OpenJDK Interim Policy on Generative AI' and their lawyers are writing the final version, according to this page.

It sounds like a sensible action, given past scars around Java and copyright, plus this is from a big old corp.

That said I personally don't expect that final proposal will end up any better.

Re: Oracle bans AI-generated code from OpenJDK

#20

The post in question: https://openjdk.org/legal/ai It is 'OpenJDK Interim Policy on Generative AI' and their lawyers are writing the final version, according to this page. It sounds like a sensible action, given past scars around Java and copyright, plus this is from a big old corp. That said I personally don't expect that final proposal will end up any better.

> given past scars around Java and copyright

How many of these were self-inflicted?

Post reply on HN