RFR: 8286206: Missing cases for RECORD

Jonathan Gibbons jjg at openjdk.java.net
Mon Jun 6 20:35:51 UTC 2022


On Mon, 6 Jun 2022 14:40:01 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Adds handling of `ElementKind.RECORD` to JShell's code completion.

I can't easily verify whether you have found all the necessary places to update, but I do understand/approve what I see here.

On switch statements, like at JavadocHelper:701, would it help to list the cases now covered by default, and use `default` as an "error" to catch unhandled new cases in future?

-------------

Marked as reviewed by jjg (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/9042


More information about the javadoc-dev mailing list