Bug 406518 - migrate OT/Equinox to the standard OSGi WeavingHook
Bugfix: overloaded needed for javaagent doesn't work w/o expl. cast.
diff --git a/plugins/org.eclipse.objectteams.runtime/src/org/eclipse/objectteams/otre/jplis/ObjectTeamsTransformer.java b/plugins/org.eclipse.objectteams.runtime/src/org/eclipse/objectteams/otre/jplis/ObjectTeamsTransformer.java
index 9d70991..315013e 100644
--- a/plugins/org.eclipse.objectteams.runtime/src/org/eclipse/objectteams/otre/jplis/ObjectTeamsTransformer.java
+++ b/plugins/org.eclipse.objectteams.runtime/src/org/eclipse/objectteams/otre/jplis/ObjectTeamsTransformer.java
@@ -76,7 +76,7 @@
 	public byte[] transform(ClassLoader loader, String className,
 			Class<?> classBeingRedefined, ProtectionDomain protectionDomain,
 			byte[] classfileBuffer) throws IllegalClassFormatException {
-		return transform(loader, className, classBeingRedefined, protectionDomain, classfileBuffer);
+		return transform((Object)loader, className, classBeingRedefined, protectionDomain, classfileBuffer);
 	}
 	
 	public byte[] transform(Object loader, String className, Class<?> classBeingRedefined,