summaryrefslogtreecommitdiffstats
path: root/core/java/android/util
diff options
context:
space:
mode:
authorLászló Dávid <laszlo.david@gmail.com>2012-11-23 00:26:22 +0100
committerChet Haase <chet@google.com>2012-11-27 11:11:10 -0800
commit6ead9418ff2ae1633b6393625e33697bcd1f4093 (patch)
tree166775f51699644b9d2d31c7c5eeb0e41b3bcacb /core/java/android/util
parent6f3b20ccc14c25173780f01c621dbb2279cd8236 (diff)
downloadframeworks_base-6ead9418ff2ae1633b6393625e33697bcd1f4093.zip
frameworks_base-6ead9418ff2ae1633b6393625e33697bcd1f4093.tar.gz
frameworks_base-6ead9418ff2ae1633b6393625e33697bcd1f4093.tar.bz2
Fix infinite recursive loop DO NOT MERGE
FindBugs description: There is an apparent recursive loop at IntProperty.java in method set(Object, Integer) This method unconditionally invokes itself. This would seem to indicate an infinite recursive loop that will result in a stack overflow. Note: Checked into AOSP. Cherry-picking for mr1.1. Issue #7621806 IntProperty has infinite recursion bug Change-Id: I2f52dd3689198cb948925aa65dd9c95be7888fe7
Diffstat (limited to 'core/java/android/util')
-rw-r--r--core/java/android/util/IntProperty.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/util/IntProperty.java b/core/java/android/util/IntProperty.java
index 459d6b2..17977ca 100644
--- a/core/java/android/util/IntProperty.java
+++ b/core/java/android/util/IntProperty.java
@@ -42,7 +42,7 @@ public abstract class IntProperty<T> extends Property<T, Integer> {
@Override
final public void set(T object, Integer value) {
- set(object, value.intValue());
+ setValue(object, value.intValue());
}
} \ No newline at end of file