I was trying to get to the root of some repeatedly failing unit test while preparing the upgrade to JUnit 4.
The FailSafeTransaction.rollback does nothing if the destination file or the intermediate are still locked, e.g. from a File*putStream. This is because File.delete() fails and subsequently ptoF.renameTo(...)
The rollback should fail in this case by throwing an IOException. I'd fix it myself, but I cannot clone libjitsi currently. Can someone please give this a try?
-- sent from my mobile