[7u] Request for approval for 8005460: [findbugs] Probably returned array should be cloned

Seán Coffey sean.coffey at oracle.com
Thu Apr 11 06:05:20 PDT 2013


Approved.

regards,
Sean.

On 11/04/2013 05:24, Weijun Wang wrote:
> Hi All
>
> This is a request to backport a jdk8 fix into jdk7u-dev.
>
>     8005460: [findbugs] Probably returned array should be cloned
>
> It's about sun.security.krb5.PrincipalName::getNameStrings returning 
> the internal data without a clone, although a comment in the code 
> explicitly warns to clone the array before passing it out.
>
> The fix is already included in jdk8 as:
>
>    http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6f8e1428f7c3
>    Reviewed-by: xuelei
>
> The patch for jdk7u is identical to the one in jdk8.
>
> Thanks
> Weijun




More information about the jdk7u-dev mailing list