Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #349326 +++ This bug is to track the new Errors/warning preferences UI. New options are: - Potentially unclosed variable of type closeable. - Unclosed variable of type closeable - Resource of type Autocloseable not managed with try-with-resource (1.7+ only)
(In reply to comment #0) > - Resource of type Autocloseable not managed with try-with-resource (1.7+ only) This, I believe, is an internal error that the UI can used for quick fixes. So no UI needed for this. Right, Stephan?
(In reply to comment #1) > (In reply to comment #0) > > - Resource of type Autocloseable not managed with try-with-resource (1.7+ only) > > This, I believe, is an internal error that the UI can used for quick fixes. So > no UI needed for this. Right, Stephan? It seems we've changed our minds (see bug 349326 comment 65). So, UI for that option would be needed, too.
Fixed in HEAD. Commit - d77b8b62a5936fdb3c349c4e513bf9c3b2fefa81 The labels for new warnings are Resource leak: Potential resource leak: Resource not managed via try-with-resource (1.7 or higher): I also changed 'Redundant type arguments' to 'Redundant type arguments (1.7 or higher):'
Verified in I20111025-1800.
Verified through code inspection.