Community
Participate
Working Groups
while testing bug 499037, found this issue (unrelated to the fix in that bug), Given the following with resource leak error flagging enabled: class X { void test(boolean b) throws Exception { Y y = new Y(); if (b) { try (y) {} } else { bar(y); // Potential resource leak: '<unassigned Closeable value>' may not be closed y.close(); } } } class Y implements AutoCloseable { @Override public void close() throws Exception { // TODO Auto-generated method stub } } results in this error of Potential resouce Leak being flagged twice instead of once
bulk move out of 4.19 - retarget once an owner is assigned
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.