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

[macOS] Regeneration of bridgesupport files necessary

Aperta
#3,447 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java, macos
Ambito
backend

Direzione di ricerca

Start with the macOS bridge-support generation instructions in bundles/org.eclipse.swt/Readme.macOS.md and compare the current files with the output from the latest macOS SDK. Then investigate MacGenerator and the existing bridge-support files; the issue notes that regenerated output currently causes compile errors. Done means the files are regenerated and cleaned up, with any needed generator adaptations, and the generated code compiles against current SDKs.

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

Descrizione

macOS

The bridge support files for macOS used to be regenerated for newer macOS SDK versions. This has not happened for quite a while and we have started to manually add entries for newer macOS SDKs to that file so that we can use the MacGenerator for JNI binding generation on new API.

I have tried to regenerate those files with the available documentation (in particular the according readme) but the results look quite different from what we have right now (different properties due to using aarch64 and a high number of changes), which then lead to the MacGenerator deriving code that has many compile errors.

We should thus do the regeneration of those files in a separate task including the necessary cleanup and maybe MacGenerator adaptations to be conforming with latest SDK versions and have fully auto-generated bridgesupport files again.

Originally from @Phillipus: https://github.com/eclipse-platform/eclipse.platform.swt/pull/3435#issuecomment-4968487118

Looking at the following:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=502090
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514191
https://github.com/eclipse-platform/eclipse.platform.swt/blob/master/bundles/org.eclipse.swt/Readme.macOS.md

It seems that there have been times when there was a macOS version update where all the bridge support files > have been completely regenerated against a new macOS SDK. The last time was here:

https://github.com/eclipse-platform/eclipse.platform.swt/commit/b51b906d4824d826b77d0548fd7b1c8d85a7dcf5

Lingua principale
Java
Stelle
202
Fork
206
Merge medio
16h 56m
PR unite (30g)
110

Preparare l'ambiente

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 eclipse-platform/eclipse.platform.swt

Tutte le issue di eclipse-platform/eclipse.platform.swt

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.