The default constructor of XmlRpc (Head) tries to get the property
TypeFactory.class.getName(). This might throw an
AccessControlException, if an Applet does not have the appropriate
rights. But usually it is not necessary to get this property as there
is a (good) default.
In my opinion the correct code would be

XmlRpc()
{
  String typeFactory = null;
  try
  {
    typeFactory = System.getProperty(TypeFactory.class.getName());
  }
  catch (java.lang.AccessControlException e)
  {
    ...
  }

  this(typeFactory);
}


Regards
Christoph


Reply via email to