Redundant check in

Alan Bateman Alan.Bateman at
Fri Nov 29 15:37:52 UTC 2013

On 29/11/2013 14:43, Alex Yursha wrote:
> Hi everyone, the summary of this issue is that it seems like
> executes a useless check that
> duplicates the functionality provided by java.lang.String.startsWith().
> Below is a jdk7 code for method
> with the lines of interest highlighted in bold:
On the surface this it does appear to be unnecessary so I'd suggest 
bringing it up on security-dev where this area is maintained (it looks 
like BasicPermission could do with at least some clean-up anyway).


More information about the core-libs-dev mailing list