Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .classpath.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/home/runner/.m2/repository/info/picocli/picocli/4.7.7/picocli-4.7.7.jar:/home/runner/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.18.3/jackson-databind-2.18.3.jar:/home/runner/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.18.3/jackson-annotations-2.18.3.jar:/home/runner/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.18.3/jackson-core-2.18.3.jar:/home/runner/.m2/repository/com/github/javaparser/javaparser-core/3.27.1/javaparser-core-3.27.1.jar:/home/runner/.m2/repository/org/apache/maven/shared/maven-invoker/3.3.0/maven-invoker-3.3.0.jar:/home/runner/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.4.2/maven-shared-utils-3.4.2.jar:/home/runner/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/home/runner/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/home/runner/.m2/repository/org/gradle/gradle-tooling-api/7.3-20210825160000+0000/gradle-tooling-api-7.3-20210825160000+0000.jar:/home/runner/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/runner/.m2/repository/org/benf/cfr/0.152/cfr-0.152.jar:/home/runner/.m2/repository/org/junit/jupiter/junit-jupiter/5.11.4/junit-jupiter-5.11.4.jar:/home/runner/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.11.4/junit-jupiter-api-5.11.4.jar:/home/runner/.m2/repository/org/opentest4j/opentest4j/1.3.0/opentest4j-1.3.0.jar:/home/runner/.m2/repository/org/junit/platform/junit-platform-commons/1.11.4/junit-platform-commons-1.11.4.jar:/home/runner/.m2/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/home/runner/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.11.4/junit-jupiter-params-5.11.4.jar:/home/runner/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.11.4/junit-jupiter-engine-5.11.4.jar:/home/runner/.m2/repository/org/junit/platform/junit-platform-engine/1.11.4/junit-platform-engine-1.11.4.jar:/home/runner/.m2/repository/org/bouncycastle/bcpkix-jdk18on/1.78.1/bcpkix-jdk18on-1.78.1.jar:/home/runner/.m2/repository/org/bouncycastle/bcprov-jdk18on/1.78.1/bcprov-jdk18on-1.78.1.jar:/home/runner/.m2/repository/org/bouncycastle/bcutil-jdk18on/1.78.1/bcutil-jdk18on-1.78.1.jar
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Do not commit generated absolute classpath artifacts.

This file is environment-specific build output (/home/runner/...) and should be regenerated, not versioned. Keeping it in git risks stale dependency resolution and non-portable behavior across machines/CI.

Suggested fix
-/.classpath.txt
+# .gitignore
+.classpath.txt
+.gradle-classpath.txt
🧰 Tools
🪛 LanguageTool

[uncategorized] ~1-~1: The official name of this software platform is spelled with a capital “H”.
Context: ...8.3.jar:/home/runner/.m2/repository/com/github/javaparser/javaparser-core/3.27.1/javap...

(GITHUB)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.classpath.txt at line 1, The file .classpath.txt is a generated,
environment-specific classpath containing absolute /home/runner/... paths and
must not be committed; remove .classpath.txt from the repo (delete the file and
commit the deletion), add an entry for ".classpath.txt" (or a suitable pattern
like "*.classpath*" or the exact filename) to your .gitignore, and document in
the README or build instructions that developers should regenerate the classpath
via the normal build/tooling (Maven/Gradle/IDE) instead of committing it.

2 changes: 2 additions & 0 deletions src/main/java/com/jaipilot/cli/classpath/CfrDecompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@

final class CfrDecompiler {


private static final System.Logger LOGGER = System.getLogger(CfrDecompiler.class.getName());


Optional<String> decompile(Path classContainer, String classEntryPath) {
if (classContainer == null || classEntryPath == null || classEntryPath.isBlank()) {
return Optional.empty();
Expand Down
Loading