processing / processing/processing4
Implement support for handling Java “modules” and clean up JavaFX-specific workarounds
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 494
- Fork
- 183
- Merge medio
- 4h 39m
- PR unite (30g)
- 3
Descrizione
Created by: benfry
JavaFX 16 (which we're using as of 4.0 alpha 5) is bundled as a set of Java “modules,” rather than regular .jar files. As such, it will complain if the code is loaded from the usual CLASSPATH.
For now, there are some workarounds in the build process that treat the (newly separated) JavaFX library as a special case, but this is pretty gross, and we need to either:
- Start tracking a
modulesPathand module lists during build and bundling so that it can be specified when running from the PDE and when exporting. - Alternatively, we could add additional information to
library.propertiesso that special command line options can be added. In this case, it would be--add-modules javax.base, etc, but could also be used to cover-XstartOnFirstThreadfor libraries that require that (LWJGL?)
Guida per i contributori
Apri 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.
Direzione di ricerca
Inizia tracciando il processo di build e bundling per i moduli JavaFX 16, incluso il modo in cui PDE esegue i progetti e come vengono assemblati gli export. Confronta l’approccio proposto basato su modulesPath/module-list con l’aggiunta di opzioni della riga di comando tramite library.properties. Il lavoro è completo quando i moduli JavaFX funzionano senza gli attuali workaround specifici sia nelle esecuzioni PDE sia negli export.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system, desktop
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100