Replies: 2 comments 1 reply
-
|
You could try an options file as used by the test in java/ql/test/library-tests/types/record-classes . |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
An alternative is to use an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{{title}}
-
Hi, I am trying to run a unit test locally and the test file uses Java Records, which are only supported from Java version 16+.
When running
codeql test runcommand, CodeQL by default uses Java version 8 to create database from test file. How can I make codeql use a different java version when running tests ?The javac error is like below :
Beta Was this translation helpful? Give feedback.
All reactions