summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2006-04-26 18:44:04 +0000
committerSilenio Quarti <silenio>2006-04-26 18:44:04 +0000
commitd4d83e9bda0ef720f842c49259231cc258ca06e7 (patch)
treeb480d626e3ab19f218e1bf19e2fdfbb5a715d931 /bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org
parent941fe0db3dd763ccfa22752197e6c0aece974d95 (diff)
downloadeclipse.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.java3
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]");
}