Oracle bans AI-generated code from OpenJDK(app.dealroom.co)
522 points by delduca 14 days ago | 377 comments
tl;dr: Oracle has banned AI-generated code from OpenJDK contributions over safety, security, and IP concerns, though developers may still use LLMs privately for debugging and code review. The policy notably clashes with Oracle's internal stance, where Larry Ellison recently claimed AI models are writing the company's code. Meanwhile, Oracle's $70 billion datacenter spending has triggered an S&P credit downgrade to BBB-, just above junk status.
HN Discussion:
  • Oracle's legal strategy drives the ban to preserve IP litigation options against others
  • Ban is sensible given Java's maturity, code-as-liability, and reviewer burden concerns
  • AI coding hype is giving way to real concerns about slop, review burden, and copyright
  • ~Policy is hypocritical given Oracle's own heavy internal AI code usage
  • Provides additional context/sources like the actual OpenJDK policy and similar Rust guidelines