MumbleCloseable

Remi Forax forax at univ-mlv.fr
Thu Jul 11 13:36:25 PDT 2013


On 07/11/2013 10:24 PM, Tim Peierls wrote:
> On Thu, Jul 11, 2013 at 1:50 PM, Remi Forax <forax at univ-mlv.fr 
> <mailto:forax at univ-mlv.fr>> wrote:
>
>     Remove the annotation and MayHoldCloseableResource and document in
>     Stream that Stream doesn't follow the strict semantics of
>     AutoCloseable.
>     It will be enough for static analysis tools for 8 and post pone
>     the inclusion of MayHoldCloseableResource in 9.
>
>
> That sounds good to me. I think the whole MayHoldCloseableResource 
> design has been too rushed.
>
> --tim
>
>

as I said privately to Brian, the other problem is that I was wondering 
if we should not have a solution that works not only for resources but 
for all other warnings. Basically, @SupressWarnings but it works at 
callsite and what we want here is something that works at declaration site.

Rémi



More information about the lambda-libs-spec-observers mailing list