RFR, fix for 8027914, compact1/2 VM exits silently with -Dcom.sun.management argument
david.holmes at oracle.com
Mon Nov 11 17:39:55 PST 2013
On 12/11/2013 3:11 AM, bill pittore wrote:
> Modified change based on feedback. New webrev at
Looks good to me.
> On 11/10/2013 1:57 PM, Bill Pittore wrote:
>> I think that's a good idea since we now have the distinct possibility
>> of the class not being available in certain profiles. I'll re-do the
>> change and send out a new webrev.
>> On 11/8/2013 9:45 PM, Mandy Chung wrote:
>>> On 11/8/2013 8:08 AM, bill.pittore at oracle.com wrote:
>>>> If you are running a non-minimal VM build with compact 1 or 2 JRE
>>>> and you pass in -Dcom.sun.management argument, VM will exit silently
>>>> with exit code 1. Fix adds an error check when attempting to load
>>>> the class sun.management.Agent (missing from compact 1 and 2) and
>>>> will print a message before exiting.
>>> Since sun.management.Agent is not always present, would it better to
>>> change to call resolve_or_null and check the returned Klass?
More information about the serviceability-dev