diff options
author | Stephan Herrmann | 2010-09-04 23:33:25 +0000 |
---|---|---|
committer | Stephan Herrmann | 2010-09-04 23:33:25 +0000 |
commit | f06a7b09252fecd08933bbc096027802224cab4e (patch) | |
tree | a79a2227f05d0d5e191d024da5731b4d876415a8 /othersrc | |
parent | 7fe250b71afa982e3727b4ea3a6c6dbcf90aaff7 (diff) | |
download | org.eclipse.objectteams-f06a7b09252fecd08933bbc096027802224cab4e.tar.gz org.eclipse.objectteams-f06a7b09252fecd08933bbc096027802224cab4e.tar.xz org.eclipse.objectteams-f06a7b09252fecd08933bbc096027802224cab4e.zip |
Test & fix for Bug 324526 - [reconciler] NPE during AST creation, team in role file subclassing non-team role
And deploy JCLMin-updates into all relevant tests.
Diffstat (limited to 'othersrc')
8 files changed, 33 insertions, 3 deletions
diff --git a/othersrc/JCLMin1.5/src/java/lang/Boolean.java b/othersrc/JCLMin1.5/src/java/lang/Boolean.java index a83139621..b1dab7410 100644 --- a/othersrc/JCLMin1.5/src/java/lang/Boolean.java +++ b/othersrc/JCLMin1.5/src/java/lang/Boolean.java @@ -1,5 +1,5 @@ package java.lang; public class Boolean { - + public static Boolean TRUE = new Boolean(); } diff --git a/othersrc/JCLMin1.5/src/java/lang/IllegalThreadStateException.java b/othersrc/JCLMin1.5/src/java/lang/IllegalThreadStateException.java new file mode 100644 index 000000000..bca8ddc2b --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/lang/IllegalThreadStateException.java @@ -0,0 +1,9 @@ +package java.lang; + +public class IllegalThreadStateException extends IllegalArgumentException { + + public IllegalThreadStateException(java.lang.String msg) { + super(msg); + } + +} diff --git a/othersrc/JCLMin1.5/src/java/lang/Runnable.java b/othersrc/JCLMin1.5/src/java/lang/Runnable.java new file mode 100644 index 000000000..7c2cc0f99 --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/lang/Runnable.java @@ -0,0 +1,5 @@ +package java.lang; + +public interface Runnable { + +} diff --git a/othersrc/JCLMin1.5/src/java/lang/StringBuilder.java b/othersrc/JCLMin1.5/src/java/lang/StringBuilder.java new file mode 100644 index 000000000..3c2b27afe --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/lang/StringBuilder.java @@ -0,0 +1,5 @@ +package java.lang; + +public class StringBuilder { + +} diff --git a/othersrc/JCLMin1.5/src/java/lang/Thread.java b/othersrc/JCLMin1.5/src/java/lang/Thread.java index 25c402564..fbe8a3d87 100644 --- a/othersrc/JCLMin1.5/src/java/lang/Thread.java +++ b/othersrc/JCLMin1.5/src/java/lang/Thread.java @@ -4,4 +4,6 @@ public class Thread implements Runnable { public void run() { } + public static Thread currentThread() { return null; } + public boolean isAlive() { return true; } } diff --git a/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java b/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java index d1f347945..0d69ac37b 100644 --- a/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java +++ b/othersrc/JCLMin1.5/src/java/lang/ThreadLocal.java @@ -1,5 +1,5 @@ package java.lang; public class ThreadLocal<T> { - + protected synchronized T initialValue() { return null; } } diff --git a/othersrc/JCLMin1.5/src/java/util/HashSet.java b/othersrc/JCLMin1.5/src/java/util/HashSet.java new file mode 100644 index 000000000..01ac0330f --- /dev/null +++ b/othersrc/JCLMin1.5/src/java/util/HashSet.java @@ -0,0 +1,5 @@ +package java.util; + +public class HashSet<E> { + +} diff --git a/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java b/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java index dc59d3fb2..a007d722b 100644 --- a/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java +++ b/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java @@ -1,5 +1,9 @@ package java.util; public class WeakHashMap<K,V> extends AbstractMap<K,V> { - + public V put(K k, V v) { return v; } + public void clear() {} + public boolean isEmpty() { return true; } + public boolean containsKey(V v) { return true; } + public V remove(Object o) { return null; } } |