RFR (XS): [findbugs] sun.management.AgentConfigurationError.getParams() may expose internal representation by returning AgentConfigurationError.params

Staffan Larsen staffan.larsen at oracle.com
Mon Apr 29 05:43:38 PDT 2013


On 29 apr 2013, at 14:15, Dmitry Samersoff <Dmitry.Samersoff at oracle.com> wrote:

> Staffan,
> 
> 1. bug is not available (yet?) on bugs.sun.com

It'll probably take a couple of hours (as usual).

> 2. you probably can use arraycopy routine.

I could, but I stuck to the same code as was already in the class. It's not performance critical.

/Staffan

> 
> -Dmitry
> 
> On 2013-04-29 14:54, Staffan Larsen wrote:
>> Please review the following small fix to avoid exposing an internal representation.
>> 
>> webrev: http://cr.openjdk.java.net/~sla/8003671/webrev.00/
>> bug: http://bugs.sun.com/view_bug.do?bug_id=8003671
>> 
>> Thanks,
>> /Staffan
>> 
> 
> 
> -- 
> Dmitry Samersoff
> Oracle Java development team, Saint Petersburg, Russia
> * Give Rabbit time, and he'll always get the answer



More information about the serviceability-dev mailing list