Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Jars from supplementalModelArtifacts stay open after process

Aperta
#341 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start by reading configureLocator and tracing how supplementalModelArtifacts are resolved and loaded through plexus-resources' JarResourceLoader. Compare that path with the bundle jar handling changed in #339 and inspect the related discussion in #338. Done means supplemental model jars are no longer kept open or read stale after replacement; the issue does not name a test to run.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Jars listed in supplementalModelArtifacts are added to the resource locator in configureLocator, and plexus-resources' JarResourceLoader opens each one through JarURLConnection.getJarFile() with the default jar: cache and never closes it. Like the bundle jars before #339 (#338), they stay open for the life of the JVM: locked on Windows, which with mvnd means for the daemon's lifetime, and read stale after the jar is rewritten at the same path.

Reading the supplemental models from the resolved jar directly, with an uncached connection or a JarFile closed after use, instead of through the locator would avoid it.

Lingua principale
Java
Stelle
17
Fork
20
Merge medio
12h 3m
PR unite (30g)
22

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/maven-remote-resources-plugin

Tutte le issue di apache/maven-remote-resources-plugin

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.