Development0 views

Oracle Bans AI-Generated Content from OpenJDK—But Its Own CTO Says AI Writes Most of Oracle's Code

Oracle has prohibited contributions to OpenJDK that contain AI-generated content, including code, text, and images. The policy applies to all material created by artificial intelligence tools submitted to the open-source Java platform.

Developers can still use AI privately to understand, debug, and review code, as well as for research purposes. The restriction only affects public contributions to the project.

Oracle justifies the ban by citing security concerns, intellectual property risks, and the potential for AI-generated code to introduce bugs or vulnerabilities. These are legitimate worries in a foundational platform like OpenJDK that powers countless applications worldwide.

The move creates an awkward contradiction. Oracle's Chief Technology Officer, Larry Ellison, stated last year that AI models already write a significant portion of the code produced internally at Oracle. The company's own development processes rely heavily on AI assistance, yet it's now restricting the same technology in OpenJDK contributions—raising questions about whether the policy reflects genuine technical concerns or selective gatekeeping.