processing / processing/processing4

Need better method than reflection for setting application name on Linux

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

还没有人认领这个 Issue。

help wanted linux
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Created by: benfry

Inside LinuxPlatform, we're using reflective access to set the application name. Not a great idea but a well-known hack. This started throwing a nasty warning (that kinda looks like an error) on startup with Java 11 and 17.

That's been fixed with https://github.com/processing/processing4/commit/8e5433430e266592b83da0a68542d4d082738c38, which resolves https://github.com/processing/processing4/issues/207, which covers the warning itself.

Another detailed thread from folks looking into the same issue: https://github.com/cryptomator/cryptomator/issues/956#issuecomment-787061581

…but we need a better solution longer-term. Please help?

贡献指南

打开贡献指南

从这里开始

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

调研方向

LinuxPlatform 是唯一被提及的代码入口点;首先定位它,并查看链接的提交 8e5433430e266592b83da0a68542d4d082738c38、issue 207 以及 Cryptomator 讨论。完成的标准是:将通过反射获取应用程序名称的方法替换为合适的 Linux 解决方案,同时不出现 Java 11/17 启动警告。

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

评估

技术栈
java
领域
desktop, operating-systems
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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