Skip to content

Rebuilding against a more precise JDK versions #1718

@marko-bekhta

Description

@marko-bekhta

I recently was trying to run the rebuild script check on a project released with JDK 17.0.12 while the rebuild script uses 17.0.14. I've ended up with:

-        throw new UnsupportedOperationException("UserType does not support reading CallableStatement parameter values: " + this.userType);
+        throw new UnsupportedOperationException("UserType does not support reading CallableStatement parameter values: " + String.valueOf((Object)this.userType));

so I was thinking, should there be a way to specify the JDK version more percise.

An implementation idea for this: for a project that has a maven/gradle wrapper we could leverage the simple JDK image instead of using maven/gradle ones, e.g. eclipse-temurin:17.0.14_7-jdk-alpine (or whatever is specified) This way we could lock the rebuilt to the exact JDK version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request for builspec/rebuild.shhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions