diff options
author | Silenio Quarti <silenio> | 2006-04-26 18:44:04 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2006-04-26 18:44:04 +0000 |
commit | d4d83e9bda0ef720f842c49259231cc258ca06e7 (patch) | |
tree | b480d626e3ab19f218e1bf19e2fdfbb5a715d931 /bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org | |
parent | 941fe0db3dd763ccfa22752197e6c0aece974d95 (diff) | |
download | eclipse.platform.swt-d4d83e9bda0ef720f842c49259231cc258ca06e7.tar.gz eclipse.platform.swt-d4d83e9bda0ef720f842c49259231cc258ca06e7.tar.xz eclipse.platform.swt-d4d83e9bda0ef720f842c49259231cc258ca06e7.zip |
adding copyrights
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java index 3d32faa5f8..caad6ac42c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java @@ -130,7 +130,8 @@ public static Frame new_Frame (final Composite parent) { Class clazz = null; try { String className = embeddedFrameClass != null ? embeddedFrameClass : "sun.awt.X11.XEmbeddedFrame"; - clazz = Class.forName(className); + ClassLoader loader = Thread.currentThread().getContextClassLoader(); + clazz = Class.forName(className, true, loader); } catch (Throwable e) { SWT.error (SWT.ERROR_NOT_IMPLEMENTED, e, " [need JDK 1.5 or greater]"); } |