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, [email protected] 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