* Test the method isSupported(String) with insufficient privilege to use
* charset provider.
*/
public void testIsSupported_InsufficientPrivilege() throws Exception {
SecurityManager oldMan = System.getSecurityManager();
System.setSecurityManager(new MockSecurityManager());
try {
Charset.isSupported("UTF-8");
try {
StringBuffer sb = new StringBuffer();