try-with-resources not supported below API 19
まだ誰も着手していません。
評価
調査の方向性
まず try-with-resources ブロックを見つけ、manifest に宣言されている minimum SDK を確認します。参照されている Android の互換性に関する issue を確認し、現在のコードがどの API レベルをサポートしているかを判断します。API 19 未満との互換性について明確な判断に至り、必要な対応を記録または実装できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I noticed that a few of the classes use try-with-resources blocks, which are not supported below API 19. However, the minimum SDK in the manifest is listed as 9.
It seems that try-with-resources "mostly work" down to API 15.
See: https://code.google.com/p/android/issues/detail?id=73483)
I haven't heard of anyone successfully using try-with-resources below API 14, and the support below 19 doesn't appear to be guaranteed. Is there a reason for using try-with-resources in this codebase other than convenience?
- 主要言語
- Java
- スター
- 1.4k
- フォーク
- 193
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
facebook/SoLoader のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
ANR in SoLoader.initオープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
facebook/SoLoader の issue をすべて見る
似ている issue
-
area/plugin good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
kestra-io/plugin-kestra#200 ·
メンテナーはふだん 1 日以内に返信
-
bug untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
opensearch-project/search-relevance#618 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/rocketmq-dashboard#6716 ·
メンテナーはふだん 3 日以内に返信
-
DefaultRedisList.get(int) does not reject an index equal to the list size対応中かも @ryujungkyun が今日担当しました。 オープンstatus: waiting-for-triage
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
spring-projects/spring-data-redis#3471 ·
メンテナーはふだん 5 日以内に返信
-
in: build type: dependency-upgrade
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
spring-projects/spring-ldap#1791 ·
メンテナーはふだん 1 日以内に返信