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

duke duke at openjdk.org
Thu Oct 23 15:14:47 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>

@ammbra 
Your change (at version 30c70097da04f3cefa190f49ee65f6cc22c4c17b) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/babylon/pull/635#issuecomment-3437552378


More information about the babylon-dev mailing list