Java 8 RFR 8020539: Clean up doclint problems in java.util package, part 2

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jul 18 19:04:46 UTC 2013


On Jul 18, 2013, at 11:50 AM, Joe Darcy wrote:

>> This I interpret to mean the second example in the first block in this section http://docs.oracle.com/javase/specs/jls/se7/html/jls-2.html#jls-2.4.
> 
> Right (although the on-line rendering in the browser I'm using while typing this doesn't look very clear in distinguishing the terminals and non-terminals).
> 
> I've used this notation for grammars in java.lang.Integer and java.lang.Double.

I don't at first glance see a mapping of the regular expression "+" (one or more) to something in the JLS grammar. There are

	?	=>	[x]		zero or one x
	*	=>	{x}		zero or more x

but nothing (succinct at least) apparent for the plus sign.

Thanks,

Brian


More information about the core-libs-dev mailing list