RFR: 8313693: Introduce an internal utility for the Damerau–Levenshtein distance calculation [v3]

Pavel Rappo prappo at openjdk.org
Wed Aug 9 14:18:28 UTC 2023

On Wed, 9 Aug 2023 13:41:59 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> (FWIW, I have some prototype for suggesting similar names for mistypes elements, although I was always on the fence on how useful is that in the real world.)

It remains to be seen how useful it will be. I'd imagine it'll be helpful to [on-ramp audience](https://openjdk.org/projects/amber/design-notes/on-ramp) in CLI and REPL. Additionally, it might be helpful for mistyped tags in jdk.javadoc. Unlike command-line options, the list of javadoc tags is not the easiest thing to obtain. Even if it were, sometimes even seasoned developers occasionally stumble upon `@returns` or `@throw`. In which case, a helpful error message will likely reduce head-scratching.


PR Comment: https://git.openjdk.org/jdk/pull/15157#issuecomment-1671379640

More information about the compiler-dev mailing list