You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tidy up: name companion source file after the generated class (Jtd2Jar.java) #189
Sub-issue 10 of 26 from the 2026-11-21 bot-review-comment audit. Parent issue: #179 (Bot review comment tidy up).
Audited origin/main HEAD: 2e5cf37. Audit date: 2026-11-21.
== Finding 10 (verbatim from the audit findings file) ==
PR Add offline jdt2jar CLI and distroless packaging #148 — --include-sources derives the companion source filename from the JAR name.
Author: chatgpt-codex-connector[bot], 2026-05-20. Comment: Add offline jdt2jar CLI and distroless packaging #148 (comment)
Source: jdt2jar/src/main/java/json/java21/jdt2jar/Jdt2Jar.java:232. Current: jtd2jar/src/main/java/json/java21/jtd2jar/Jtd2Jar.java:230-235 (sourcePathFor still uses output.getFileName() + ".java").
Flagged: "the emitted source is not directly compilable: javac fails with 'public class ... should be declared in a file named ...' whenever --class differs from the output JAR basename".
Still applies: sourcePathFor still names the file after the JAR/module output name, not the generated public class.
Activity