Javadoc nit Throwable#getStackTraceElement
David Holmes
david.holmes at oracle.com
Sun Mar 22 09:22:30 UTC 2015
On 22/03/2015 6:47 PM, Bernd wrote:
> Oh yes, sorry of course. My report was about the wrong % entity escape.
> The expression should be >= like before.
I missed the % vs & :)
But I don't see this in our sources going back a long long time - where
did you see this?
Thanks,
David
> Greetings
> Bernd
>
>
> David Holmes <david.holmes at oracle.com <mailto:david.holmes at oracle.com>>
> schrieb am So., 22. Mär. 2015 09:37:
>
> On 22/03/2015 9:54 AM, Bernd Eckenfels wrote:
> > There is an typo in the javadoc,
> >
> > * @throws IndexOutOfBoundsException if <tt>index %lt; 0 ||
> > * index >= getStackTraceDepth() </tt>
> >
> > Maybe using {@code index < 0 || index > getStackTraceDepth()}
> > would be better here?
>
> Don't we index from zero to getStackTraceDepth()-1 ? So >= would be
> correct.
>
> David
>
> > Gruss
> > Bernd
> >
>
More information about the core-libs-dev
mailing list