Skip to content
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

(TEST) Change to run Coordinator tests on JDK 20 #2783

Draft
wants to merge 48 commits into
base: v2.1
Choose a base branch
from

Conversation

tatu-at-datastax
Copy link
Collaborator

What this PR does:

Changes QueryBuilderImpl, SchemaBuilderImpl to be usable without Duzzt-based code generation.

Which issue(s) this PR fixes:
Fixes #2781

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

<!-- JDK 11 settings -->
<jdk11.module-exports>--add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED</jdk11.module-exports>
<!-- JDK 9+ JPMS settings -->
<jdk11.module-exports>--add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.file.spi=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED</jdk11.module-exports>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite close to set of exports added in CNDB/vsearch. Using --add-opens since some reflection usage needs that (which gives more access than --add-exports). Probably not all entries strictly needed but were at some point in time and lots of work to run through the whole test suite to weed out ones not actually needed.

@tatu-at-datastax tatu-at-datastax changed the title Replace QueryBuilder generation with direct use of QueryBuilderImpl Change to run Coordinator tests on JDK 20 Sep 28, 2023
@tatu-at-datastax tatu-at-datastax changed the title Change to run Coordinator tests on JDK 20 (TEST) Change to run Coordinator tests on JDK 20 Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant