processing / processing/processing4

Implement reliable getLibraryFolder() and getDocumentsFolder() methods in MacPlatform

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

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

lower priority macos
主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

Created by: benfry

With the removal of FileManager in JDK 9+ we no longer have a means of getting the Documents and Library folders on macOS.

For now, it's possible to use System.getProperty("user.home") and tack Library or Documents onto the end of that, however I'm guessing that it won't be possible in future OS releases, or perhaps even with a signed version of the app, due to security-related changes to how file system access works.

(Appending these folder names works now even on localized systems, since the native language shown is not what's used internally by the OS.)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず MacPlatform とその getLibraryFolder() および getDocumentsFolder() メソッドを見つけます。FileManager を使わずにこれらのフォルダーを解決するために、サポートされている macOS API を調査し、その後、ローカライズされたシステムと署名付きアプリケーションで結果を検証します。完了の条件は、現在の macOS バージョンで両方のメソッドが意図したフォルダーを確実に返すことです。

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

評価

技術スタック
java, macos
領域
desktop, operating-systems
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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