RFR, fix for 8027914, compact1/2 VM exits silently with -Dcom.sun.management argument
mandy.chung at oracle.com
Fri Nov 8 18:45:22 PST 2013
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