Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[macOS] Regeneration of bridgesupport files necessary

Đang mở
#3,447 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, macos
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
202
Fork
206
Merge trung bình
16 giờ 56 phút
Pull request đã merge (30 ngày)
110

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-platform/eclipse.platform.swt

Tất cả issue của eclipse-platform/eclipse.platform.swt

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.