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 . |
1 reply
|
An alternative is to use an |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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 :
All reactions