RFR, fix for 8027914, compact1/2 VM exits silently with -Dcom.sun.management argument

Bill Pittore bill.pittore at oracle.com
Sun Nov 10 10:57:12 PST 2013


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.

thanks,
bill

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.
>>
>> http://cr.openjdk.java.net/~bpittore/8027914/webrev.00/
>>
>
> Since sun.management.Agent is not always present, would it better to  
> change to call resolve_or_null and check the returned Klass?
>
> Mandy




More information about the hotspot-runtime-dev mailing list