github / github/codeql

can codeql analyse java rt.jar source code?

Đang mở
#4,304 10 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

i want to analyse part of jdk source code,so i tried to unzip jdk src.zip,it contains `java.io.*,java.lang.*`

then i create pom.xml and run `codeql database create jdk_src --language=java --command="mvn clean package"`.

`database-create-20200630.203801.550.log` indicate codeql does not find any source code.

```
[2020-06-30 20:38:50] [ERROR] database finalize> No source code was seen during the build.
This can occur if the specified build commands failed to compile or process any code.
- Confirm that there is some source code for the specified language in the project.
- For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
- For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.