Hello David, interesting, I thought I saw it in 8u40, however when I check more closely it was Eclipse suggesting me the source of a 1.5 JDK (even when the project I was working with was using 8u40). It has already a @code element. So sorry for the false report.
BTW: speaking of Throwable, the actual reason why I was browsing this part of the source is because I noticed that ArrayIndexOutOfBounds exception has a (int index) constructor (which creates a nice detailed message) but a lot of the users (including the VM code for array overflows it seems) do not use it - which results in pretty ugly getMessage() == "2" or "2 > 1" (or similar). Gruss Bernd Am Sun, 22 Mar 2015 19:22:30 +1000 schrieb David Holmes <[email protected]>: > 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 <[email protected] > > <mailto:[email protected]>> 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 > > > > >
