Two javac invocations into one -d become two source sets (main + main2)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- developer-experience, tooling
Direzione di ricerca
Start in CompileListToSourceSets and compare the javac path with SharedDestination.foldKotlinc; inspect the cited reproduction at javac lines 2930/2932 and 3470/3472. Check the javac corpora and closed-core config for same--d pairs, then trace why the first source set disappears. Done means the folding decision is supported by that evidence and the two reported cases have an understood outcome.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found on the quarkus reactor (mixed Maven log), reported by the worktree-simply session. Not needed for the campaign start; both cases are integration-test modules.
What happens: two maven-compiler-plugin javac lines with the same -d, one right after the other, come out as two source sets, the second suffixed 2. In the config only the 2 set appears under the module's prefix; where the first one went is not traced yet.
integration-tests/kotlin-maven-invoker/target/test-classes:test-classes2holds[src/test/java, target/generated-test-sources/test-annotations].integration-tests/grpc-stork-recovery/target/classes:main2holds[src/main/java, target/generated-stork-sources, target/generated-sources, target/generated-sources/grpc].
Most likely a second compiler execution: an annotation-processing pass, or generated sources compiled again.
Where: CompileListToSourceSets (shared by the Java and the Kotlin/mixed routes). maddi fe1a132d7 folds kotlinc invocations of one destination (kapt + compile) in SharedDestination.foldKotlinc; javac + javac is not folded.
To decide: should two javac runs into one destination fold the same way (union of source dirs and class paths)? This changes the Java-only route too, so check the javac corpora (and the closed-core config) for same--d pairs before folding, and work out why the first set disappears.
Reproduction: laser1 ~/tmp/quarkus-mixed/compile.noargs.log, javac lines 2930/2932 and 3470/3472.
- Lingua principale
- Java
- Stelle
- 1
- Fork
- 1
- Merge medio
- 48m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CodeLaser/maddi
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Javadoc warnings are the only noise on an otherwise clean CI runForse di nuovo libera @jayeshamundkar06-bit l’ha presa 27 giorni fa e non c’è nessuna pull request aperta. Apertabuild/ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di CodeLaser/maddi
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
federicoiosue/Omni-Notes#1044 ·
-
Industrial Center Text TypoApertaBug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Terraform releases proxy leaves a temp folder behind on every cache refreshForse già presa @dhananjay6561 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
terrakube-io/terrakube#4069 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
find-sec-bugs/find-sec-bugs#789 ·