Open GoogleCodeExporter opened 9 years ago
A first version of this was pushed.
Original comment by wdi...@gmail.com
on 15 Nov 2011 at 5:36
Thanks for the fixes.
Most problems are taken care of, in part because Properties extends
Hashtable<...,@NonNull Object>. However, it is still possible to remove a key
from a Properties. This can be done via
checker-framework/checkers/tests/nullness/MisuseProperties.javaSystem.clearPrope
rty(), Properties.remove(), Properties.clear().
More problematically, it can also be done by treating a Properties as a
Hashtable or Dictionary, then calling calling remove() or removeAll() or
clear() or manipulating its keyset, valueset, or entryset.
I have added some test cases (not yet enabled), and some possible designs for
sound checking, to file
checker-framework/checkers/tests/nullness/MisuseProperties.java. These are
unsoundnesses, but perhaps relatively obscure ones.
Original comment by michael.ernst@gmail.com
on 13 Sep 2012 at 4:56
Original issue reported on code.google.com by
michael.ernst@gmail.com
on 12 Jul 2010 at 4:25