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

Adam Sotona asotona at openjdk.org
Thu Oct 23 15:10:38 UTC 2025


On Thu, 23 Oct 2025 13:07:34 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)
>
> Ana Maria Mihalceanu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix switch compilation error after merge.
>   
>   Signed-off-by: ammbra <mihalceanuana at gmail.com>

Looks good to me.

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/babylon/pull/635#pullrequestreview-3370486768


More information about the babylon-dev mailing list