Checkstyle AvoidNestedBlocksCheck

Andrew Haley aph at redhat.com
Thu Dec 8 15:43:57 UTC 2016


On 08/12/16 15:40, Stefan Marr wrote:
> Can you give a name to the block?
> 
> If so, it might improve readability to break out such blocks into methods consistently.

This is hand-written assembly code.  It's just a loop.  All I'm doing
is looping over two strings, comparing them.  If I make the label
global and remove the braces Checkstyle stops complaining, which is
what I've done.  The code is now compliant and worse: it's much like
the equivalent x86 code.

Andrew.


More information about the graal-dev mailing list