Kaydet (Commit) acd3b6e6 authored tarafından Caolán McNamara's avatar Caolán McNamara

workaround IBM java 1.5.0 inconvertible types error

Change-Id: I84533723e9f42a27e2942c28b53232630db82e10
üst f6789641
......@@ -206,7 +206,8 @@ public final class java_environment implements IEnvironment {
// must only be called while synchronized on this Registry:
private void cleanUp() {
for (;;) {
Level2Entry l2 = (Level2Entry) queue.poll();
Object tmp = queue.poll();
Level2Entry l2 = (Level2Entry) tmp;
if (l2 == null) {
break;
}
......
......@@ -676,7 +676,8 @@ public final class TypeDescription implements ITypeDescription {
private void cleanUp() {
for (;;) {
Entry e = (Entry) queue.poll();
Object tmp = queue.poll();
Entry e = (Entry)tmp;
if (e == null) {
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment