> Make `NMethod.toString()` and `NMethod.getName()` null-safe: if `getMethod()` > returns null, return a description based on `super.toString()` instead of > dereferencing the method. This allows the original exception to be reported > so that a genuine decoding failure is visible in the test output. > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
xiaotaonan has updated the pull request incrementally with two additional commits since the last revision: - fix: Modify according to the review comments. - fix: Modify according to the review comments. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/34189/files - new: https://git.openjdk.org/jdk/pull/34189/files/1c1bf69b..8d21fb47 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=34189&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=34189&range=01-02 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/34189.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/34189/head:pull/34189 PR: https://git.openjdk.org/jdk/pull/34189
