Bug 494254 - Validation for superBase declarations in aspectBindings

- no superBase for abstract needed
- fix first few confirmed errors
diff --git a/plugins/org.eclipse.objectteams.otdt.debug.adaptor/plugin.xml b/plugins/org.eclipse.objectteams.otdt.debug.adaptor/plugin.xml
index 200ce84..7b9d983 100644
--- a/plugins/org.eclipse.objectteams.otdt.debug.adaptor/plugin.xml
+++ b/plugins/org.eclipse.objectteams.otdt.debug.adaptor/plugin.xml
@@ -35,6 +35,10 @@
                activation="NONE"
                class="org.eclipse.objectteams.otdt.internal.debug.adaptor.VariablesViewAdaptor"
                icon="platform:/plugin/org.eclipse.objectteams.otdt.ui/icons/ot/team_obj.gif">
+            <superBase
+                  class="org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider"
+                  plugin="org.eclipse.debug.ui">
+            </superBase>
          </team>
          <team
                activation="ALL_THREADS"
@@ -45,6 +49,9 @@
                activation="ALL_THREADS"
                class="org.eclipse.objectteams.otdt.internal.debug.adaptor.launching.JDTDebugUILaunchingAdaptor"
                icon="platform:/plugin/org.eclipse.objectteams.otdt.ui/icons/ot/team_obj.gif">
+            <superBase
+                  class="org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab">
+            </superBase>
          </team>
          <team
                activation="NONE"
diff --git a/plugins/org.eclipse.objectteams.otdt.pde.ui/src/org/eclipse/objectteams/otdt/internal/pde/validation/BundleValidation.java b/plugins/org.eclipse.objectteams.otdt.pde.ui/src/org/eclipse/objectteams/otdt/internal/pde/validation/BundleValidation.java
index d261984..014ace0 100644
--- a/plugins/org.eclipse.objectteams.otdt.pde.ui/src/org/eclipse/objectteams/otdt/internal/pde/validation/BundleValidation.java
+++ b/plugins/org.eclipse.objectteams.otdt.pde.ui/src/org/eclipse/objectteams/otdt/internal/pde/validation/BundleValidation.java
@@ -348,6 +348,8 @@
 							for (IMethodBinding basemethod : mappingBinding.getBaseMethods()) {
 								if (!mappingBinding.isCallin() && Flags.isPublic(basemethod.getModifiers()))
 									continue; // no weaving required for callout to public
+								if (Flags.isAbstract(basemethod.getModifiers()))
+									continue; // no code to weave
 								// find overridden
 								for (IMethodBinding overriddenMethod : Bindings.findOverriddenMethods(basemethod, true, false)) {									
 									// remember package of declaring class