Skip to content

Commit 6ead941

Browse files
dlaszlochethaase
authored andcommitted
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
1 parent 6f3b20c commit 6ead941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/util/IntProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public IntProperty(String name) {
4242

4343
@Override
4444
final public void set(T object, Integer value) {
45-
set(object, value.intValue());
45+
setValue(object, value.intValue());
4646
}
4747

4848
}

0 commit comments

Comments
 (0)