[JSR308] Can we agree on our goals?

Trevor Harmon trevor at vocaro.com
Fri Feb 2 21:43:30 EST 2007


On Feb 2, 2007, at 6:21 PM, Hani Suleiman wrote:

> It's even debatable whether it should be allowed on loops, given  
> that forcing a block onto a loop to annotate it seems somewhat  
> awkward.

I thought putting blocks around loops to annotate them was not being  
forced, it was just one suggestion of how it might be implemented.  
For instance, is it not possible to modify javac to allow annotations  
directly on loops?

@LoopMax(10)
while (i < j)
{
  ...
}

That doesn't seem awkward at all.

Trevor




More information about the JSR308 mailing list