Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 205404 Details for
Bug 359727
[1.7][doc] Update doc for new resource leak warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
doc-update
Bug_359727.patch (text/plain), 3.97 KB, created by
Stephan Herrmann
on 2011-10-18 05:58:01 EDT
(
hide
)
Description:
doc-update
Filename:
MIME Type:
Creator:
Stephan Herrmann
Created:
2011-10-18 05:58:01 EDT
Size:
3.97 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.doc.isv >Index: guide/jdt_api_options.htm >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.doc.isv/guide/jdt_api_options.htm,v >retrieving revision 1.93 >diff -u -r1.93 jdt_api_options.htm >--- guide/jdt_api_options.htm 31 Aug 2011 17:49:35 -0000 1.93 >+++ guide/jdt_api_options.htm 18 Oct 2011 09:51:00 -0000 >@@ -1442,7 +1442,6 @@ > <tr> > <td colspan="2"><b>Reporting Unchecked Type Operation</b> (<b><a href= > "../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_PB_UNCHECKED_TYPE_OPERATION">COMPILER_PB_UNCHECKED_TYPE_OPERATION</a></b>)</td> >- > </tr> > <tr valign="top"> > <td rowspan="3">When enabled, the compiler will issue an error or a warning whenever an operation >@@ -1458,6 +1457,68 @@ > <td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#IGNORE">IGNORE</a></b></td> > </tr> > >+<!-- --> >+ >+<tr> >+<td colspan="2"><b>Reporting Unclosed Closeable</b> (<b><a href= >+"../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_PB_UNCLOSED_CLOSEABLE">COMPILER_PB_UNCLOSED_CLOSEABLE</a></b>)</td> >+</tr> >+<tr valign="top"> >+<td rowspan="3">When enabled, the compiler will issue an error or a warning if >+ a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7) >+ or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if >+ flow analysis shows that the method <code>close()</code> is not invoked locally on that value.</td> >+<td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#ERROR">ERROR</a></b></td> >+</tr> >+<tr valign="top"> >+<td><b><a href= >+"../reference/api/org/eclipse/jdt/core/JavaCore.html#WARNING"><i>WARNING</i></a></b></td> >+</tr> >+<tr valign="top"> >+<td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#IGNORE">IGNORE</a></b></td> >+</tr> >+ >+<tr> >+<td colspan="2"><b>Reporting Potentially Unclosed Closeable</b> (<b><a href= >+"../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE">COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE</a></b>)</td> >+</tr> >+<tr valign="top"> >+<td rowspan="3">When enabled, the compiler will issue an error or a warning if >+ a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7) >+ or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if >+ flow analysis shows that the method <code>close()</code> is >+ not invoked locally on that value for all execution paths.</td> >+<td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#ERROR">ERROR</a></b></td> >+</tr> >+<tr valign="top"> >+<td><b><a href= >+"../reference/api/org/eclipse/jdt/core/JavaCore.html#WARNING">WARNING</a></b></td> >+</tr> >+<tr valign="top"> >+<td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#IGNORE"><i>IGNORE</i></a></b></td> >+</tr> >+ >+<tr> >+<td colspan="2"><b>Reporting Explicitly Closed Closeable</b> (<b><a href= >+"../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE">COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE</a></b>)</td> >+</tr> >+<tr valign="top"> >+<td rowspan="3">When enabled, the compiler will issue an error or a warning if a local variable >+ holds a value of type <code>java.lang.AutoCloseable</code>, and if the method >+ <code>close()</code> is explicitly invoked on that resource, but the resource is >+ not managed by a try-with-resources block.</td> >+<td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#ERROR">ERROR</a></b></td> >+</tr> >+<tr valign="top"> >+<td><b><a href= >+"../reference/api/org/eclipse/jdt/core/JavaCore.html#WARNING">WARNING</a></b></td> >+</tr> >+<tr valign="top"> >+<td><b><a href="../reference/api/org/eclipse/jdt/core/JavaCore.html#IGNORE"><i>IGNORE</i></a></b></td> >+</tr> >+ >+<!----> >+ > <tr> > <td colspan="2"><b>Reporting Undocumented Empty Block</b> (<b><a href= > "../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_PB_UNDOCUMENTED_EMPTY_BLOCK">COMPILER_PB_UNDOCUMENTED_EMPTY_BLOCK</a></b>)</td>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 359727
: 205404