You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Immutable does not have RetentionPolicy.RUNTIME then there is no easy way to
test for immutability.
I've been writing a Test-by-Contract JUnit system which would be able to test
for Immutability, but this is dependent upon @Immutable, and perhaps a few
other annotations, being available at runtime.
Original issue reported on code.google.com by [email protected] on 23 Oct 2011 at 4:31
The text was updated successfully, but these errors were encountered:
JSR107 needs a runtime annotation for classes that are @Immutable for the
specific case mentioned.
https://github.com/jsr107/jsr107spec/issues/9
Because JSR305 doesn't have any timeframe for completion, it's likely a
different one will be defined as part of JSR107 that will have
RetentionPolicy.RUNTIME
Original issue reported on code.google.com by
[email protected]
on 23 Oct 2011 at 4:31The text was updated successfully, but these errors were encountered: