processing / processing/processing4

Need better method than reflection for setting application name on Linux

オープン
#349 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

help wanted linux
主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

名前が挙げられているコードのエントリーポイントはLinuxPlatformだけです。まずこれを見つけ、リンクされているコミット 8e5433430e266592b83da0a68542d4d082738c38、issue 207、およびCryptomatorの議論を確認してください。完了条件は、リフレクションを使ったアプリケーション名の取得方法を適切なLinux向けソリューションに置き換え、Java 11/17の起動時警告を発生させないことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
desktop, operating-systems
issue の種類
リファクタリング
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。