Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6
-
None
-
None
-
OS X,
Description
I have a class annotated with @Bindable and a field declared final. For example:
@Bindable
class Foo {
final int bar
int baz
}
When I do this:
new Foo().bar = 10
I get an appropriate Unmodifiable exception
When I do this:
new Foo().setBar(10)
I don't get the exception. From what I understand, there shouldn't even be a setBar when bar is final.