Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2011-05-05 11:55:17 -0400
committerThomas Watson2011-05-05 11:55:17 -0400
commit8a106ac643666e9262e3d01186ef55bc090e928b (patch)
treee8bd7d9a9a6e53d2e100980b9d56e76b5f109853
parent0b9ab6d53b56fcee413c023c4926a4981cd488c6 (diff)
downloadrt.equinox.framework-8a106ac643666e9262e3d01186ef55bc090e928b.tar.gz
rt.equinox.framework-8a106ac643666e9262e3d01186ef55bc090e928b.tar.xz
rt.equinox.framework-8a106ac643666e9262e3d01186ef55bc090e928b.zip
Bug 344855 - ClassCastException inside debug code prevents tests from being run in debug modeR36x_v20110505
-rw-r--r--bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/MappedList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/MappedList.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/MappedList.java
index ade618a58..706d5b953 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/MappedList.java
+++ b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/MappedList.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2010 IBM Corporation and others.
+ * Copyright (c) 2005, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -75,7 +75,7 @@ public class MappedList {
while (iter.hasNext()) {
Object value = iter.next();
if (value.getClass().isArray()) {
- Object[] values = (Object[]) iter.next();
+ Object[] values = (Object[]) value;
for (int i = 0; i < values.length; i++)
results.add(values[i]);
} else

Back to the top