src/share/classes/com/sun/java/browser/dom/DOMService.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -44,11 +44,11 @@
try
{
String provider = (String) java.security.AccessController.doPrivileged(
new sun.security.action.GetPropertyAction("com.sun.java.browser.dom.DOMServiceProvider"));
- Class clazz = DOMService.class.forName("sun.plugin.dom.DOMService");
+ Class clazz = Class.forName("sun.plugin.dom.DOMService");
return (DOMService) clazz.newInstance();
}
catch (Throwable e)
{