Live data from Hacker News

Oracle bans AI-generated code from OpenJDK

app.dealroom.co

61–70 of 397 posts

Re: Oracle bans AI-generated code from OpenJDK

#61

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.

Any way you spin it, the message remains clear --- dealing with AI slop is just too labor intensive and risky.

Do as Larry does --- not as Larry claims to do.

I would short his stock but it has already lost half it's value over the past year. And his credit rating is one notch above junk.

AI is going to make fools out of a lot of billionaires like Larry.

Re: Oracle bans AI-generated code from OpenJDK

#62

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.

I understand the intent of it. It's really annoying/rude when someone gives you a pile of AI generated crap and says "here, you figure it out." Anyone can type these prompts now, the hard part is figuring out if the output makes sense.

Seems like a better way to do this than ban all AI generated code, but it's probably a matter where they're far more concerned about their own inconvenience than someone else's.

Re: Oracle bans AI-generated code from OpenJDK

#63

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.

Re: Oracle bans AI-generated code from OpenJDK

#64

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…

You can get your coworkers to stop sending you slop (I've done it already on my team) but it's probably much harder to stop an onslaught of open source contributors.

Re: Oracle bans AI-generated code from OpenJDK

#65
post #53
post #48

y’all seem to be missing the fact that Java is a mature product. it has left the “move fast and break things” era of it’s development. code is a liability, and they likely have more to lose than gain by allowing AI contribution.

It's a clear admission that AI generated/assisted code is inadequate. It's shocking given Oracle's AI spending spree over the last couple of years.

I think it's more a matter of "taking power tools away from toddlers."

If you know how to work with it it's great, but if you use it indiscriminately it does more harm than good.

Re: Oracle bans AI-generated code from OpenJDK

#66

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…

[deleted]

Re: Oracle bans AI-generated code from OpenJDK

#67

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…

You truly envision a future where every program is written in a custom programming language, for a custom operating system, for a single user who will now be in charge of understanding and maintaining it forever? That user being your grandma, your baker, your CEO?

I do.

Software as a list of requirements and that's it. The local LLM appliance everybody has taking in a document specifying hardware, interfaces, and requirements and spitting out software changeable locally via conversation with its users.

In the same way you have a cookbook with recipes to make dinner instead of ordering out.

Re: Oracle bans AI-generated code from OpenJDK

#68

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…

Relevant xkcd: https://xkcd.com/605/

Re: Oracle bans AI-generated code from OpenJDK

#69

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.

I understand the intent of it. It's really annoying/rude when someone gives you a pile of AI generated crap and says "here, you figure it out." Anyone can type these prompts now, the hard part is figuring out if the output makes sense. Seems like a better way to do this than ban all AI generated code, but it's probably a matter where they're far more concerned about their own inconvenience than someone else's.

> the hard part is figuring out if the output makes sense.

I think for Java specifically, it's also very much: which prompts make sense to write. Java has had a storied history of features that made future development hard. That's resulted in a culture where they like to think quite deeply about how to add a feature BEFORE they sanction any sort of programming.

Re: Oracle bans AI-generated code from OpenJDK

#70

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.

I understand the intent of it. It's really annoying/rude when someone gives you a pile of AI generated crap and says "here, you figure it out." Anyone can type these prompts now, the hard part is figuring out if the output makes sense. Seems like a better way to do this than ban all AI generated code, but it's probably a matter where they're far more concerned about their own inconvenience than someone else's.

Ghostty has what I’d consider to be a reasonable policy. You submit what you want to change and how, explain it in your own words. A trusted member can vouch for you. You can then make a PR, but you need to explain the solution and how it works in your own words.

I’m sure someone could still just prompt their way through but it’s a decent soft gate IMO.

Post reply on HN