Oracle Bans AI-Generated Code Contributions to OpenJDK While Encouraging Internal AI Coding
Key point
Oracle has prohibited contributions of AI-generated code and content to OpenJDK.
Details
Oracle has announced a temporary policy prohibiting the submission of AI-generated code and other content to the OpenJDK project it manages.
The ban covers the following:
- Source code generated by deep learning systems such as LLMs and diffusion models
- Text and images
- AI-generated content included in GitHub pull requests, emails, wikis, Java Bug System issues, etc.
Developers are permitted to use LLM tools to understand, debug, and review OpenJDK code or conduct related research. However, outputs generated by these tools must not be included in community contributions.
Oracle explained that AI-generated code increases review burdens, can compromise safety and security with plausible but incorrect code, and may also raise intellectual property issues. It specifically cited the fact that OpenJDK underpins mission-critical systems worldwide.
Meanwhile, Oracle actively utilizes AI coding tools in internal development. Larry Ellison stated that AI models write a significant portion of Oracle's code, and the company has explained that AI coding tools boost productivity for small engineering teams. The Register questioned the discrepancy in standards, noting that AI generation is banned for OpenJDK contributions while allowed for internal development.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.