Brifing

Oracle bans AI-generated code in OpenJDK

Oracle has prohibited the submission of AI-generated code to the open-source Java project OpenJDK.

1Oracle's OpenJDK decision

Oracle has banned the use of AI-generated code in contributions to the open-source Java project OpenJDK. Under interim rules, content produced by large language models or deep learning systems will no longer be accepted. This decision is based on concerns about security, reliability, and intellectual property. Oracle emphasized that OpenJDK serves as the primary Java implementation for many organizations and supports critical systems worldwide.

2Scope of the ban

The prohibition covers not only source code but also text and images in OpenJDK Git repositories, GitHub pull requests, email messages, wiki pages, and Java Bug System issues. Oracle stated that developers can continue to use AI-based tools privately but cannot submit content generated by these tools as contributions. These tools can still be used for understanding code, debugging, and research purposes.

3Oracle's internal use

This decision contrasts with Oracle's enthusiasm for using AI-generated code internally. Co-founder and CTO Larry Ellison announced at Oracle AI World 2025 that the company no longer writes code but instead has AI models do it. Ellison said, "We just tell the model what we want, and the AI creates the step-by-step process." Oracle claims AI coding tools enable engineering teams to deliver solutions faster.

4Workforce reduction

Oracle demonstrated AI's impact on its workforce by cutting 21,000 jobs in June. The company stated, "The integration of AI technologies into our operations has led and may continue to lead to workforce reductions." Oracle also claims that AI agents embedded in its applications can reason, make business decisions, and act on users' behalf, highlighting AI's growing role in its operations.

5Financial risks

Oracle plans to invest $70 billion next year to finance its data center construction program, up from $55.7 billion in fiscal year 2026 ending in May. However, rating agency S&P downgraded Oracle's credit rating to BBB-, citing uncertainty about returns from these investments. Oracle is taking on significant debt to fund its building program while accepting negative cash flow.

6Credit risk increases

The spread on Oracle's credit default swaps (CDS) has recently spiked significantly, indicating that insuring against Oracle's default has become more expensive. These developments in financial markets highlight the risks of Oracle's aggressive investment strategy. Investors appear concerned about returns from the company's AI and data center investments.

7Double standard criticism

Oracle's ban on AI-generated code in OpenJDK while continuing to use the technology in its own products has drawn criticism. The Register noted this double standard as surprising. It's presumed Oracle has developed a method to ensure the safety and reliability of AI-generated code for internal use, but the company hasn't shared this method publicly.

8The future of AI

Oracle's OpenJDK decision has sparked an important debate about AI's role in software development. The discrepancy between its internal policies and those for the open-source community reflects concerns about AI's reliability and accountability. This development sets a significant precedent for how the software industry will balance AI integration. Oracle's approach may serve as a reference point for other major tech companies.

Original article: www.theregister.com - Articles — Oracle, OpenJDK'de AI ile yazılan kodu yasakladı