RFR: 8287121: Fix typo in jlink's description resource key lookup
Christian Stein
cstein at openjdk.java.net
Sun May 22 06:07:22 UTC 2022
Commit https://github.com/openjdk/jdk/commit/655500a4f5e3abcff176599604deceefb6ca6640 for issue [JDK-8286654](https://bugs.openjdk.java.net/browse/JDK-8286654) added an optional description accessor on the `ToolProvider` interface. It included a typo in` jlink`'s description resource key lookup: `"jlink.desciption"`
This follow-up commit fixes the typo by adding the missing `r` character: `"jlink.description"`.
This commit also also adds an automated check that ensures all current and future tool provider implementations within the JDK don't throw an exception when invoking their name and description accessor methods. Specific tool names and descriptions are not expected by this general test.
-------------
Commit messages:
- 8287121: Fix typo in jlink's description resource key lookup
Changes: https://git.openjdk.java.net/jdk/pull/8825/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8825&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8287121
Stats: 58 lines in 2 files changed: 57 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/8825.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8825/head:pull/8825
PR: https://git.openjdk.java.net/jdk/pull/8825
More information about the core-libs-dev
mailing list