Oracle's OpenJDK Bans Generative AI Contributions, Oracle's GraalVM Allows Them

rowbin1 pts0 comments

Oracle's OpenJDK Bans Generative AI Contributions While Oracle's GraalVM Allows Them - InfoQ

BT

InfoQ Software Architects' Newsletter

A monthly overview of things you need to know as an architect or aspiring architect.

View an example

Enter your e-mail address

Select your country

Select a country

I consent to InfoQ.com handling my data as explained in this Privacy Notice.

We protect your privacy.

Close

Helpful links

About InfoQ

InfoQ Editors

Write for InfoQ

About C4Media

Diversity

Choose your language

En

中文

日本

Fr

July25,2026

Online InfoQ AI Engineering Certification

Production AI calls on retrieval, agents, evals, and infrastructure, checked with peers.<br>Register Now.

Aug13,2026

Online InfoQ Architect Certification

Distributed systems, decentralized decisions, platform engineering, and AI architecture.<br>Register Now.

Nov16-20,2026

QCon San Francisco

What's working across AI, architecture, and leadership, from the teams doing it.<br>Register. Early bird ends July 14.

Apr13-16,2027

QCon London

What early-adopter teams have proven in production, across 15 engineering tracks.<br>Register. Early bird ends July 14.

InfoQ Homepage

News

Oracle's OpenJDK Bans Generative AI Contributions While Oracle's GraalVM Allows Them

Java

Oracle's OpenJDK Bans Generative AI Contributions While Oracle's GraalVM Allows Them

Jun 12, 2026

min read

by

Karsten Silz

Write for InfoQ

Feed your curiosity.<br>Help 550k+ global<br>senior developers<br>each month stay ahead.Get in touch

Listen to this article - 0:00

Audio ready to play

Your browser does not support the audio element.

0:00

0:00

Normal1.25x1.5x

Like

Reading list

Two related, Oracle-backed projects published opposing policies on open-source contributions created with generative AI: the OpenJDK Governing Board approved an interim policy prohibiting such contributions, while the Coding Assistants policy from GraalVM permits them. Both projects require contributors to sign the same Oracle Contributor Agreement (OCA) for intellectual property.

In early April 2026, OpenJDK published its policy that broadly bans generative AI content:

Contributions must not include content generated, in part or in full, by large language models, diffusion models, or similar deep-learning systems. Content, in this context, includes but is not limited to source code, text, and images in OpenJDK Git repositories, GitHub pull requests, e-mail messages, wiki pages, and JBS issues.

This policy provides three reasons. First, reviewer burden: floods of plausible-looking but incorrect or hard-to-maintain code drain limited reviewer time. Second, safety and security: the JDK underpins mission-critical systems, and that demands a high bar. Third, intellectual property: the OCA requires contributors to own the IP rights they grant to Oracle without restriction, but whether a person owns the IP rights in AI-generated output is "the subject of active litigation."

The policy carves out private use. Contributors may still use generative AI to understand, debug, and review OpenJDK code and for research — they just may not contribute AI-generated content. The policy FAQ is explicit: editing ten of 100 AI-generated lines is still not allowed because the contribution is still partly AI-generated. The policy also allows tools such as "spell-checking, grammar-checking, auto-completion, and refactoring features in my editor or IDE" if "they are not based on large language models or similar deep-learning systems."

OpenJDK contributors must soon check a checkbox in Skara, the automated pull request review system, to confirm their contributions comply with the generative AI policy. OpenJDK acknowledges that "in general, reliably distinguishing human-generated content from AI-generated content is impossible", but encourages reviewers to watch out for tell-tale signs of AI-generated content nevertheless.

In mid-April 2026, GraalVM, an Oracle Labs project not governed by the OpenJDK Governing Board, clarified their AI-assisted contribution policy and contributor guidance that allows generative AI content:

GraalVM contributors may use AI coding assistants and similar tools when preparing contributions. [...] For purposes of this document, "coding assistants" includes AI-based tools that help draft, transform, explain, review, or summarize code, tests, documentation, or commit text. This policy applies to contributions and project interactions prepared with such tools, including pull requests and issues filed with the project

The project added a "Documentation Terminology and Style Guide" for AI coding assistants on June 3, 2026.

The GraalVM policy "is informed by the Linux kernel's AI CodingAssistants policy" but adapts it. For instance, the Linux policy states that "contributions should include an Assisted-by tag." GraalVM, on the other hand, has a weaker stance: it says that "explicit attribution to a specific model or tool is optional," but the "disclosure of AI assistance is...

policy oracle openjdk contributions infoq generative

Related Articles