[code-reflection] Integrated: Update JDK version in opgen project

Ana Maria Mihalceanu duke at openjdk.org
Thu Oct 23 15:21:13 UTC 2025


On Thu, 23 Oct 2025 12:47:03 GMT, Ana Maria Mihalceanu <duke at openjdk.org> wrote:

> This PR fixes the JDK version in `opgen` project. 
> It also removes a duplicate branch in a `switch` of `OnnxProtoBuilder.java`.
> 
> As Babylon is based now on JDK 26, the project setup should be based on JDK 26.
> In a terminal window, running `mvn clean verify` from `cr-examples/onnx/opgen/pom.xml` failed with  
> 
> 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project onnx-opgen: Compilation failure
> [ERROR] invalid source release 25 with --enable-preview
> [ERROR]   (preview language features are only supported for release 26)

This pull request has now been integrated.

Changeset: cbc0ed44
Author:    ammbra <mihalceanuana at gmail.com>
Committer: Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/cbc0ed446c7eb669b051e2aa4bb9dfc88c612606
Stats:     6 lines in 2 files changed: 0 ins; 4 del; 2 mod

Update JDK version in opgen project

Reviewed-by: asotona

-------------

PR: https://git.openjdk.org/babylon/pull/635


More information about the babylon-dev mailing list