-
Notifications
You must be signed in to change notification settings - Fork 21
add compile and unit test checks for java 21 and 25 #1727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,7 +74,29 @@ | |
| import java.util.stream.Collectors; | ||
| import org.jetbrains.annotations.NotNull; | ||
| import org.jetbrains.annotations.Nullable; | ||
| import org.jooq.*; | ||
| import org.jooq.CommonTableExpression; | ||
| import org.jooq.Condition; | ||
| import org.jooq.Cursor; | ||
| import org.jooq.DSLContext; | ||
| import org.jooq.Field; | ||
| import org.jooq.Record; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah I assume this is also what was keeping java 25 from building?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah pretty simple fix, didn't test integration tests though so there might be more at runtime. |
||
| import org.jooq.Record1; | ||
| import org.jooq.Record10; | ||
| import org.jooq.Record3; | ||
| import org.jooq.Record4; | ||
| import org.jooq.Record7; | ||
| import org.jooq.Result; | ||
| import org.jooq.SQL; | ||
| import org.jooq.Select; | ||
| import org.jooq.SelectConditionStep; | ||
| import org.jooq.SelectHavingStep; | ||
| import org.jooq.SelectJoinStep; | ||
| import org.jooq.SelectOnConditionStep; | ||
| import org.jooq.SelectSeekStep2; | ||
| import org.jooq.Table; | ||
| import org.jooq.TableField; | ||
| import org.jooq.TableLike; | ||
| import org.jooq.TableOnConditionStep; | ||
| import org.jooq.conf.ParamType; | ||
| import org.jooq.exception.DataAccessException; | ||
| import org.jooq.impl.DSL; | ||
|
|
@@ -342,7 +364,7 @@ protected TimeSeries getRequestedTimeSeries(String page, int pageSize, @NotNull | |
|
|
||
| // put all those columns together as "valid" | ||
| CommonTableExpression<Record7<BigDecimal, String, String, String, String, BigDecimal, | ||
| String>> valid = | ||
| String>> valid = | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should probably just use |
||
| name("valid").fields("tscode", "tsid", "office_id", "loc_part", "units", | ||
| "interval", "parm_part") | ||
| .as( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i'm reading correct this is saying only do an integration test for 11? Just making sure!
If we have other toggles like this it might be worth using an env in the github repo to have a "JAVA_VERSION" and we can toggle that going forward? Might be extra! Would be good to make an issue for this if someone agrees with the deb hard coding 11 in places gives?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right now there's some sort of caching issue that's causing the builds to fail so I didn't even try to get 21 or even 25 to run integration tests.
For 25 we would need to update gradle to v9 which drops support for Java 11..... So we could use the gradle toolchain mechanism, which would require downloading a whole separate JRE in the pipeline and referencing that. That could work with a repo level env variable.