On Thu, 10 Nov 2022 02:18:35 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

>> The whole class is only used in the same package at the moment. Making only 
>> one method package private is not fair.
>
> Hm, maybe making this class package private as well?  The returned array is 
> not cloned.   It may not worthy of a clone as it is used just once in the 
> package.  But if it is public, a lot of time would be costed in the future to 
> check if is a potential issue.

Fair enough. I'll fix it.

-------------

PR: https://git.openjdk.org/jdk/pull/11070

Reply via email to