Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-09-30 14:26:33 +0000
committerStephan Herrmann2010-09-30 14:26:33 +0000
commit91b0473c02042e7a71bf4b7a195594b9b3405e9e (patch)
tree3e500e4836db82f1afc7ec6341456ff18f6c6d8b /othersrc
parent41dcbc02bc6d21a24b7c6659a5548a42fcbb9394 (diff)
downloadorg.eclipse.objectteams-91b0473c02042e7a71bf4b7a195594b9b3405e9e.tar.gz
org.eclipse.objectteams-91b0473c02042e7a71bf4b7a195594b9b3405e9e.tar.xz
org.eclipse.objectteams-91b0473c02042e7a71bf4b7a195594b9b3405e9e.zip
Fix a regression in OTReconcilerTest.testRoFiNestedTeam():
- copying team methods _OT$save/restoreActivationState() requires more JCL methods to be resolvable. -> update JCLMin sources and deploy into test projects
Diffstat (limited to 'othersrc')
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Boolean.java2
-rw-r--r--othersrc/JCLMin1.5/src/java/util/WeakHashMap.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/othersrc/JCLMin1.5/src/java/lang/Boolean.java b/othersrc/JCLMin1.5/src/java/lang/Boolean.java
index b1dab7410..86d214175 100644
--- a/othersrc/JCLMin1.5/src/java/lang/Boolean.java
+++ b/othersrc/JCLMin1.5/src/java/lang/Boolean.java
@@ -2,4 +2,6 @@ package java.lang;
public class Boolean {
public static Boolean TRUE = new Boolean();
+ public boolean booleanValue() { return false; }
+ public static Boolean valueOf(boolean bool) { return TRUE; }
}
diff --git a/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java b/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java
index a007d722b..cad347f8c 100644
--- a/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java
+++ b/othersrc/JCLMin1.5/src/java/util/WeakHashMap.java
@@ -5,5 +5,6 @@ public class WeakHashMap<K,V> extends AbstractMap<K,V> {
public void clear() {}
public boolean isEmpty() { return true; }
public boolean containsKey(V v) { return true; }
+ public V get(Object o) { return null; }
public V remove(Object o) { return null; }
}

Back to the top