[jdk10] RFR for 'JDK-8177721: Improve diagnostics in sun.management.Agent#startAgent()

Daniel Fuchs daniel.fuchs at oracle.com
Thu Apr 13 09:25:01 UTC 2017


On 13/04/2017 02:15, David Holmes wrote:
> Overall the exception management in this code looks like it predate the
> existence of an "exception cause" and should probably be updated to
> utilize that more effectively.

Hi David,

I think the original idea was to display a localized message to the
end user - and not frighten him with a big unlocalized stack trace.

But I otherwise agree with your suggestion.

best regards,

-- daniel


More information about the serviceability-dev mailing list