Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-05-05 19:52:45 -0400
committerStephan Herrmann2010-05-05 19:52:45 -0400
commit0634c04d033ac01db78983b50f80683bca8e7dae (patch)
tree7024778a0c5010582658fc34dc9a7d62176530c2 /org.eclipse.jdt.core.tests.model
parente49b4bed58e6af8eb4799e95b0fdef12858ac379 (diff)
downloadorg.eclipse.objectteams-0634c04d033ac01db78983b50f80683bca8e7dae.tar.gz
org.eclipse.objectteams-0634c04d033ac01db78983b50f80683bca8e7dae.tar.xz
org.eclipse.objectteams-0634c04d033ac01db78983b50f80683bca8e7dae.zip
add missing test resource from jdt tests.
Diffstat (limited to 'org.eclipse.jdt.core.tests.model')
-rw-r--r--org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/AbstractBugTest.java9
-rw-r--r--org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/BugTest2Buggy.java17
2 files changed, 26 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/AbstractBugTest.java b/org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/AbstractBugTest.java
new file mode 100644
index 000000000..52c3a5510
--- /dev/null
+++ b/org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/AbstractBugTest.java
@@ -0,0 +1,9 @@
+package p288698.example;
+
+/**
+ * Abstract class
+ *
+ * @author Ivan
+ */
+public abstract class AbstractBugTest {
+}
diff --git a/org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/BugTest2Buggy.java b/org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/BugTest2Buggy.java
new file mode 100644
index 000000000..f1f5e3b90
--- /dev/null
+++ b/org.eclipse.jdt.core.tests.model/workspace/TypeHierarchy/src288698.classbug/p288698/BugTest2Buggy.java
@@ -0,0 +1,17 @@
+package p288698;
+
+/**
+ * create type hierarchy for class @see AbstractBugTest
+ * You will get @see java.lang.reflect.InvocationTargetException where Root exception is:
+ *
+ * @see java.lang.StringIndexOutOfBoundsException: String index out of range: -27; method substring (), called by @see
+ * org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.java : 475
+ *
+ * @author Ivan
+ */
+public class BugTest2Buggy {
+ public void testIt () {
+ new AbstractBugTest() {};
+ }
+}
+

Back to the top