RFR: 8023997 : j.l.String.join(java.lang.CharSequence, java.lang.Iterable) sample doesn't compile and is incorrect

Alan Bateman Alan.Bateman at oracle.com
Fri Aug 30 07:53:22 UTC 2013


On 30/08/2013 07:44, Henry Jen wrote:
> Hi,
>
> Please kindly review a simple webrev that just fixes a sample in the
> javadoc of String.join().
>
> http://cr.openjdk.java.net/~henryjen/tl/8023997/0/webrev/
>
This looks okay to me.

I note in the bug report that the example is considered normative but 
that doesn't seem right (at least I've always thought of examples/code 
fragments in the javadoc as just helpful, but non-normative, text). So 
maybe the bug report is also looking for @apiNote to be added?

-Alan.



More information about the core-libs-dev mailing list