diff options
Diffstat (limited to 'src/nativewindow')
-rw-r--r-- | src/nativewindow/classes/com/sun/nativewindow/impl/NWReflection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nativewindow/classes/com/sun/nativewindow/impl/NWReflection.java b/src/nativewindow/classes/com/sun/nativewindow/impl/NWReflection.java index 99c8547..b13cf43 100644 --- a/src/nativewindow/classes/com/sun/nativewindow/impl/NWReflection.java +++ b/src/nativewindow/classes/com/sun/nativewindow/impl/NWReflection.java @@ -50,9 +50,9 @@ public final class NWReflection { return false; } - public static final Class getClass(String clazzName) { + public static final Class getClass(String clazzName, boolean initialize) { try { - return Class.forName(clazzName, false, NWReflection.class.getClassLoader()); + return Class.forName(clazzName, initialize, NWReflection.class.getClassLoader()); } catch (Throwable e) { } return null; } @@ -62,7 +62,7 @@ public final class NWReflection { Constructor factory = null; try { - factoryClass = getClass(clazzName); + factoryClass = getClass(clazzName, true); if (factoryClass == null) { throw new NativeWindowException(clazzName + " not available"); } |