RFR(M): 8202745: Remove hyphens from "out-of-bounds".

Andrew Haley aph at redhat.com
Tue May 8 08:04:45 UTC 2018


On 07/05/18 23:08, John Rose wrote:
> You_may_  use "out-of-bounds" when it modifies a noun.
> The form "out-of-bounds" is a compound adjective.
> It is the compound-adjective form of "out of bounds".
> 
> See Rule 1 of this page:
>    https://www.grammarbook.com/punctuation/hyphens.asp

We should be internally consistent.  The JLS hyphenates compound
adjectives and appears to do so consistently.  For example:
"An attempt access an array component with a long index value
results in a compile-time error."

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the core-libs-dev mailing list