Fix regression in SourceDebugExtensionTest()
- don't fiddle with a Repository which won't find the file, but directly go for a ClassParser.
diff --git a/testplugins/org.eclipse.objectteams.otdt.debug.tests/src/org/eclipse/objectteams/otdt/debug/tests/ClassAttributeReader.java b/testplugins/org.eclipse.objectteams.otdt.debug.tests/src/org/eclipse/objectteams/otdt/debug/tests/ClassAttributeReader.java
index 76d77ef..fdc80aa 100644
--- a/testplugins/org.eclipse.objectteams.otdt.debug.tests/src/org/eclipse/objectteams/otdt/debug/tests/ClassAttributeReader.java
+++ b/testplugins/org.eclipse.objectteams.otdt.debug.tests/src/org/eclipse/objectteams/otdt/debug/tests/ClassAttributeReader.java
@@ -20,16 +20,13 @@
  **********************************************************************/
 package org.eclipse.objectteams.otdt.debug.tests;

 

-import java.io.IOException;

-import java.util.HashMap;

-import java.util.Hashtable;

-import java.util.LinkedList;

-import java.util.List;

-import java.util.Vector;

-

-import org.eclipse.core.runtime.IPath;

-

-import org.apache.bcel.Repository;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Hashtable;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Vector;
+
 import org.apache.bcel.classfile.Attribute;
 import org.apache.bcel.classfile.ClassFormatException;
 import org.apache.bcel.classfile.ClassParser;
@@ -38,6 +35,7 @@
 import org.apache.bcel.classfile.JavaClass;
 import org.apache.bcel.classfile.Method;
 import org.apache.bcel.classfile.Unknown;
+import org.eclipse.core.runtime.IPath;
 

 /**

  * @author ike

@@ -61,10 +59,8 @@
     public ClassAttributeReader(IPath classFilePath)

     {

         try {
-        	if ((_javaclass = Repository.lookupClass(classFilePath.toOSString())) == null) {
-                _javaclass = new ClassParser(classFilePath.toOSString()).parse(); // May throw

-                readAndStoreAttributes();
-        	}
+             _javaclass = new ClassParser(classFilePath.toOSString()).parse(); // May throw
+             readAndStoreAttributes();

         }
         catch (ClassFormatError e)
         {
@@ -78,9 +74,6 @@
         } catch (ClassFormatException e) {
             _error = e.getMessage();
 			e.printStackTrace();
-		} catch (ClassNotFoundException e) {
-            _error = e.getMessage();
-			e.printStackTrace();
 		}
     }