LGTM.com: Building OpenJDK #6219
-
|
How do you get LGTM.com to build the databases for the OpenJDK? The logs for Updating the analysis configuration to use a newer boot JDK (and not checking out an old Git commit) does not work, see logs: But that is probably expected since CodeQL likely does not support the latest Java version yet. However, trying to build However, the C++ build with the same configuration and same build command succeeds, which makes me think it might be related / caused by the CodeQL Java extractor? Running Do you have any ideas why the build is failing, or what to do to make the build succeed? Edit: Interestingly the make command |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Summarizing the above:
Conclusion:
You can use these scripts for building a JDK CodeQL CLI database locally. |
Beta Was this translation helpful? Give feedback.

Summarizing the above:
openjdk/jdk:git checkout jdk-14+36(should be removed)openjdk/jdk16umake imagesfails for "Creating support/classlist.jar"; the error information from the JDK build tools is not very helpfulPossibly caused by a CodeQL Java extractor bug?
make javasucceedsConclusion:
make javashould be executed for CodeQL Java extraction--with-mem…