Summary: It seems that the `close()` method that should normally be called on an object `obj` of type `java.io.Closeable` is sometimes called on `obj` of type `java.lang.Object`. It did not fully understand in which case this happens but it could be coming from a bug in Sawja since the type of `obj` in the bytecode is correct, but the Sawja reciever expression given to the Java frontend has the type `java.lang.Object`. In any case, it does not hurt to always consider that `obj.close()` will replace the `FILE` attribute on `obj` by a `MEM` attribute. Reviewed By: sblackshear Differential Revision: D4540627 fbshipit-source-id: 71f9c95master
parent
3f3b0e5fe1
commit
ecfb00e068
Loading…
Reference in new issue