Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[macOS] Regeneration of bridgesupport files necessary

未关闭
#3,447 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
java, macos
领域
backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Java
星标
202
派生
206
平均合并
20 小时 20 分钟
30 天内合并 PR
113

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-platform/eclipse.platform.swt 的其他 Issue

查看 eclipse-platform/eclipse.platform.swt 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。