RFR: 8150303: Rewrite test/tools/javac/Paths/Diagnostics.sh

Jonathan Gibbons jjg at openjdk.java.net
Wed Jan 6 14:56:55 UTC 2021


On Wed, 6 Jan 2021 14:18:49 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

> This patch rewrites Diagnostics.sh to java code by using ToolBox API.
> And I have a question: What does the elts mean in the following comments? Is it elements?
> I think that a meaningful name should be used.

Brave person. There's a reason no one has converted this test so far.

To answer your specific question: yes, `elts` should be read as an abbreviation for `elements` and yes, it would be good to clarify it.

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

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


More information about the compiler-dev mailing list