SrgToMcpRenamer uses hardcoded path for nested jars
まだ誰も着手していません。
評価
調査の方向性
src/main/java/net/minecraftforge/installertools/SrgMcpRenamer.java の132行目付近を調べ、続いてリンクされている JarJar メタデータ定義を読んで、ネストされた JAR のパスが外側の JAR を基準にどのように表現されるかを理解します。SrgToMcpRenamer がそのメタデータパスを読み取り、META-INF/jarjar/ を前提とせず、場所に関係なくネストされた JAR をデオブファスケートできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The Issue
Currently, only nested jars under the META-INF/jarjar/ directory are deobfuscated by SrgToMcpRenamer.
While this is the most common folder for nested jars, JarJar metadata defines nested jar paths as paths relative to the outer jar's root, and therefore nested jars can be located anywhere in the jar. This breaks mods that place their nested jars in other paths than the mentioned folder.
Expected behavior
SrgToMcpRenamer is able to deobfuscate any nested jars regardless of their location, as specified by JarJar metadata. Rather than assuming all nested jars are in the META-INF/jarjar/ directory, we should open the jar's JarJar metadata file and read nested jar paths from it.
- 主要言語
- Java
- スター
- 6
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/flink-agents#1152 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jenkinsci/blueocean-plugin#5417 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
objectionary/eo-graphs#75 ·