Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 | <meta name="Author" content="IBM"> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 6 | <title>JDT/Core Release Notes 3.8</title> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 7 | <link rel="stylesheet" href="jdt_core_style.css" charset="iso-8859-1" type="text/css"> |
| 8 | </head> |
| 9 | <body text="#000000" bgcolor="#FFFFFF"> |
| 10 | <table border=0 cellspacing=5 cellpadding=2 width="100%" > |
| 11 | <tr> |
| 12 | <td align="left" width="72%" class="title1"> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 13 | <font size="+3"><b>jdt core - build notes 3.8 stream</b></font> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 14 | </td> |
| 15 | </tr> |
| 16 | <tr><td align="left" width="72%" class="title2"><font size="-2">Java development tools core</font></td></tr> |
| 17 | <tr><td> </td></tr> |
| 18 | <tr> |
| 19 | <td class="title3"> |
| 20 | <font size="-1"> |
| 21 | Here are the build notes for the Eclipse JDT/Core plug-in project |
| 22 | <a href="http://www.eclipse.org/jdt/core/index.php"><b>org.eclipse.jdt.core</b></a>, |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 23 | describing <a href="https://bugs.eclipse.org/bugs" target=new>bug</a> resolution and substantial changes in the <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/"><b>HEAD</b></a> branch. |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 24 | For more information on 3.8 planning, please refer to <a href="http://www.eclipse.org/jdt/core/r3.8/plan.php">JDT/Core release plan</a>, |
| 25 | the next <a href="http://www.eclipse.org/jdt/core/r3.8/plan.php#current-milestone">milestone plan</a>, |
Stephan Herrmann | bb25a05 | 2011-01-27 11:59:20 +0000 | [diff] [blame] | 26 | the overall <a href="http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_3_7.xml">official plan</a>, |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 27 | or the <a href="http://www.eclipse.org/eclipse/platform-releng/buildSchedule.html">build schedule</a>. |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 28 | This present document covers all changes since Release 3.7 (also see a summary of <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/plain/org.eclipse.jdt.core/notes/API_changes.html">API changes</a>). |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 29 | <br>Maintenance of previous releases of JDT/Core is performed in parallel branches: |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 30 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_7_maintenance">R3.7.x</a>, |
| 31 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_6_maintenance">R3.6.x</a>, |
| 32 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_5_maintenance">R3.5.x</a>, |
| 33 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_4_maintenance">R3.4.x</a>, |
| 34 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_3_maintenance">R3.3.x</a>, |
| 35 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_2_maintenance">R3.2.x</a>, |
| 36 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_1_maintenance">R3.1.x</a>, |
| 37 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R3_0_maintenance">R3.0.x</a>, |
| 38 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R2_1_maintenance">R2.1.x</a>, |
| 39 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R2_0_1">R2.0.x</a>, |
| 40 | <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=ECLIPSE_1_0">R1.0.x</a>. |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 41 | </font> |
| 42 | </td> |
| 43 | </tr> |
| 44 | </table> |
Stephan Herrmann | 0bf562c | 2012-06-02 21:24:17 +0200 | [diff] [blame] | 45 | <a name="v_C58"></a> |
| 46 | <hr><h1> |
| 47 | Eclipse Platform Build Notes<br> |
| 48 | Java development tools core</h1> |
| 49 | Eclipse SDK 3.8.0 - May 31, 2012 |
| 50 | <br>Project org.eclipse.jdt.core v_C58 |
| 51 | (<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C58">cvs</a>). |
| 52 | <h2>What's new in this drop</h2> |
| 53 | |
| 54 | <h3>Problem Reports Fixed</h3> |
| 55 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380927">380927</a> |
| 56 | VerifyError issue with inconsistent stack map frames with do..while and nested switch statements. |
| 57 | |
| 58 | <a name="v_C57"></a> |
| 59 | <hr><h1> |
| 60 | Eclipse Platform Build Notes<br> |
| 61 | Java development tools core</h1> |
| 62 | Eclipse SDK 3.8.0 - May 29, 2012 |
| 63 | <br> |
| 64 | <h2>What's new in this drop</h2> |
| 65 | |
| 66 | <h3>Problem Reports Fixed</h3> |
| 67 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380750">380750</a> |
| 68 | [compiler] local incorrectly flagged as uninitialized due to fix for bug 359495 |
| 69 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380313">380313</a> |
| 70 | Inconsistent stack error when using Java 1.7 |
| 71 | |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 72 | <a name="v_C56"></a> |
| 73 | <hr><h1> |
| 74 | Eclipse Platform Build Notes<br> |
| 75 | Java development tools core</h1> |
Stephan Herrmann | 0bf562c | 2012-06-02 21:24:17 +0200 | [diff] [blame] | 76 | Eclipse SDK 3.8.0 - May 23, 2012 |
Stephan Herrmann | 2feba95 | 2012-05-26 15:02:07 +0200 | [diff] [blame] | 77 | <br> |
| 78 | <h2>What's new in this drop</h2> |
| 79 | |
| 80 | <h3>Problem Reports Fixed</h3> |
| 81 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=380112">380112</a> |
| 82 | [1.7][compiler] Incorrect unreachable catch block detection in try-with-resources |
| 83 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379726">379726</a> |
| 84 | Include Eclipse-BundleShape in test plugin MANIFEST.MF |
| 85 | |
| 86 | <a name="v_C55"></a> |
| 87 | <hr><h1> |
| 88 | Eclipse Platform Build Notes<br> |
| 89 | Java development tools core</h1> |
| 90 | Eclipse SDK 3.8.0 - May 21, 2012 |
| 91 | <br> |
| 92 | <h2>What's new in this drop</h2> |
| 93 | |
| 94 | <h3>Problem Reports Fixed</h3> |
| 95 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379793">379793</a> |
| 96 | formatter hangs |
| 97 | |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 98 | <a name="v_C54"></a> |
| 99 | <hr><h1> |
| 100 | Eclipse Platform Build Notes<br> |
| 101 | Java development tools core</h1> |
| 102 | Eclipse SDK 3.8.0 - May 16, 2012 - 3.8.0 RC1 |
| 103 | <br> |
| 104 | <h2>What's new in this drop</h2> |
| 105 | |
| 106 | <h3>Problem Reports Fixed</h3> |
| 107 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379630">379630</a> |
| 108 | Regression: NPE during reconcile/build |
| 109 | |
| 110 | <a name="v_C53"></a> |
| 111 | <hr><h1> |
| 112 | Eclipse Platform Build Notes<br> |
| 113 | Java development tools core</h1> |
| 114 | Eclipse SDK 3.8.0 - May 14, 2012 |
| 115 | <br> |
| 116 | <h2>What's new in this drop</h2> |
| 117 | |
| 118 | <h3>Problem Reports Fixed</h3> |
| 119 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375971">375971</a> |
| 120 | [search] Not finding method references with generics |
| 121 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376550">376550</a> |
| 122 | "Method can be static" warning on method that accesses instance field in inner class |
| 123 | |
| 124 | <a name="v_C52"></a> |
| 125 | <hr><h1> |
| 126 | Eclipse Platform Build Notes<br> |
| 127 | Java development tools core</h1> |
| 128 | Eclipse SDK 3.8.0 - May 11, 2012 |
| 129 | <br> |
| 130 | <h2>What's new in this drop</h2> |
| 131 | |
| 132 | <h3>Problem Reports Fixed</h3> |
| 133 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373409">373409</a> |
| 134 | [code assist] Bad relevance for constructor proposals (new Thread()) |
| 135 | |
| 136 | <a name="v_C51"></a> |
| 137 | <hr><h1> |
| 138 | Eclipse Platform Build Notes<br> |
| 139 | Java development tools core</h1> |
| 140 | Eclipse SDK 3.8.0 - May 8, 2012 - 3.8.0 RC1 |
| 141 | <br> |
| 142 | <h2>What's new in this drop</h2> |
| 143 | |
| 144 | <h3>Problem Reports Fixed</h3> |
| 145 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=378390">378390</a> |
| 146 | [search] regression caused by the fix for bug 357547 |
| 147 | |
Stephan Herrmann | 54669f8 | 2012-05-08 19:36:39 +0200 | [diff] [blame] | 148 | <a name="v_C50"></a> |
| 149 | <hr><h1> |
| 150 | Eclipse Platform Build Notes<br> |
| 151 | Java development tools core</h1> |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 152 | Eclipse SDK 3.8.0 - April 30, 2012 |
Stephan Herrmann | 54669f8 | 2012-05-08 19:36:39 +0200 | [diff] [blame] | 153 | <br> |
| 154 | <h2>What's new in this drop</h2> |
| 155 | |
| 156 | <h3>Problem Reports Fixed</h3> |
| 157 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376930">376930</a> |
| 158 | FUP of bug 24804: Organize imports does not work when folding imports into on-demand import |
| 159 | |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 160 | <a name="v_C49"></a> |
| 161 | <hr><h1> |
| 162 | Eclipse Platform Build Notes<br> |
| 163 | Java development tools core</h1> |
Stephan Herrmann | 54669f8 | 2012-05-08 19:36:39 +0200 | [diff] [blame] | 164 | Eclipse SDK 3.8.0 - April 30, 2012 |
| 165 | <br> |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 166 | <h2>What's new in this drop</h2> |
| 167 | |
| 168 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | 54669f8 | 2012-05-08 19:36:39 +0200 | [diff] [blame] | 169 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374176">374176</a> |
| 170 | Sticky default nullness diagnostics. |
| 171 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371832">371832</a> |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 172 | The preference "Suppress optional errors with '@SuppressWarnings'" ends up silencing warnings it shouldn't |
| 173 | |
| 174 | <a name="v_C48"></a> |
| 175 | <hr><h1> |
| 176 | Eclipse Platform Build Notes<br> |
| 177 | Java development tools core</h1> |
| 178 | Eclipse SDK 3.8.0 - April 27, 2012 |
Stephan Herrmann | 54669f8 | 2012-05-08 19:36:39 +0200 | [diff] [blame] | 179 | <br> |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 180 | <h2>What's new in this drop</h2> |
| 181 | |
| 182 | <h3>Problem Reports Fixed</h3> |
| 183 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377806">377806</a> |
| 184 | ExternalFoldersManager standalone regression |
| 185 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=322977">322977</a> |
| 186 | Documentation about use of "SearchPattern.R_REGEXP_MATCH" is wrong |
| 187 | |
| 188 | <a name="v_C47"></a> |
| 189 | <hr><h1> |
| 190 | Eclipse Platform Build Notes<br> |
| 191 | Java development tools core</h1> |
| 192 | Eclipse SDK 3.8.0 - April 26, 2012 |
| 193 | <br> |
| 194 | <h2>What's new in this drop</h2> |
| 195 | |
| 196 | <h3>Problem Reports Fixed</h3> |
| 197 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376724">376724</a> |
| 198 | ExternalFoldersManager still has synchronization gaps |
| 199 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374129">374129</a> |
| 200 | more tests for bug 372011 |
| 201 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365710">365710</a> |
| 202 | FUP of bug 363293: Fix the incorrect added resource close |
| 203 | |
| 204 | <a name="v_C46"></a> |
| 205 | <hr><h1> |
| 206 | Eclipse Platform Build Notes<br> |
| 207 | Java development tools core</h1> |
| 208 | Eclipse SDK 3.8.0 - April 24, 2012 - April 10, 2012 |
| 209 | <br> |
| 210 | <h2>What's new in this drop</h2> |
| 211 | <ul> |
| 212 | <li>New/changed options in JavaCore to control warnings relating to incomplete switch statements: |
| 213 | <pre> |
| 214 | /** |
| 215 | * Compiler option ID: Reporting Incomplete Enum Switch. |
| 216 | * When enabled, the compiler will issue an error or a warning |
| 217 | * regarding each enum constant for which a corresponding case label is lacking. |
| 218 | * Reporting is further controlled by the option {@link #COMPILER_PB_MISSING_ENUM_CASE_DESPITE_DEFAULT}. |
| 219 | * |
| 220 | * Option id:"org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch" |
| 221 | * Possible values:{ "error", "warning", "ignore" } |
| 222 | * Default:"warning" |
| 223 | * |
| 224 | * @since 3.1 |
| 225 | * @category CompilerOptionID |
| 226 | */ |
| 227 | public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$ |
| 228 | /** |
| 229 | * Compiler option ID: Reporting Missing Enum Case In Switch Despite An Existing Default Case. |
| 230 | * This option further controls the option {@link #COMPILER_PB_INCOMPLETE_ENUM_SWITCH}: |
| 231 | * |
| 232 | * - If enabled the compiler will report problems about missing enum constants even if a default case exists |
| 233 | * in the same switch statement. |
| 234 | * - If disabled existence of a default case is considered as sufficient to make a switch statement complete. |
| 235 | * |
| 236 | * This option has no effect if {@link #COMPILER_PB_INCOMPLETE_ENUM_SWITCH} is set to "ignore". |
| 237 | * |
| 238 | * Option id:"org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault" |
| 239 | * Possible values:{ "enabled", "disabled" } |
| 240 | * Default:"disabled" |
| 241 | * |
| 242 | * @since 3.8 |
| 243 | * @category CompilerOptionID |
| 244 | */ |
| 245 | public static final String COMPILER_PB_MISSING_ENUM_CASE_DESPITE_DEFAULT = PLUGIN_ID + ".compiler.problem.missingEnumCaseDespiteDefault"; //$NON-NLS-1$ |
| 246 | /** |
| 247 | * Compiler option ID: Reporting Missing Default Case In Switch. |
| 248 | * When enabled, the compiler will issue an error or a warning |
| 249 | * against each switch statement that lacks a default case. |
| 250 | * |
| 251 | * Option id:"org.eclipse.jdt.core.compiler.problem.missingDefaultCase" |
| 252 | * Possible values:{ "error", "warning", "ignore" } |
| 253 | * Default:"ignore" |
| 254 | * |
| 255 | * @since 3.8 |
| 256 | * @category CompilerOptionID |
| 257 | */ |
| 258 | public static final String COMPILER_PB_SWITCH_MISSING_DEFAULT_CASE = PLUGIN_ID + ".compiler.problem.missingDefaultCase"; //$NON-NLS-1$ |
| 259 | </pre> |
| 260 | </li> |
| 261 | <li> New IProblems relating to incomplete switch statements. |
| 262 | <pre> |
| 263 | /** @since 3.8 */ |
| 264 | int MissingEnumDefaultCase = Internal + 766; |
| 265 | /** @since 3.8 */ |
| 266 | int MissingDefaultCase = Internal + 767; |
| 267 | /** @since 3.8 */ |
| 268 | int MissingEnumConstantCaseDespiteDefault = FieldRelated + 768; |
| 269 | /** @since 3.8 */ |
| 270 | int UninitializedLocalVariableHintMissingDefault = Internal + 769; |
| 271 | /** @since 3.8 */ |
| 272 | int UninitializedBlankFinalFieldHintMissingDefault = FieldRelated + 770; |
| 273 | /** @since 3.8 */ |
| 274 | int ShouldReturnValueHintMissingDefault = MethodRelated + 771; |
| 275 | </pre> |
| 276 | </li> |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 277 | </ul> |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 278 | |
| 279 | <h3>Problem Reports Fixed</h3> |
| 280 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377401">377401</a> |
| 281 | FuP of bug 372418: "The type ... cannot be resolved" error when there is a $ in the class name. |
| 282 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376429">376429</a> |
| 283 | AIOOBE when trying to create AST for invalid annotation declaration |
| 284 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376673">376673</a> |
| 285 | DBCS4.2 Can not rename the class names when DBCS (Surrogate e.g. U+20B9F) is in it |
| 286 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374605">374605</a> |
| 287 | Unreasonable warning for enum-based switch statements |
| 288 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372694">372694</a> |
| 289 | Adjust parser generator tools |
| 290 | |
| 291 | <a name="v_C45"></a> |
| 292 | <hr><h1> |
| 293 | Eclipse Platform Build Notes<br> |
| 294 | Java development tools core</h1> |
| 295 | Eclipse SDK 3.8.0 - April 17, 2012 |
| 296 | <br> |
| 297 | <h2>What's new in this drop</h2> |
| 298 | |
| 299 | <h3>Problem Reports Fixed</h3> |
| 300 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=326610">326610</a> |
| 301 | [content assist] code assist for package-info.java |
| 302 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376465">376465</a> |
| 303 | Mixed line delimiters in org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(int) |
| 304 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=376837">376837</a> |
| 305 | [warning] Resource leak warning in FileManagerTest |
| 306 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375394">375394</a> |
| 307 | Incorrect type checking for parameterized types |
| 308 | |
Stephan Herrmann | 942dbe9 | 2012-04-12 20:50:07 +0200 | [diff] [blame] | 309 | <a name="v_C44"></a> |
| 310 | <hr><h1> |
| 311 | Eclipse Platform Build Notes<br> |
| 312 | Java development tools core</h1> |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 313 | Eclipse SDK 3.8.0 |
| 314 | <br> |
Stephan Herrmann | 942dbe9 | 2012-04-12 20:50:07 +0200 | [diff] [blame] | 315 | <h2>What's new in this drop</h2> |
| 316 | |
| 317 | <h3>Problem Reports Fixed</h3> |
| 318 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351697">351697</a> |
| 319 | ClassCastException while copying a .class file to wrong source package |
Stephan Herrmann | 942dbe9 | 2012-04-12 20:50:07 +0200 | [diff] [blame] | 320 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375326">375326</a> |
| 321 | try-with-resources assignment in statement produces stack map exception |
| 322 | |
| 323 | <a name="v_C43"></a> |
| 324 | <hr><h1> |
| 325 | Eclipse Platform Build Notes<br> |
| 326 | Java development tools core</h1> |
| 327 | Eclipse SDK 3.8.0 - April 3, 2012 |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 328 | <br> |
Stephan Herrmann | 942dbe9 | 2012-04-12 20:50:07 +0200 | [diff] [blame] | 329 | <h2>What's new in this drop</h2> |
| 330 | |
| 331 | <h3>Problem Reports Fixed</h3> |
| 332 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375568">375568</a> |
| 333 | @PolymorphicSignature methods in MethodHandle have wrong annotation on parameter |
| 334 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372687">372687</a> |
| 335 | org.eclipse.jdt.core.LRUCache.get(Object key) returns an empty list from a class that has methods |
| 336 | |
| 337 | <a name="v_C42"></a> |
| 338 | <hr><h1> |
| 339 | Eclipse Platform Build Notes<br> |
| 340 | Java development tools core</h1> |
| 341 | Eclipse SDK 3.8.0 - March 27, 2012 |
| 342 | <br> |
| 343 | <h2>What's new in this drop</h2> |
| 344 | |
| 345 | <h3>Problem Reports Fixed</h3> |
| 346 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374538">374538</a> |
| 347 | [local] localFile service tries to set modified time on virtual files |
| 348 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=375248">375248</a> |
| 349 | AIOOBE inside twr with finally block |
| 350 | |
| 351 | <a name="v_C41"></a> |
| 352 | <hr><h1> |
| 353 | Eclipse Platform Build Notes<br> |
| 354 | Java development tools core</h1> |
| 355 | Eclipse SDK 3.8.0 - March 20, 2012 |
| 356 | <br> |
| 357 | <h2>What's new in this drop</h2> |
| 358 | |
| 359 | <h3>Problem Reports Fixed</h3> |
| 360 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372319">372319</a> |
| 361 | Unexpected 'The local variable i may not have been initialized' compile error |
| 362 | |
Stephan Herrmann | b9e1052 | 2012-03-15 21:24:23 +0100 | [diff] [blame] | 363 | <a name="v_C40"></a> |
| 364 | <hr><h1> |
| 365 | Eclipse Platform Build Notes<br> |
| 366 | Java development tools core</h1> |
| 367 | Eclipse SDK 3.8.0 - March 13, 2012 - 3.8.0 M6 |
Stephan Herrmann | 4f3f3d1 | 2012-04-28 23:46:59 +0200 | [diff] [blame] | 368 | <br> |
Stephan Herrmann | b9e1052 | 2012-03-15 21:24:23 +0100 | [diff] [blame] | 369 | <h2>What's new in this drop</h2> |
| 370 | |
| 371 | <h3>Problem Reports Fixed</h3> |
| 372 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=374063">374063</a> |
| 373 | [builder][regression] bug 372012 causes regular problems to be reported against the package |
| 374 | |
| 375 | <a name="v_C39"></a> |
| 376 | <hr><h1> |
| 377 | Eclipse Platform Build Notes<br> |
| 378 | Java development tools core</h1> |
| 379 | Eclipse SDK 3.8.0 - March 13, 2012 |
| 380 | <br> |
| 381 | <h2>What's new in this drop</h2> |
| 382 | |
| 383 | <h3>Problem Reports Fixed</h3> |
| 384 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373953">373953</a> |
| 385 | FUP of bug 127575: java.eclipse.core.runtime.Assert is being recognized as org.eclipse.core.runtime.Assert |
| 386 | |
| 387 | <a name="v_C38"></a> |
| 388 | <hr><h1> |
| 389 | Eclipse Platform Build Notes<br> |
| 390 | Java development tools core</h1> |
| 391 | Eclipse SDK 3.8.0 - March 12, 2012 |
| 392 | <br> |
| 393 | <h2>What's new in this drop</h2> |
| 394 | <ul> |
| 395 | <li> New IProblems for distinguishing null warnings based on flow analysis vs. null annotations. |
| 396 | <pre> |
| 397 | /** @since 3.8 */ |
| 398 | int RedundantNullCheckOnSpecdNonNullLocalVariable = Internal + 931; |
| 399 | |
| 400 | /** @since 3.8 */ |
| 401 | int SpecdNonNullLocalVariableComparisonYieldsFalse = Internal + 932; |
| 402 | |
| 403 | /** @since 3.8 */ |
| 404 | int RequiredNonNullButProvidedSpecdNullable = Internal + 933; |
| 405 | </pre> |
| 406 | </li> |
| 407 | <li> New IProblems for reporting missing NonNullByDefault annotation on package/type. |
| 408 | <pre> |
| 409 | /** @since 3.8 */ |
| 410 | int MissingNonNullByDefaultAnnotationOnPackage = Internal + 913; |
| 411 | |
| 412 | /** @since 3.8 */ |
| 413 | int MissingNonNullByDefaultAnnotationOnType = Internal + 930; |
| 414 | </pre> |
| 415 | </li> |
| 416 | <li>Added new option in JavaCore to control warning for missing default nullness annotation: |
| 417 | <pre> |
| 418 | /** |
| 419 | * Compiler option ID: Reporting missing default nullness annotation. |
| 420 | * |
| 421 | * When enabled, the compiler will issue an error or a warning in the following cases: |
| 422 | * |
| 423 | * 1. When a package does not contain a default nullness annotation, as a result of missing package-info.java |
| 424 | * or missing default nullness annotation in package-info.java. |
| 425 | * 2. When a type inside a default package does not contain a default nullness annotation. |
| 426 | * |
| 427 | * This option only has an effect if the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 428 | * |
| 429 | * Option id:"org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation" |
| 430 | * Possible values:{ "error", "warning", "ignore" } |
| 431 | * Default:"ignore" |
| 432 | * |
| 433 | * @since 3.8 |
| 434 | * @category CompilerOptionID |
| 435 | */ |
| 436 | public static final String COMPILER_PB_MISSING_NONNULL_BY_DEFAULT_ANNOTATION = PLUGIN_ID + ".compiler.annotation.missingNonNullByDefaultAnnotation" |
| 437 | </pre> |
| 438 | </li> |
| 439 | </ul> |
| 440 | |
| 441 | <h3>Problem Reports Fixed</h3> |
| 442 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365859">365859</a> |
| 443 | [compiler][null] distinguish warnings based on flow analysis vs. null annotations |
| 444 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=373571">373571</a> |
| 445 | [null][regression] Incorrect application of null annotations to primitive types |
| 446 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367836">367836</a> |
| 447 | Inconsistent source range for error from build and reconciler (declared package does not match expected) |
| 448 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368646">368646</a> |
| 449 | [rename] rejects LocalVariable with initializer |
| 450 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372012">372012</a> |
| 451 | [compiler][null] Warn when defaults not specified |
| 452 | |
| 453 | <a name="v_C37"></a> |
| 454 | <hr><h1> |
| 455 | Eclipse Platform Build Notes<br> |
| 456 | Java development tools core</h1> |
| 457 | Eclipse SDK 3.8.0 - March 6, 2012 |
| 458 | <br> |
| 459 | <h2>What's new in this drop</h2> |
| 460 | |
| 461 | <ul> |
| 462 | <li> New IProblems for reporting if an enum switch lacks a default cause (recommended by the JLS). |
| 463 | <pre> |
| 464 | /** @since 3.8 */ |
| 465 | int MissingEnumDefaultCase = Internal + 766; |
| 466 | </pre> |
| 467 | </li> |
| 468 | <li>Adjusted the specification of the corresponding constant in JavaCore: |
| 469 | <pre> |
| 470 | /** |
| 471 | * Compiler option ID: Reporting Incomplete Enum Switch. |
| 472 | * |
| 473 | * When enabled, the compiler will issue an error or a warning whenever |
| 474 | * an enum switch statement lacks a default case. |
| 475 | * If no default case is given, additionally one error or warning is issued |
| 476 | * regarding each enum constant for which a corresponding case label is lacking. |
| 477 | * |
| 478 | * Option id: "org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch" |
| 479 | * Possible values: { "error", "warning", "ignore" } |
| 480 | * Default: "warning" |
| 481 | * @since 3.1 |
| 482 | * @category CompilerOptionID |
| 483 | */ |
| 484 | public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$ |
| 485 | </pre> |
| 486 | </ul> |
| 487 | |
| 488 | <h3>Problem Reports Fixed</h3> |
| 489 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=371732">371732</a> |
| 490 | Deprecate AST.JLS3 |
| 491 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372909">372909</a> |
| 492 | message verbiage for instanceof erasure |
| 493 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347386">347386</a> |
| 494 | Cannot delete package from java project (two source and output folders) |
| 495 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372011">372011</a> |
| 496 | [compiler][null] Restore behaviour of null defaults for binary types |
| 497 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=127575">127575</a> |
| 498 | Null reference checks don't handle Assert |
| 499 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=265744">265744</a> |
| 500 | Enum switch should warn about missing default |
| 501 | |
| 502 | <a name="v_C36"></a> |
| 503 | <hr><h1> |
| 504 | Eclipse Platform Build Notes<br> |
| 505 | Java development tools core</h1> |
| 506 | Eclipse SDK 3.8.0 - February 28, 2012 |
| 507 | <br> |
| 508 | <h2>What's new in this drop</h2> |
| 509 | |
| 510 | <h3>Problem Reports Fixed</h3> |
| 511 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372377">372377</a> |
| 512 | ASTParser#createASTs(..) should not ignore optional compile problems |
| 513 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372351">372351</a> |
| 514 | Illegal implementation of 'org.eclipse.jdt.internal.compiler.env.ICompilationUnit' in Tomcat Jasper |
| 515 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=220928">220928</a> |
| 516 | [buildpath] Should be able to ignore warnings from certain source folders |
| 517 | |
Stephan Herrmann | 6cecadb | 2012-02-26 01:08:39 +0100 | [diff] [blame] | 518 | <a name="v_C35"></a> |
| 519 | <hr><h1> |
| 520 | Eclipse Platform Build Notes<br> |
| 521 | Java development tools core</h1> |
Stephan Herrmann | b9e1052 | 2012-03-15 21:24:23 +0100 | [diff] [blame] | 522 | Eclipse SDK 3.8.0 - February 21, 2012 |
| 523 | <br> |
Stephan Herrmann | 6cecadb | 2012-02-26 01:08:39 +0100 | [diff] [blame] | 524 | <h2>What's new in this drop</h2> |
| 525 | |
| 526 | <h3>Problem Reports Fixed</h3> |
| 527 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365499">365499</a> |
| 528 | Add a system property to control for JavaModelManager's jar type cache size |
| 529 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368152">368152</a> |
| 530 | ConcurrentModificationException on startup in ExternalFoldersManager.createPendingFolders |
| 531 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=244544">244544</a> |
| 532 | codeSelect fails on constant declaration in anonymous and local classes |
| 533 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=291040">291040</a> |
| 534 | codeSelect(..) does not work for a deeply nested method invocation in nested and anonymous class |
| 535 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=370930">370930</a> |
| 536 | NonNull annotation not considered for enhanced for loops |
| 537 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366063">366063</a> |
| 538 | Compiler should not add synthetic @NonNull annotations |
| 539 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365531">365531</a> |
| 540 | [compiler][null] investigate alternative strategy for internally encoding nullness defaults |
| 541 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=370639">370639</a> |
| 542 | [compiler][resource] restore the default for resource leak warnings |
| 543 | |
| 544 | <a name="v_C34"></a> |
| 545 | <hr><h1> |
| 546 | Eclipse Platform Build Notes<br> |
| 547 | Java development tools core</h1> |
| 548 | Eclipse SDK 3.8.0 - February 14, 2012 |
| 549 | <br> |
| 550 | <h2>What's new in this drop</h2> |
| 551 | |
| 552 | <h3>Problem Reports Fixed</h3> |
| 553 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=123836">123836</a> |
| 554 | [1.5][search] for references to overriding method with bound type variable is not polymorphic |
| 555 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368546">368546</a> |
| 556 | [compiler][resource] Avoid remaining false positives found when compiling the Eclipse SDK |
| 557 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364254">364254</a> |
| 558 | Reduce console output during JDT/Core junits execution. |
| 559 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362633">362633</a> |
| 560 | NPE while trying to rename a class |
| 561 | |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 562 | <a name="v_C33"></a> |
| 563 | <hr><h1> |
| 564 | Eclipse Platform Build Notes<br> |
| 565 | Java development tools core</h1> |
Stephan Herrmann | 6cecadb | 2012-02-26 01:08:39 +0100 | [diff] [blame] | 566 | Eclipse SDK 3.8.0 - January 25, 2012 - 3.8.0 M5 |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 567 | <br> |
| 568 | <h2>What's new in this drop</h2> |
| 569 | |
| 570 | <h3>Problem Reports Fixed</h3> |
| 571 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369595">369595</a> |
| 572 | Javadoc fixes for IClasspathAttribute.SOURCE_ATTACHMENT_ENCODING |
| 573 | |
| 574 | <a name="v_C32"></a> |
| 575 | <hr><h1> |
| 576 | Eclipse Platform Build Notes<br> |
| 577 | Java development tools core</h1> |
| 578 | Eclipse SDK 3.8.0 - January 24, 2012 |
| 579 | <br> |
| 580 | <h2>What's new in this drop</h2> |
| 581 | |
| 582 | <h3>Problem Reports Fixed</h3> |
| 583 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366829">366829</a> |
| 584 | Batch compiler option and SuppressWarnings token for Overriding a Synchronized Method with a Non-synchronized Method |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 585 | |
| 586 | <a name="v_C31"></a> |
| 587 | <hr><h1> |
| 588 | Eclipse Platform Build Notes<br> |
| 589 | Java development tools core</h1> |
| 590 | Eclipse SDK 3.8.0 - January 22, 2012 |
| 591 | <br> |
| 592 | <h2>What's new in this drop</h2> |
| 593 | |
| 594 | <h3>Problem Reports Fixed</h3> |
| 595 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=369251">369251</a> |
| 596 | Starved worker threads |
| 597 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365208">365208</a> |
| 598 | [compiler][batch] command line options for annotation based null analysis |
| 599 | |
| 600 | <a name="v_C30"></a> |
| 601 | <hr><h1> |
| 602 | Eclipse Platform Build Notes<br> |
| 603 | Java development tools core</h1> |
| 604 | Eclipse SDK 3.8.0 - January 20, 2012 |
| 605 | <br> |
| 606 | <h2>What's new in this drop</h2> |
| 607 | <ul> |
| 608 | <li>New constant for the name of the encoding to be used for source attachments in IClasspathAttribute (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361356">361356</a> for details) |
| 609 | <pre> |
| 610 | /** |
| 611 | * Constant for the name of the encoding to be used for source attachments. |
| 612 | * |
| 613 | * <p>The value of this attribute has to be a string representation of a valid encoding. The encoding |
| 614 | * for a source attachment is determined in the following order: </p> |
| 615 | * |
| 616 | * <ul> |
| 617 | * <li> Encoding explicitly set on the source file (java or zip), i.e. <code>org.eclipse.core.resources.IFile#getCharset(false)</code> </li> |
| 618 | * <li> Encoding set on the corresponding classpath entry </li> |
| 619 | * <li> If the source attachment is a member of the project, then the project's default charSet</li> |
| 620 | * <li> Workspace default charSet </li> |
| 621 | * </ul> |
| 622 | * |
| 623 | * @since 3.8 |
| 624 | */ |
| 625 | String SOURCE_ATTACHMENT_ENCODING = "source_encoding"; |
| 626 | </pre> |
| 627 | </li> |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 628 | <li> New IProblems for messages relating to contradictory or redundant null annotations |
| 629 | <pre> |
| 630 | /** @since 3.8 */ |
| 631 | int RedundantNullDefaultAnnotation = Internal + 925; |
| 632 | /** @since 3.8 */ |
| 633 | int RedundantNullDefaultAnnotationPackage = Internal + 926; |
| 634 | /** @since 3.8 */ |
| 635 | int RedundantNullDefaultAnnotationType = Internal + 927; |
| 636 | /** @since 3.8 */ |
| 637 | int RedundantNullDefaultAnnotationMethod = Internal + 928; |
| 638 | /** @since 3.8 */ |
| 639 | int ContradictoryNullAnnotations = Internal + 929; |
| 640 | </pre> |
| 641 | </li> |
| 642 | </ul> |
| 643 | <h3>Problem Reports Fixed</h3> |
| 644 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361356">361356</a> |
| 645 | Allow to specify encoding for source attachments |
| 646 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365582">365582</a> |
| 647 | FUP of bug 361938: Other error code pattern |
| 648 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365662">365662</a> |
| 649 | [compiler][null] warn on contradictory and redundant null annotations |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 650 | |
| 651 | <a name="v_C29"></a> |
| 652 | <hr><h1> |
| 653 | Eclipse Platform Build Notes<br> |
| 654 | Java development tools core</h1> |
| 655 | Eclipse SDK 3.8.0 - January 17, 2012 |
| 656 | <br> |
| 657 | <h2>What's new in this drop</h2> |
| 658 | |
| 659 | <h3>Problem Reports Fixed</h3> |
| 660 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368842">368842</a> |
| 661 | test failure because test case refers to java.util.Objects |
| 662 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368709">368709</a> |
| 663 | Endless loop in FakedTrackingVariable.markPassedToOutside |
| 664 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361407">361407</a> |
| 665 | Resource leak warning when resource is assigned to a field outside of constructor |
| 666 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362331">362331</a> |
| 667 | Resource leak not detected when closeable not assigned to variable |
| 668 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362332">362332</a> |
| 669 | Only report potential leak when closeable not created in the local scope |
| 670 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360908">360908</a> |
| 671 | Avoid resource leak warning when the underlying/chained resource is closed explicitly |
| 672 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361073">361073</a> |
| 673 | Avoid resource leak warning when the top level resource is closed explicitly |
| 674 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358903">358903</a> |
| 675 | Filter practically unimportant resource leak warnings |
| 676 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365387">365387</a> |
| 677 | [compiler][null] bug 186342: Issues to follow up post review and verification. |
| 678 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365519">365519</a> |
| 679 | editorial cleanup after bug 186342 and bug 365387 |
| 680 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=368435">368435</a> |
| 681 | [compiler] NPE while compile a method with unused local |
| 682 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361963">361963</a> |
| 683 | Stack overflow when trying to code complete a generic list |
| 684 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365437">365437</a> |
| 685 | Private methods tagged with @Inject should not be flagged with unused warning |
| 686 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366131">366131</a> |
| 687 | [1.5][compiler] New generics compile error in Indigo SR1 for code that compiles in earlier Eclipse and javac |
| 688 | |
| 689 | <a name="v_C28"></a> |
| 690 | <hr><h1> |
| 691 | Eclipse Platform Build Notes<br> |
| 692 | Java development tools core</h1> |
| 693 | Eclipse SDK 3.8.0 - January 10, 2012 |
| 694 | <h2>What's new in this drop</h2> |
| 695 | |
| 696 | <h3>Problem Reports Fixed</h3> |
| 697 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367023">367023</a> |
| 698 | Error in JDT Core during AST creation |
| 699 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354229">354229</a> |
| 700 | [compiler][1.7] Name clash error not being reported by ecj. |
| 701 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367879">367879</a> |
| 702 | Incorrect "Potential null pointer access" warning on statement after try-with-resources within try-finally |
| 703 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366999">366999</a> |
| 704 | VerifyError: Inconsistent stackmap frames |
| 705 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346175">346175</a> |
| 706 | @SuppressWarnings should clear all errors including fatal optional errors |
| 707 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366544">366544</a> |
| 708 | [index] Test testUseIndexInternalJarAfterRestart failed on Mac and Linux |
| 709 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=302850">302850</a> |
| 710 | 13 failures in JavaModel tests for the N20100214-2000 Mac OS X - Cocoa test machine |
| 711 | |
| 712 | <a name="v_C27"></a> |
| 713 | <hr><h1> |
| 714 | Eclipse Platform Build Notes<br> |
| 715 | Java development tools core</h1> |
| 716 | Eclipse SDK 3.8.0 - January 3, 2012 - 3.8.0 M5 |
| 717 | <br> |
| 718 | <h2>What's new in this drop</h2> |
| 719 | |
| 720 | <h3>Problem Reports Fixed</h3> |
| 721 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367566">367566</a> |
| 722 | In try-with-resources statement close() method of resource is not called |
| 723 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364890">364890</a> |
| 724 | BinaryTypeBinding should use char constants from Util |
| 725 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365992">365992</a> |
| 726 | [builder] [null] Change of nullness for a parameter doesn't trigger a build for the files that call the method |
| 727 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367203">367203</a> |
| 728 | [compiler][null] detect assigning null to nonnull argument |
| 729 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=367154">367154</a> |
| 730 | [compiler][null] Problem in propagating null defaults. |
| 731 | |
| 732 | <a name="v_C26"></a> |
| 733 | <hr><h1> |
| 734 | Eclipse Platform Build Notes<br> |
| 735 | Java development tools core</h1> |
| 736 | Eclipse SDK 3.8.0 - December 20, 2011 |
| 737 | <h2>What's new in this drop</h2> |
| 738 | |
| 739 | <h3>Problem Reports Fixed</h3> |
| 740 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362711">362711</a> |
| 741 | possibly incorrect JDT POST_CHANGE event fired when a file is replaced |
| 742 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365835">365835</a> |
| 743 | [compiler][null] inconsistent error reporting. |
| 744 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365836">365836</a> |
| 745 | [compiler][null] Incomplete propagation of null defaults. |
| 746 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365983">365983</a> |
| 747 | [compiler][null] AIOOB with null annotation analysis and varargs |
| 748 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366003">366003</a> |
| 749 | CCE in ASTNode.resolveAnnotations(ASTNode.java:639) |
| 750 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=366829">366829</a> |
| 751 | Batch compiler option and SuppressWarnings token for Overriding a Synchronized Method with a Non-synchronized Method |
| 752 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364450">364450</a> |
| 753 | Dubious class path error triggers a full rebuild |
| 754 | |
| 755 | <a name="v_C25"></a> |
| 756 | <hr><h1> |
| 757 | Eclipse Platform Build Notes<br> |
| 758 | Java development tools core</h1> |
| 759 | Eclipse SDK 3.8.0 - December 13, 2011 |
| 760 | <h2>What's new in this drop</h2> |
| 761 | <ul> |
| 762 | <li>New constant for the name of index location class path attribute in IClasspathAttribute(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356620">356620</a> for details) |
| 763 | <pre> |
| 764 | /** |
| 765 | * Constant for the name of the index location attribute. |
| 766 | * |
| 767 | * The value for this attribute has to be the string representation of a URL. |
| 768 | * It should point to an existing index file in a folder or a jar. The URL can also be of platform protocol. |
| 769 | * |
| 770 | * @since 3.8 |
| 771 | */ |
| 772 | String INDEX_LOCATION_ATTRIBUTE_NAME = "index_location"; |
| 773 | </pre> |
| 774 | </li> |
| 775 | <li>New API org.eclipse.jdt.core.index.JavaIndexer.generateIndexForJar to generate the index file for a given jar |
| 776 | <pre> |
| 777 | /** |
| 778 | * Generates the index file for the specified jar. |
| 779 | * |
| 780 | * @param pathToJar The full path to the jar that needs to be indexed |
| 781 | * @param pathToIndexFile The full path to the index file that needs to be generated |
| 782 | * @throws IOException if the jar is not found or could not write into the index file |
| 783 | * @since 3.8 |
| 784 | */ |
| 785 | public static void generateIndexForJar(String pathToJar, String pathToIndexFile) throws IOException; |
| 786 | </pre> |
| 787 | </li> |
| 788 | <li> New application org.eclipse.jdt.core.JavaIndexer to generate index file for the given jar |
| 789 | </li> |
| 790 | <li> New ant task eclipse.buildJarIndex to generate the index file for the given jar </li> |
| 791 | </ul> |
| 792 | <h3>Problem Reports Fixed</h3> |
| 793 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356620">356620</a> |
| 794 | Make it possible to provide indexes for defined libraries |
| 795 | |
Stephan Herrmann | aa1e284 | 2011-12-10 00:30:58 +0100 | [diff] [blame] | 796 | <a name="v_C24"></a> |
Stephan Herrmann | 41a335b | 2011-12-08 22:55:07 +0100 | [diff] [blame] | 797 | <hr><h1> |
| 798 | Eclipse Platform Build Notes<br> |
| 799 | Java development tools core</h1> |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 800 | Eclipse SDK 3.8.0 - December 5, 2011 - 3.8.1 M4 |
Stephan Herrmann | aa1e284 | 2011-12-10 00:30:58 +0100 | [diff] [blame] | 801 | |
| 802 | <h2>What's new in this drop</h2> |
| 803 | |
| 804 | <h3>Problem Reports Fixed</h3> |
| 805 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=365566">365566</a> |
| 806 | set resource leak diagnostic to "ignore" until bug 358903 is fixed |
| 807 | |
| 808 | <a name="v_C23"></a> |
| 809 | <hr><h1> |
| 810 | Eclipse Platform Build Notes<br> |
| 811 | Java development tools core</h1> |
Stephan Herrmann | 2c38ab4 | 2012-01-28 20:42:28 +0100 | [diff] [blame] | 812 | Eclipse SDK 3.8.0 |
Stephan Herrmann | aa1e284 | 2011-12-10 00:30:58 +0100 | [diff] [blame] | 813 | <h2>What's new in this drop</h2> |
| 814 | <ul> |
| 815 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_ANNOTATION_NULL_ANALYSIS (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 816 | <pre> |
| 817 | /** |
| 818 | * Compiler option ID: Annotation-based Null Analysis. |
| 819 | * |
| 820 | * This option controls whether the compiler will use null annotations for |
| 821 | * improved analysis of (potential) null references. |
| 822 | * |
| 823 | * When enabled, the compiler will interpret the annotation types defined using |
| 824 | * {@link #COMPILER_NONNULL_ANNOTATION_NAME} and {@link #COMPILER_NULLABLE_ANNOTATION_NAME} |
| 825 | * as specifying whether or not a given type includes the value <code>null</code>. |
| 826 | * |
| 827 | * The effect of these analyses is further controlled by the options |
| 828 | * {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION}, |
| 829 | * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and |
| 830 | * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}. |
| 831 | * |
| 832 | * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nullanalysis"</code> |
| 833 | * Possible values: <code>{ "disabled", "enabled" }</code> |
| 834 | * Default: <code>"disabled"</code> |
| 835 | * @since 3.8 |
| 836 | * @category CompilerOptionID |
| 837 | */ |
| 838 | public static final String COMPILER_ANNOTATION_NULL_ANALYSIS = PLUGIN_ID + ".compiler.annotation.nullanalysis"; |
| 839 | </pre></li> |
| 840 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NULLABLE_ANNOTATION_NAME (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 841 | <pre> |
| 842 | /** |
| 843 | * Compiler option ID: Name of Annotation Type for Nullable Types. |
| 844 | * |
| 845 | * This option defines a fully qualified Java type name that the compiler may use |
| 846 | * to perform special null analysis. |
| 847 | * |
| 848 | * If the annotation specified by this option is applied to a type in a method |
| 849 | * signature or variable declaration, this will be interpreted as a specification |
| 850 | * that <code>null</code> is a legal value in that position. Currently supported |
| 851 | * positions are: method parameters, method return type and local variables. |
| 852 | * |
| 853 | * If a value whose type |
| 854 | * is annotated with this annotation is dereferenced without checking for null, |
| 855 | * the compiler will trigger a diagnostic as further controlled by |
| 856 | * {@link #COMPILER_PB_POTENTIAL_NULL_REFERENCE}. |
| 857 | * |
| 858 | * The compiler may furthermore check adherence to the null specification as |
| 859 | * further controlled by {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION}, |
| 860 | * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and |
| 861 | * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}. |
| 862 | * |
| 863 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 864 | * |
| 865 | * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nullable"</code> |
| 866 | * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type. |
| 867 | * Default: <code>"org.eclipse.jdt.annotation.Nullable"</code> |
| 868 | * @since 3.8 |
| 869 | * @category CompilerOptionID |
| 870 | */ |
| 871 | public static final String COMPILER_NULLABLE_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nullable"; |
| 872 | </pre></li> |
| 873 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NONNULL_ANNOTATION_NAME (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 874 | <pre> |
| 875 | /** |
| 876 | * Compiler option ID: Name of Annotation Type for Non-Null Types. |
| 877 | * |
| 878 | * This option defines a fully qualified Java type name that the compiler may use |
| 879 | * to perform special null analysis. |
| 880 | * |
| 881 | * If the annotation specified by this option is applied to a type in a method |
| 882 | * signature or variable declaration, this will be interpreted as a specification |
| 883 | * that <code>null</code> is <b>not</b> a legal value in that position. Currently |
| 884 | * supported positions are: method parameters, method return type and local variables. |
| 885 | * |
| 886 | * For values declared with this annotation, the compiler will never trigger a null |
| 887 | * reference diagnostic (as controlled by {@link #COMPILER_PB_POTENTIAL_NULL_REFERENCE} |
| 888 | * and {@link #COMPILER_PB_NULL_REFERENCE}), because the assumption is made that null |
| 889 | * will never occur at runtime in these positions. |
| 890 | * |
| 891 | * The compiler may furthermore check adherence to the null specification as further |
| 892 | * controlled by {@link #COMPILER_PB_NULL_SPECIFICATION_VIOLATION}, |
| 893 | * {@link #COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION} and |
| 894 | * {@link #COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO}. |
| 895 | * |
| 896 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 897 | * |
| 898 | * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnull"</code> |
| 899 | * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type. |
| 900 | * Default: <code>"org.eclipse.jdt.annotation.NonNull"</code> |
| 901 | * @since 3.8 |
| 902 | * @category CompilerOptionID |
| 903 | */ |
| 904 | public static final String COMPILER_NONNULL_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nonnull"; |
| 905 | </pre></li> |
| 906 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 907 | <pre> |
| 908 | /** |
| 909 | * Compiler option ID: Name of Annotation Type to specify a nullness default for unannotated types. |
| 910 | * |
| 911 | * This option defines a fully qualified Java type name that the compiler may use |
| 912 | * to perform special null analysis. |
| 913 | * |
| 914 | * If the annotation is applied without an argument, all unannotated types in method signatures |
| 915 | * within the annotated element will be treated as if they were specified with the non-null annotation |
| 916 | * (see {@link #COMPILER_NONNULL_ANNOTATION_NAME}). |
| 917 | * |
| 918 | * If the annotation is applied with the constant <code>false</code> as its argument |
| 919 | * all corresponding defaults at outer scopes will be canceled for the annotated element. |
| 920 | * This includes defaults specified using this annotation type or a default defined using |
| 921 | * the compiler option {@link #COMPILER_NONNULL_IS_DEFAULT}. |
| 922 | * |
| 923 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 924 | * |
| 925 | * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnullbydefault"</code> |
| 926 | * Possible values: any legal, fully qualified Java type name; must resolve to an annotation type. |
| 927 | * That annotation type should have exactly one boolean parameter. |
| 928 | * Default: <code>"org.eclipse.jdt.annotation.NonNullByDefault"</code> |
| 929 | * @since 3.8 |
| 930 | * @category CompilerOptionID |
| 931 | */ |
| 932 | public static final String COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME = PLUGIN_ID + ".compiler.annotation.nonnullbydefault"; |
| 933 | </pre></li> |
| 934 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_NONNULL_IS_DEFAULT (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 935 | <pre> |
| 936 | /** |
| 937 | * Compiler option ID: Globally specify non-null as the assumed default for unannotated types. |
| 938 | * |
| 939 | * When enabled this option globally achieves the same effect |
| 940 | * as specifying {@link #COMPILER_NONNULL_ANNOTATION_NAME} does for individual elements. |
| 941 | * |
| 942 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 943 | * |
| 944 | * Option id: <code>"org.eclipse.jdt.core.compiler.annotation.nonnullisdefault"</code> |
| 945 | * Possible values: <code>{ "disabled", "enabled" }</code>. |
| 946 | * Default: <code>"disabled"</code> |
| 947 | * @since 3.8 |
| 948 | * @category CompilerOptionID |
| 949 | */ |
| 950 | public static final String COMPILER_NONNULL_IS_DEFAULT = PLUGIN_ID + ".compiler.annotation.nonnullisdefault"; |
| 951 | </pre></li> |
| 952 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_NULL_SPECIFICATION_VIOLATION (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 953 | <pre> |
| 954 | /** |
| 955 | * Compiler option ID: Reporting Violations of Null Specifications. |
| 956 | * |
| 957 | * Depending on this option, the compiler will issue either an error or a warning |
| 958 | * whenever one of the following situations is detected: |
| 959 | * |
| 960 | * 1. A method declared with a nonnull annotation returns an expression that is |
| 961 | * statically known to evaluate to a null value. |
| 962 | * 2. An expression that is statically known to evaluate to a null value is passed |
| 963 | * as an argument in a method call where the corresponding parameter of the called |
| 964 | * method is declared with a nonnull annotation. |
| 965 | * 3. An expression that is statically known to evaluate to a null value is assigned |
| 966 | * to a local variable that is declared with a nonnull annotation. |
| 967 | * 4. A method that overrides an inherited method declared with a nonnull annotation |
| 968 | * tries to relax that contract by specifying a nullable annotation |
| 969 | * (prohibition of contravariant return). |
| 970 | * 5. A method that overrides an inherited method which has a nullable declaration |
| 971 | * for at least one of its parameters, tries to tighten that null contract by |
| 972 | * specifying a nonnull annotation for its corresponding parameter |
| 973 | * (prohibition of covariant parameters). |
| 974 | * |
| 975 | * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and |
| 976 | * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler |
| 977 | * shall interpret as nonnull or nullable annotations, respectively. |
| 978 | * |
| 979 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 980 | * |
| 981 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.nullSpecViolation"</code> |
| 982 | * Possible values: <code>{ "error", "warning" }</code> |
| 983 | * Default: <code>"error"</code> |
| 984 | * |
| 985 | * @since 3.8 |
| 986 | * @category CompilerOptionID |
| 987 | */ |
| 988 | public static final String COMPILER_PB_NULL_SPECIFICATION_VIOLATION = PLUGIN_ID + ".compiler.problem.nullSpecViolation"; |
| 989 | </pre></li> |
| 990 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 991 | <pre> |
| 992 | /** |
| 993 | * Compiler option ID: Reporting Violations of Null Specifications with Potential Null Value. |
| 994 | * |
| 995 | * When enabled, the compiler will issue an error or a warning whenever one of the |
| 996 | * following situations is detected: |
| 997 | * |
| 998 | * 1. A method declared with a nonnull annotation returns an expression that is |
| 999 | * statically known to evaluate to a null value on some flow. |
| 1000 | * 2. An expression that is statically known to evaluate to a null value on some flow |
| 1001 | * is passed as an argument in a method call where the corresponding parameter of |
| 1002 | * the called method is declared with a nonnull annotation. |
| 1003 | * 3. An expression that is statically known to evaluate to a null value on some flow |
| 1004 | * is assigned to a local variable that is declared with a nonnull annotation. |
| 1005 | * |
| 1006 | * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and |
| 1007 | * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler |
| 1008 | * shall interpret as nonnull or nullable annotations, respectively. |
| 1009 | * |
| 1010 | * |
| 1011 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 1012 | * |
| 1013 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.potentialNullSpecViolation"</code> |
| 1014 | * Possible values: <code>{ "error", "warning", "ignore" }</code> |
| 1015 | * Default: <code>"error"</code> |
| 1016 | * |
| 1017 | * @since 3.8 |
| 1018 | * @category CompilerOptionID |
| 1019 | */ |
| 1020 | public static final String COMPILER_PB_POTENTIAL_NULL_SPECIFICATION_VIOLATION = PLUGIN_ID + ".compiler.problem.potentialNullSpecViolation"; |
| 1021 | </pre></li> |
| 1022 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 1023 | <pre> |
| 1024 | /** |
| 1025 | * Compiler option ID: Reporting Insufficient Information for Analysing Adherence to Null Specifications. |
| 1026 | * |
| 1027 | * When enabled, the compiler will issue an error or a warning whenever one of the |
| 1028 | * following situations is detected: |
| 1029 | * |
| 1030 | * 1. A method declared with a nonnull annotation returns an expression for which |
| 1031 | * insufficient nullness information is available for statically proving that no |
| 1032 | * flow will pass a null value at runtime. |
| 1033 | * 2. An expression for which insufficient nullness information is available for |
| 1034 | * statically proving that it will never evaluate to a null value at runtime |
| 1035 | * is passed as an argument in a method call where the corresponding parameter of |
| 1036 | * the called method is declared with a nonnull annotation. |
| 1037 | * 3. An expression for which insufficient nullness information is available for |
| 1038 | * statically proving that it will never evaluate to a null value at runtime |
| 1039 | * is assigned to a local variable that is declared with a nonnull annotation. |
| 1040 | * |
| 1041 | * Insufficient nullness information is usually a consequence of using other unannotated |
| 1042 | * variables or methods. |
| 1043 | * |
| 1044 | * The compiler options {@link #COMPILER_NONNULL_ANNOTATION_NAME} and |
| 1045 | * {@link #COMPILER_NULLABLE_ANNOTATION_NAME} control which annotations the compiler |
| 1046 | * shall interpret as nonnull or nullable annotations, respectively. |
| 1047 | * |
| 1048 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 1049 | * |
| 1050 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.nullSpecInsufficientInfo"</code> |
| 1051 | * Possible values: <code>{ "error", "warning", "ignore" }</code> |
| 1052 | * Default: <code>"warning"</code> |
| 1053 | * |
| 1054 | * @since 3.8 |
| 1055 | * @category CompilerOptionID |
| 1056 | */ |
| 1057 | public static final String COMPILER_PB_NULL_SPECIFICATION_INSUFFICIENT_INFO = PLUGIN_ID + ".compiler.problem.nullSpecInsufficientInfo"; |
| 1058 | </pre></li> |
| 1059 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_REDUNDANT_NULL_ANNOTATION (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> for details): |
| 1060 | <pre> |
| 1061 | /** |
| 1062 | * Compiler option ID: Reporting Redundant Null Annotations. |
| 1063 | * |
| 1064 | * When enabled, the compiler will issue an error or a warning when a non-null annotation |
| 1065 | * (see {@link #COMPILER_NONNULL_ANNOTATION_NAME}) |
| 1066 | * is applied although the same effect is already achieved by a default applicable at the |
| 1067 | * current location. Such a default may be effective by enabling the option |
| 1068 | * {@link #COMPILER_NONNULL_IS_DEFAULT} or by using the annotation specified by the option |
| 1069 | * {@link #COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME}. |
| 1070 | * |
| 1071 | * This option only has an effect if the the option {@link #COMPILER_ANNOTATION_NULL_ANALYSIS} is enabled. |
| 1072 | * |
| 1073 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation"</code> |
| 1074 | * Possible values: <code>{ "error", "warning", "ignore" }</code> |
| 1075 | * Default: <code>"warning"</code> |
| 1076 | * |
| 1077 | * @since 3.8 |
| 1078 | * @category CompilerOptionID |
| 1079 | */ |
| 1080 | public static final String COMPILER_PB_REDUNDANT_NULL_ANNOTATION = PLUGIN_ID + ".compiler.problem.redundantNullAnnotation"; |
| 1081 | </pre> |
| 1082 | </li> |
| 1083 | <li>New API added to org.eclipse.jdt.core.compiler.IProblem to signal null-related issues: |
| 1084 | <ul> |
| 1085 | <li> int RequiredNonNullButProvidedNull</li> |
| 1086 | <li> int RequiredNonNullButProvidedPotentialNull</li> |
| 1087 | <li> int RequiredNonNullButProvidedUnknown</li> |
| 1088 | <li> int MissingNullAnnotationType</li> |
| 1089 | <li> int IllegalReturnNullityRedefinition</li> |
| 1090 | <li> int IllegalRedefinitionToNonNullParameter</li> |
| 1091 | <li> int IllegalDefinitionToNonNullParameter</li> |
| 1092 | <li> int ParameterLackingNonNullAnnotation</li> |
| 1093 | <li> int ParameterLackingNullableAnnotation</li> |
| 1094 | <li> int PotentialNullMessageSendReference</li> |
| 1095 | <li> int RedundantNullCheckOnNonNullMessageSend</li> |
| 1096 | <li> int CannotImplementIncompatibleNullness</li> |
| 1097 | <li> int RedundantNullAnnotation</li> |
| 1098 | <li> int IllegalAnnotationForBaseType</li> |
| 1099 | </ul> |
| 1100 | </ul> |
| 1101 | |
| 1102 | <h3>Problem Reports Fixed</h3> |
| 1103 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363858">363858</a> |
| 1104 | [dom] early throwing of AbortCompilation causes NPE in CompilationUnitResolver |
| 1105 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=331647">331647</a> |
| 1106 | [compiler][null] support flexible default mechanism for null-annotations |
| 1107 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334457">334457</a> |
| 1108 | [compiler][null] check compatibility of inherited null contracts |
| 1109 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=186342">186342</a> |
| 1110 | [compiler][null] Using annotations for null checking |
| 1111 | |
| 1112 | <hr><h1> |
| 1113 | Eclipse Platform Build Notes<br> |
| 1114 | Java development tools core</h1> |
| 1115 | Eclipse SDK 3.8.0 - November 29, 2011 |
Stephan Herrmann | 41a335b | 2011-12-08 22:55:07 +0100 | [diff] [blame] | 1116 | <h2>What's new in this drop</h2> |
| 1117 | |
| 1118 | <h3>Problem Reports Fixed</h3> |
| 1119 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340945">340945</a> |
| 1120 | Extension Request of JavaContentAssistInvocationContext |
| 1121 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=364672">364672</a> |
| 1122 | [compiler] ecj fails to compile valid calls to varargs method |
| 1123 | |
| 1124 | <a name="v_C21"></a> |
| 1125 | <hr><h1> |
| 1126 | Eclipse Platform Build Notes<br> |
| 1127 | Java development tools core</h1> |
| 1128 | Eclipse SDK 3.8.0 - November 22, 2011 |
| 1129 | <h2>What's new in this drop</h2> |
| 1130 | |
| 1131 | <h3>Problem Reports Fixed</h3> |
| 1132 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350738">350738</a> |
| 1133 | "The method is never used locally" is not shown for parameterized recursive methods |
| 1134 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361053">361053</a> |
| 1135 | java.lang.VerifyError on try-with-resources |
| 1136 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346038">346038</a> |
| 1137 | [1.5][compiler] ecj vs. javac differ for methods using vararg parameters of different primitive types |
| 1138 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346039">346039</a> |
| 1139 | [1.5][compiler] ecj vs. javac differ for varargs overloading |
| 1140 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362279">362279</a> |
| 1141 | ecj vs. javac differ for automatic boxing of implicitly converted types |
Stephan Herrmann | 41a335b | 2011-12-08 22:55:07 +0100 | [diff] [blame] | 1142 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=362591">362591</a> |
| 1143 | VerifyError: Inconsistent stackmap frames |
| 1144 | |
| 1145 | <a name="v_C20"></a> |
| 1146 | <hr><h1> |
| 1147 | Eclipse Platform Build Notes<br> |
| 1148 | Java development tools core</h1> |
| 1149 | Eclipse SDK 3.8.0 - November 15, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1150 | <br> |
Stephan Herrmann | 41a335b | 2011-12-08 22:55:07 +0100 | [diff] [blame] | 1151 | <h2>What's new in this drop</h2> |
| 1152 | |
| 1153 | <h3>Problem Reports Fixed</h3> |
| 1154 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361327">361327</a> |
| 1155 | Static import resolution does not record all static elements being imported |
| 1156 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346042">346042</a> |
| 1157 | [1.5][compiler] ecj compiles code rejected by javac for varargs parameters of inaccessible type |
| 1158 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361938">361938</a> |
| 1159 | Formerly working JLS3 parser not working -- Scanner reports com.sun.jdi.InvocationException occurred invoking method. |
| 1160 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359284">359284</a> |
| 1161 | Unnecessary checkast from null |
| 1162 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361441">361441</a> |
| 1163 | Error in JDT Core during AST creation |
| 1164 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=363293">363293</a> |
| 1165 | resource leaks in org.eclipse.jdt.compiler.tool.tests |
| 1166 | |
Stephan Herrmann | ae64da7 | 2011-11-10 09:47:39 +0000 | [diff] [blame] | 1167 | <a name="v_C19"></a> |
| 1168 | <hr><h1> |
| 1169 | Eclipse Platform Build Notes<br> |
| 1170 | Java development tools core</h1> |
Stephan Herrmann | 41a335b | 2011-12-08 22:55:07 +0100 | [diff] [blame] | 1171 | Eclipse SDK 3.8.0 - November 8, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1172 | <br> |
Stephan Herrmann | ae64da7 | 2011-11-10 09:47:39 +0000 | [diff] [blame] | 1173 | <h2>What's new in this drop</h2> |
| 1174 | |
| 1175 | <h3>Problem Reports Fixed</h3> |
| 1176 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361922">361922</a> |
| 1177 | Fup of 357425: ensure all reported regressions are witnessed by tests |
| 1178 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a> |
| 1179 | Javadoc content does not appear in content assist info window for non-static inner class constructors |
| 1180 | |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1181 | <a name="v_C18"></a> |
| 1182 | <hr><h1> |
| 1183 | Eclipse Platform Build Notes<br> |
| 1184 | Java development tools core</h1> |
| 1185 | Eclipse SDK 3.8.0 - October 25, 2011 - 3.8.0 M3 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1186 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1187 | <h2>What's new in this drop</h2> |
| 1188 | |
| 1189 | <h3>Problem Reports Fixed</h3> |
| 1190 | |
| 1191 | <a name="v_C17"></a> |
| 1192 | <hr><h1> |
| 1193 | Eclipse Platform Build Notes<br> |
| 1194 | Java development tools core</h1> |
| 1195 | Eclipse SDK 3.8.0 - October 20, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1196 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1197 | <h2>What's new in this drop</h2> |
| 1198 | <ul> |
| 1199 | <li>Added a new API OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a> for details): |
| 1200 | <pre> |
| 1201 | /** |
| 1202 | * Status constant indicating that the default or specific output folder is overlapping |
| 1203 | * with another source location. |
| 1204 | * @since 3.8 |
| 1205 | */ |
| 1206 | public static final int OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE = 1013; |
| 1207 | </pre> |
| 1208 | </li> |
| 1209 | |
| 1210 | <li>Added a new option CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE to report an output location overlapping another source location(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a> for details): |
| 1211 | <pre> |
| 1212 | /** |
| 1213 | * Core option ID: Reporting an output location overlapping another source location. |
| 1214 | * Indicate the severity of the problem reported when a source entry's output location overlaps another |
| 1215 | * source entry. |
| 1216 | * |
| 1217 | * Option id:"org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource" |
| 1218 | * Possible values:{ "error", "warning", "ignore" } |
| 1219 | * Default:"error" |
| 1220 | * |
| 1221 | * @since 3.8 |
| 1222 | */ |
| 1223 | public static final String CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE = PLUGIN_ID + ".classpath.outputOverlappingAnotherSource"; |
| 1224 | </pre> |
| 1225 | </li> |
| 1226 | </ul> |
| 1227 | <h3>Problem Reports Fixed</h3> |
| 1228 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287164">287164</a> |
| 1229 | Report build path error if source folder has other source folder as output folder |
| 1230 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359721">359721</a> |
| 1231 | [options] add command line option for new warning token "resource" |
| 1232 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343480">343480</a> |
| 1233 | [compiler] Incorrect/confusing error message on inner class static field declaration |
| 1234 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=318401">318401</a> |
| 1235 | FUP of 317858: Clarify eclipse compiler behavior on imports & shadowing |
| 1236 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360317">360317</a> |
| 1237 | [compiler] report switch over enum in 1.4- mode |
| 1238 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360164">360164</a> |
| 1239 | Compile error in XSDImpl |
| 1240 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359727">359727</a> |
| 1241 | [1.7][doc] Update doc for new resource leak warnings |
| 1242 | |
| 1243 | <a name="v_C16"></a> |
| 1244 | <hr><h1> |
| 1245 | Eclipse Platform Build Notes<br> |
| 1246 | Java development tools core</h1> |
| 1247 | Eclipse SDK 3.8.0 - October 18, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1248 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1249 | <h2>What's new in this drop</h2> |
| 1250 | <ul> |
| 1251 | <li>Added a new API IBootstrapMethodsEntry to describe the bootstrap method table entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1252 | <pre> |
| 1253 | /** |
| 1254 | * Description of a bootstrap method table entry as specified in the JVM specifications. |
| 1255 | * |
| 1256 | * This interface may be implemented by clients. |
| 1257 | * |
| 1258 | * @since 3.8 |
| 1259 | */ |
| 1260 | public interface IBootstrapMethodsEntry; |
| 1261 | </pre> |
| 1262 | </li> |
| 1263 | |
| 1264 | <li>Added a new API IBootstrapMethodsAttribute to describe the bootstrap method attribute(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1265 | <pre> |
| 1266 | /** |
| 1267 | * Description of a bootstrap methods attribute as described in the JVM specifications. |
| 1268 | * |
| 1269 | * This interface may be implemented by clients. |
| 1270 | * |
| 1271 | * @since 3.8 |
| 1272 | */ |
| 1273 | public interface IBootstrapMethodsAttribute |
| 1274 | </pre> |
| 1275 | </li> |
| 1276 | |
| 1277 | <li>Added a new API in IBootstrapMethodsAttribute to obtain the number of bootstrap methods of this entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1278 | <pre> |
| 1279 | /** |
| 1280 | * Answer back the number of bootstrap methods of this entry as specified in |
| 1281 | * the JVM specifications. |
| 1282 | * |
| 1283 | * @return the number of bootstrap methods of this entry as specified in |
| 1284 | * the JVM specifications |
| 1285 | */ |
| 1286 | int getBootstrapMethodsLength(); |
| 1287 | </pre> |
| 1288 | </li> |
| 1289 | |
| 1290 | <li>Added a new API in IBootstrapMethodsAttribute to obtain the bootstrap methods table of this entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1291 | <pre> |
| 1292 | /** |
| 1293 | * Answer back the bootstrap methods table of this entry as specified in |
| 1294 | * the JVM specifications. Answer an empty array if none. |
| 1295 | * |
| 1296 | * @return the bootstrap methods table of this entry as specified in |
| 1297 | * the JVM specifications. Answer an empty array if none |
| 1298 | */ |
| 1299 | IBootstrapMethodsEntry[] getBootstrapMethods(); |
| 1300 | </pre> |
| 1301 | </li> |
| 1302 | |
| 1303 | <li>Added IConstantPoolEntry2 to describe the new constant pool entry from Java 7 onwards(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1304 | <pre> |
| 1305 | /** |
| 1306 | * Description of the new constant pool entry as described in the JVM specifications |
| 1307 | * added for Java 7 support. |
| 1308 | * Its contents is initialized according to its kind. |
| 1309 | * |
| 1310 | * This interface may be implemented by clients. |
| 1311 | * |
| 1312 | * @since 3.8 |
| 1313 | */ |
| 1314 | public interface IConstantPoolEntry2 |
| 1315 | </pre> |
| 1316 | </li> |
| 1317 | |
| 1318 | <li>Added new API in IConstantPoolEntry2 to return the descriptor index for MethodType entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1319 | <pre> |
| 1320 | /** |
| 1321 | * Returns the descriptor index. This value is set only when decoding a MethodType entry. |
| 1322 | * The value is unspecified otherwise. The corresponding UTF8 value can be retrieved by using |
| 1323 | * {@link #getMethodDescriptor()}. |
| 1324 | * |
| 1325 | * @return the descriptor index. This value is set only when decoding a MethodType entry. |
| 1326 | * @see IConstantPoolConstant#CONSTANT_MethodType |
| 1327 | */ |
| 1328 | int getDescriptorIndex(); |
| 1329 | </pre> |
| 1330 | </li> |
| 1331 | |
| 1332 | <li>Added new API in IConstantPoolEntry2 to return the reference kind for MethodHandle entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1333 | <pre> |
| 1334 | /** |
| 1335 | * Returns the reference kind. This value is set only when decoding a MethodHandle entry. |
| 1336 | * The value is unspecified otherwise. |
| 1337 | * |
| 1338 | * @return the reference kind. This value is set only when decoding a MethodHandle entry. |
| 1339 | * @see IConstantPoolConstant#CONSTANT_MethodHandle |
| 1340 | */ |
| 1341 | int getReferenceKind(); |
| 1342 | </pre> |
| 1343 | </li> |
| 1344 | |
| 1345 | <li>Added new API in IConstantPoolEntry2 to return the reference index for MethodHandle entry(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1346 | <pre> |
| 1347 | /** |
| 1348 | * Returns the reference index. This value is set only when decoding a MethodHandle entry. |
| 1349 | * The value is unspecified otherwise. |
| 1350 | * |
| 1351 | * @return the reference kind. This value is set only when decoding a MethodHandle entry. |
| 1352 | * @see IConstantPoolConstant#CONSTANT_MethodHandle |
| 1353 | */ |
| 1354 | int getReferenceIndex(); |
| 1355 | </pre> |
| 1356 | </li> |
| 1357 | |
| 1358 | <li>Added new API in IConstantPoolEntry2 to return the bootstrap method attribute index(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1359 | <pre> |
| 1360 | /** |
| 1361 | * Returns the bootstrap method attribute index. This value is set only when decoding a InvokeDynamic entry. |
| 1362 | * The value is unspecified otherwise. |
| 1363 | * |
| 1364 | * @return the reference kind. This value is set only when decoding a MethodHandle entry. |
| 1365 | * @see IConstantPoolConstant#CONSTANT_InvokeDynamic |
| 1366 | */ |
| 1367 | int getBootstrapMethodAttributeIndex(); |
| 1368 | </pre> |
| 1369 | </li> |
| 1370 | |
| 1371 | <li>Added new API in IByteCodeVisitor(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> for details): |
| 1372 | <pre> |
| 1373 | /** |
| 1374 | * @since 3.8 |
| 1375 | */ |
| 1376 | void _invokedynamic( |
| 1377 | int pc, |
| 1378 | int index, |
| 1379 | IConstantPoolEntry invokeDynamic); |
| 1380 | </pre> |
| 1381 | <p> |
| 1382 | This has been added in place of the deprecated API |
| 1383 | <pre> |
| 1384 | void _invokedynamic( |
| 1385 | int pc, |
| 1386 | int index, |
| 1387 | IConstantPoolEntry nameEntry, |
| 1388 | IConstantPoolEntry descriptorEntry); |
| 1389 | </pre> |
| 1390 | </li> |
| 1391 | </ul> |
| 1392 | <h3>Problem Reports Fixed</h3> |
| 1393 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359943">359943</a> |
| 1394 | invokedynamic in generated class file is not correctly recognized by the eclipse compiler |
| 1395 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360644">360644</a> |
| 1396 | Scope.isDefinedInSameUnit(ReferenceBinding) fails for a ParameterizedTypeBinding |
| 1397 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358762">358762</a> |
| 1398 | NPE in JDT compiler |
| 1399 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360328">360328</a> |
| 1400 | [compiler][null] detect null problems in nested code (local class inside a loop) |
| 1401 | |
| 1402 | <a name="v_C15"></a> |
| 1403 | <hr><h1> |
| 1404 | Eclipse Platform Build Notes<br> |
| 1405 | Java development tools core</h1> |
| 1406 | Eclipse SDK 3.8.0 - October 11, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1407 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1408 | <h2>What's new in this drop</h2> |
| 1409 | |
| 1410 | <h3>Problem Reports Fixed</h3> |
| 1411 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350285">350285</a> |
| 1412 | ASTRewrite destroys formatting on CatchClause#setBody(copyTarget) |
| 1413 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353474">353474</a> |
| 1414 | type converters should include more annotations |
| 1415 | |
| 1416 | <a name="v_C14"></a> |
| 1417 | <hr><h1> |
| 1418 | Eclipse Platform Build Notes<br> |
| 1419 | Java development tools core</h1> |
| 1420 | Eclipse SDK 3.8.0 - October 5, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1421 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1422 | <h2>What's new in this drop</h2> |
| 1423 | |
| 1424 | <h3>Problem Reports Fixed</h3> |
| 1425 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354181">354181</a> |
| 1426 | migrate jdt.core to git |
| 1427 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359831">359831</a> |
| 1428 | Fix messages for "new warning for missing try-with-resources" |
| 1429 | |
| 1430 | <a name="v_C13"></a> |
| 1431 | <hr><h1> |
| 1432 | Eclipse Platform Build Notes<br> |
| 1433 | Java development tools core</h1> |
| 1434 | Eclipse SDK 3.8.0 - October 3, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1435 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1436 | <h2>What's new in this drop</h2> |
| 1437 | <ul> |
| 1438 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_UNCLOSED_CLOSEABLE to raise a warning or error |
| 1439 | when a resource of type Closeable or AutoCloseable is not closed locally. |
| 1440 | (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>): |
| 1441 | <pre> |
| 1442 | /** |
| 1443 | * Compiler option ID: Reporting a resource that is not closed properly. |
| 1444 | * |
| 1445 | * When enabled, the compiler will issue an error or a warning if |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1446 | * a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7) |
| 1447 | * or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1448 | * flow analysis shows that the method <code>close()</code> is not invoked locally on that value. |
| 1449 | * |
| 1450 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportUnclosedCloseable"</code> |
| 1451 | * Possible values: <code>{ "error", "warning", "ignore" }</code> |
| 1452 | * Default: <code>"warning"</code> |
| 1453 | * |
| 1454 | * @since 3.8 |
| 1455 | * @category CompilerOptionID |
| 1456 | */ |
| 1457 | public static final String COMPILER_PB_UNCLOSED_CLOSEABLE = PLUGIN_ID + ".compiler.problem.unclosedCloseable"; //$NON-NLS-1$ |
| 1458 | </pre> |
| 1459 | </li> |
| 1460 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE to raise a warning or error |
| 1461 | when a resource of type Closeable or AutoCloseable is not definitely closed locally. |
| 1462 | (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>): |
| 1463 | <pre> |
| 1464 | /** |
| 1465 | * Compiler option ID: Reporting a resource that may not be closed properly. |
| 1466 | * |
| 1467 | * When enabled, the compiler will issue an error or a warning if |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1468 | * a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7) |
| 1469 | * or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1470 | * flow analysis shows that the method <code>close()</code> is |
| 1471 | * not invoked locally on that value for all execution paths. |
| 1472 | * |
| 1473 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportPotentiallyUnclosedCloseable"</code> |
| 1474 | * Possible values: <code>{ "error", "warning", "ignore" }</code> |
| 1475 | * Default: <code>"ignore"</code> |
| 1476 | * |
| 1477 | * @since 3.8 |
| 1478 | * @category CompilerOptionID |
| 1479 | */ |
| 1480 | public static final String COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE = PLUGIN_ID + ".compiler.problem.potentiallyUnclosedCloseable"; //$NON-NLS-1$ |
| 1481 | </pre> |
| 1482 | </li> |
| 1483 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE to raise a warning or error |
| 1484 | when a resource of type AutoCloseable is closed explicitly rather than using a try-with-resources block. |
| 1485 | (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a>): |
| 1486 | <pre> |
| 1487 | /** |
| 1488 | * Compiler option ID: Reporting a resource that is not managed by try-with-resources. |
| 1489 | * |
| 1490 | * When enabled, the compiler will issue an error or a warning if a local variable |
| 1491 | * holds a value of type <code>java.lang.AutoCloseable</code>, and if the method |
| 1492 | * <code>close()</code> is explicitly invoked on that resource, but the resource is |
| 1493 | * not managed by a try-with-resources block. |
| 1494 | * |
| 1495 | * Option id: <code>"org.eclipse.jdt.core.compiler.problem.reportPotentiallyUnclosedCloseable"</code> |
| 1496 | * Possible values: <code>{ "error", "warning", "ignore" }</code> |
| 1497 | * Default: <code>"ignore"</code> |
| 1498 | * |
| 1499 | * @since 3.8 |
| 1500 | * @category CompilerOptionID |
| 1501 | */ |
| 1502 | public static final String COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE = PLUGIN_ID + ".compiler.problem.explicitlyClosedAutoCloseable"; //$NON-NLS-1$ |
| 1503 | </pre> |
| 1504 | </li> |
| 1505 | </ul> |
| 1506 | |
| 1507 | <h3>Problem Reports Fixed</h3> |
| 1508 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359495">359495</a> |
| 1509 | [1.7][compiler] VerifyError in try-finally block with lock encompassing for-each block and unlock in finally clause |
| 1510 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=161129">161129</a> |
| 1511 | [batch][compiler] Add -warn:all to report all warnings |
| 1512 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359646">359646</a> |
| 1513 | Formatter fails silently if Java source contains 0x8000000000000000L |
| 1514 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=256796">256796</a> |
| 1515 | [compiler] dead code detection: "if (DEBUG) return;" should also be trivial IF stmt |
| 1516 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359334">359334</a> |
| 1517 | Analysis for resource leak warnings does not consider exceptions as method exit points |
| 1518 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=359362">359362</a> |
| 1519 | FUP of bug 349326: Resource leak on non-Closeable resource. |
| 1520 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348186">348186</a> |
| 1521 | [compiler] Improve wording for the warning for masked/hidden catch block |
| 1522 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355838">355838</a> |
| 1523 | [compiler] ecj compiles the code that javac6 rejects |
| 1524 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349326">349326</a> |
| 1525 | [1.7] new warning for missing try-with-resources |
| 1526 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354502">354502</a> |
| 1527 | Incorrect Compiler Warning: "Method can be declared as static" |
| 1528 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=241834">241834</a> |
| 1529 | [search] ClassCastException during move class refactoring |
| 1530 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358827">358827</a> |
| 1531 | [1.7] exception analysis for t-w-r spoils null analysis |
| 1532 | |
| 1533 | <a name="v_C12"></a> |
| 1534 | <hr><h1> |
| 1535 | Eclipse Platform Build Notes<br> |
| 1536 | Java development tools core</h1> |
| 1537 | Eclipse SDK 3.8.0 - September 23, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1538 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1539 | <h2>What's new in this drop</h2> |
| 1540 | <ul> |
| 1541 | <li>Tagging to prepare for the git migration</li> |
| 1542 | </ul> |
| 1543 | |
| 1544 | <h3>Problem Reports Fixed</h3> |
| 1545 | |
| 1546 | <a name="v_C11"></a> |
| 1547 | <hr><h1> |
| 1548 | Eclipse Platform Build Notes<br> |
| 1549 | Java development tools core</h1> |
| 1550 | Eclipse SDK 3.8.0 - September 20, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1551 | <br> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1552 | <h2>What's new in this drop</h2> |
| 1553 | |
| 1554 | <h3>Problem Reports Fixed</h3> |
| 1555 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357110">357110</a> |
| 1556 | Problem with inner classes referenced from jars or class folders: "The type ... cannot be resolved" |
| 1557 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357471">357471</a> |
| 1558 | ASTParser cannot resolve binding of PackageDeclaration if class name is equal to the first segment of the package name |
| 1559 | |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 1560 | <a name="v_C10"></a> |
| 1561 | <hr><h1> |
| 1562 | Eclipse Platform Build Notes<br> |
| 1563 | Java development tools core</h1> |
| 1564 | Eclipse SDK 3.8.0 - September 13, 2011 - 3.8.0 M2 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1565 | <br> |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 1566 | <h2>What's new in this drop</h2> |
| 1567 | |
| 1568 | <h3>Problem Reports Fixed</h3> |
| 1569 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=357259">357259</a> |
| 1570 | [dom] AST#newArrayType(Type, int) should allow array type as argument |
| 1571 | |
| 1572 | <a name="v_C09"></a> |
| 1573 | <hr><h1> |
| 1574 | Eclipse Platform Build Notes<br> |
| 1575 | Java development tools core</h1> |
| 1576 | Eclipse SDK 3.8.0 - September 9, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1577 | <br> |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 1578 | <h2>What's new in this drop</h2> |
| 1579 | |
| 1580 | <h3>Problem Reports Fixed</h3> |
| 1581 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354332">354332</a> |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1582 | DeltaProcessor exhibits O(N^2) behavior |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 1583 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=355605">355605</a> |
| 1584 | NPE in HierarchyResolver |
| 1585 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347396">347396</a> |
| 1586 | ASTParser returns empty or partial AST if we parse the the body contains empty for loop |
| 1587 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356746">356746</a> |
| 1588 | ECJ accepts illegal unicode escape sequences |
| 1589 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337935">337935</a> |
| 1590 | Test failures when run as an IDE (org.eclipse.sdk.ide) |
| 1591 | |
| 1592 | <a name="v_C08"></a> |
| 1593 | <hr><h1> |
| 1594 | Eclipse Platform Build Notes<br> |
| 1595 | Java development tools core</h1> |
| 1596 | Eclipse SDK 3.8.0 - September 6, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1597 | <br> |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 1598 | <h2>What's new in this drop</h2> |
| 1599 | |
| 1600 | <h3>Problem Reports Fixed</h3> |
| 1601 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356325">356325</a> |
| 1602 | [select] Open declaration on a constructor of a local class with type parameters doesn't work |
| 1603 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=24804">24804</a> |
| 1604 | Organize imports wipes comments between statements [code manipulation] |
| 1605 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356363">356363</a> |
| 1606 | Many links to java.sun.com are broken |
| 1607 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346529">346529</a> |
| 1608 | Don't show "The method * from the type * is never used locally" warning for private methods annotated with standard annotations like @PostConstruct |
| 1609 | |
Stephan Herrmann | 8cf3470 | 2011-09-03 16:15:54 +0000 | [diff] [blame] | 1610 | <a name="v_C07"></a> |
| 1611 | <hr><h1> |
| 1612 | Eclipse Platform Build Notes<br> |
| 1613 | Java development tools core</h1> |
Stephan Herrmann | 7d944ef | 2011-09-17 19:42:22 +0000 | [diff] [blame] | 1614 | Eclipse SDK 3.8.0 - August 30, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1615 | <br> |
Stephan Herrmann | 8cf3470 | 2011-09-03 16:15:54 +0000 | [diff] [blame] | 1616 | <h2>What's new in this drop</h2> |
| 1617 | |
| 1618 | <h3>Problem Reports Fixed</h3> |
| 1619 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=356002">356002</a> |
| 1620 | VerifyError "Inconsistent stackmap frames" for switch-string statement with nested for-loop |
| 1621 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350095">350095</a> |
| 1622 | The 2000th (0-based) enum constant is null |
| 1623 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=234074">234074</a> |
| 1624 | Compliance_1_5#test088 fails when launched with JRE 6 and -Dcompliance=1.5 |
| 1625 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350612">350612</a> |
| 1626 | OutOfMemoryError while "Initializing Java Tooling" |
| 1627 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348024">348024</a> |
| 1628 | Empty AST for class with static inner class in a package with package-info.java |
| 1629 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346010">346010</a> |
| 1630 | [model] strange initialization dependency in OptionTests |
| 1631 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353640">353640</a> |
| 1632 | AIOOBE in ParameterizedTypeBinding.substitute |
| 1633 | |
Stephan Herrmann | 3df378f | 2011-08-25 12:46:17 +0000 | [diff] [blame] | 1634 | <a name="v_C06"></a> |
| 1635 | <hr><h1> |
| 1636 | Eclipse Platform Build Notes<br> |
| 1637 | Java development tools core</h1> |
Stephan Herrmann | 8cf3470 | 2011-09-03 16:15:54 +0000 | [diff] [blame] | 1638 | Eclipse SDK 3.8.0 - August 23, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1639 | <br> |
Stephan Herrmann | 3df378f | 2011-08-25 12:46:17 +0000 | [diff] [blame] | 1640 | <h2>What's new in this drop</h2> |
| 1641 | |
| 1642 | <h3>Problem Reports Fixed</h3> |
| 1643 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348507">348507</a> |
| 1644 | [search] Hyperlinks from the Java Stack Trace console should search the workspace in CLASSPATH order |
| 1645 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345949">345949</a> |
| 1646 | [compiler] Inconsistent name clash behavior vis-a-vis javac7 |
| 1647 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a> |
| 1648 | Javadoc content does not appear in content assist info window for non-static inner class constructors |
| 1649 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353535">353535</a> |
| 1650 | Eclipse compiler generates wrong bytecode for nested try-with-resources statements |
| 1651 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354579">354579</a> |
| 1652 | Fup of bug 289247: Investigate validity of the fix vis-a-vis JLS. |
| 1653 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354078">354078</a> |
| 1654 | [dom] ASTConverter.removeTrailingCommentFromExpressionEndingWithAParen() ?? |
| 1655 | |
| 1656 | <a name="v_C05"></a> |
| 1657 | <hr><h1> |
| 1658 | Eclipse Platform Build Notes<br> |
| 1659 | Java development tools core</h1> |
| 1660 | Eclipse SDK 3.8.0 - August 16, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1661 | <br> |
Stephan Herrmann | 3df378f | 2011-08-25 12:46:17 +0000 | [diff] [blame] | 1662 | <h2>What's new in this drop</h2> |
| 1663 | |
| 1664 | <h3>Problem Reports Fixed</h3> |
| 1665 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354554">354554</a> |
| 1666 | [null] conditional with redundant condition yields weak error message |
| 1667 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354536">354536</a> |
| 1668 | compiling package-info.java still depends on the order of compilation units |
| 1669 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a> |
| 1670 | anonymous class in array member initializer confuses content assist |
| 1671 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352412">352412</a> |
| 1672 | Switching on strings in 1.6- modes produces misleading message |
| 1673 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=317719">317719</a> |
| 1674 | Method incorrectly flagged as having same erasure output when return type differs |
| 1675 | |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1676 | <a name="v_C04"></a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1677 | <hr><h1> |
| 1678 | Eclipse Platform Build Notes<br> |
| 1679 | Java development tools core</h1> |
Stephan Herrmann | 3df378f | 2011-08-25 12:46:17 +0000 | [diff] [blame] | 1680 | Eclipse SDK 3.8.0 - August 9, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1681 | <br> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1682 | <h2>What's new in this drop</h2> |
| 1683 | <ul> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1684 | <li>Added a new API in BindingKey to return it's declaring type(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351165">351165</a> for details): |
| 1685 | <pre> |
| 1686 | /** |
| 1687 | * Returns the binding key of the declaring type of the element represented by this binding key. If the binding key |
| 1688 | * does not represent a member or if the member doesn't have a declaring type, returns <code>null</code>. |
| 1689 | * |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1690 | * Note that only binding keys for references to methods and fields |
| 1691 | * are fully supported. The binding keys for declarations will not have type parameters. |
| 1692 | * |
| 1693 | * @return the type binding key or <code>null</code> |
| 1694 | * @since 3.7.1 |
| 1695 | */ |
| 1696 | public BindingKey getDeclaringType(); |
| 1697 | </pre> |
| 1698 | </li> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1699 | </ul> |
| 1700 | |
| 1701 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1702 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354052">354052</a> |
| 1703 | [1.7] NPE in org.eclipse.jdt.internal.compiler.ClassFile.traverse(ClassFile.java:4507) |
| 1704 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346741">346741</a> |
| 1705 | [1.7][doc] Update doc when java 1.7 support is done |
| 1706 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353238">353238</a> |
| 1707 | [1.7] update unusedTypeArgs option description for the batch compiler |
| 1708 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353089">353089</a> |
| 1709 | [1.7][compiler] Incorrect name clash error with ecj |
| 1710 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351165">351165</a> |
| 1711 | [1.7] API to get the type arguments of the declaring type for constructor invocations |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1712 | |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1713 | <a name="v_C03"></a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1714 | <hr><h1> |
| 1715 | Eclipse Platform Build Notes<br> |
| 1716 | Java development tools core</h1> |
Stephan Herrmann | 3df378f | 2011-08-25 12:46:17 +0000 | [diff] [blame] | 1717 | Eclipse SDK 3.8.0 - August 3, 2011 - 3.8.0 M1 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1718 | <br> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1719 | <h2>What's new in this drop</h2> |
| 1720 | |
| 1721 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1722 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353553">353553</a> |
| 1723 | Rename readableNames.properties to avoid translation |
| 1724 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353085">353085</a> |
| 1725 | [1.7] Cannot cast from Object to boolean |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1726 | |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1727 | <a name="v_C02"></a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1728 | <hr><h1> |
| 1729 | Eclipse Platform Build Notes<br> |
| 1730 | Java development tools core</h1> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1731 | Eclipse SDK 3.8.0 - July 28, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1732 | <br> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1733 | <h2>What's new in this drop</h2> |
| 1734 | |
| 1735 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1736 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353250">353250</a> |
| 1737 | [1.7] merging Java 7 work to HEAD |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1738 | |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1739 | <a name="v_C01"></a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1740 | <hr><h1> |
| 1741 | Eclipse Platform Build Notes<br> |
| 1742 | Java development tools core</h1> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1743 | Eclipse SDK 3.8.0 - July 27, 2011 |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 1744 | <br> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1745 | <h2>What's new in this drop</h2> |
| 1746 | <ul> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1747 | <li>Bundle version has been incremented to 3.8.0.qualifier</li> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1748 | <li>Added a new API in CompletionProposal to tell whether it diamond operator can be used (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351444">351444</a> for details): |
| 1749 | <pre> |
| 1750 | /** |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1751 | * Returns whether it is safe to use the '<>' (diamond) operator in place of explicitly specifying |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1752 | * type arguments for this proposal. |
| 1753 | * |
| 1754 | * This is only relevant for source level 1.7 or greater. |
| 1755 | * |
| 1756 | * @param coreContext the completion context associated with the proposal |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1757 | * @since 3.7.1 |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1758 | * @return <code>true</code> if it is safe to use the diamond operator for the constructor invocation, |
| 1759 | * <code>false</code> otherwise. Also returns <code>false</code> for source levels below 1.7 |
| 1760 | */ |
| 1761 | public boolean canUseDiamond(CompletionContext coreContext); |
| 1762 | </pre> |
| 1763 | </li> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1764 | <li>New Javacore option org.eclipse.jdt.core.JavaCore.COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS added to raise warning or error for redundant |
| 1765 | usage of type arguments when diamond operator can be used instead. (see details in bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340747">340747</a>): |
| 1766 | <pre> |
| 1767 | /** |
| 1768 | * Compiler option ID: Reporting redundant specification of type arguments in class instance creation expressions. |
| 1769 | * When enabled, the compiler will issue an error or a warning if type arguments are used in a class instance creation, |
Stephan Herrmann | 6dcbb38 | 2011-10-25 16:30:31 +0000 | [diff] [blame] | 1770 | * when the '<>' operator can be used instead. |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1771 | * |
| 1772 | * This option only has an effect if the compiler compliance is 1.7 or greater. |
| 1773 | * |
| 1774 | * Option id:<code>"org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments"</code> |
| 1775 | * Possible values:<code>{ "error", "warning", "ignore" }</code> |
| 1776 | * Default:<code>"ignore"</code> |
| 1777 | * |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1778 | * @since 3.7.1 |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1779 | * @category CompilerOptionID |
| 1780 | */ |
| 1781 | public static final String COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS = PLUGIN_ID + ".compiler.problem.redundantSpecificationOfTypeArguments"; |
| 1782 | </pre> |
| 1783 | </li> |
| 1784 | <li>Added a new API in ClassInstanceCreation to tell whether the resolved type is inferred from the assignment context: |
| 1785 | <br>(see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a> for details): |
| 1786 | <pre> |
| 1787 | /** |
| 1788 | * Returns <code>true</code> if the resolved class type has been inferred |
| 1789 | * from the assignment context (JLS4 15.12.2.8), <code>false</code> otherwise. |
| 1790 | * |
| 1791 | * This information is available only when bindings are requested when the AST is being built. |
| 1792 | * |
| 1793 | * @return <code>true</code> if the resolved class type has been inferred |
| 1794 | * from the assignment context (JLS3 15.12.2.8), <code>false</code> otherwise |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1795 | * @since 3.7.1 |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1796 | */ |
| 1797 | public boolean isResolvedTypeInferredFromExpectedType(); |
| 1798 | </pre> |
| 1799 | </li> |
| 1800 | </ul> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1801 | |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1802 | <h3>Problem Reports Fixed</h3> |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1803 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342936">342936</a> |
| 1804 | NPEs and inconsistencies when running jdt.compiler.tool.tests against Java 7 |
| 1805 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351426">351426</a> |
| 1806 | [1.7][code assist] CompletionContext.getExpectedTypesKeys() returns wrong type |
| 1807 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353137">353137</a> |
| 1808 | [1.7] Make sure TagBits.AnnotationSafeVarargs and AnnotationPolymorphicSignature are handled everywhere |
| 1809 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=353093">353093</a> |
| 1810 | IMethod#getAnnotations() doesn't return @SafeVarargs of java.util.Arrays#asList(T...) |
| 1811 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352464">352464</a> |
| 1812 | [1.7] Incorrect Javadoc shown for reference of invokeExact |
| 1813 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351498">351498</a> |
| 1814 | [model]java.util.ConcurrentModificationException upon startup |
| 1815 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352699">352699</a> |
| 1816 | [1.7][compiler] Improve error range for redundant type parameter warning |
| 1817 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352665">352665</a> |
| 1818 | [1.6][compiler] Internal compiler Error: ArrayIndexOutOfBoundsException when compiling certain classes with outer access error |
| 1819 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352553">352553</a> |
| 1820 | [1.7] 'char a\u200b' is being accepted in 1.6 mode |
| 1821 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352496">352496</a> |
| 1822 | tests using wrong version of JCL |
| 1823 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=300576">300576</a> |
| 1824 | NPE Computing type hierarchy when compliance doesn't match libraries |
| 1825 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352145">352145</a> |
| 1826 | [1.7][compiler] VerifyError with aload0 being involved into ConditionalExpression |
| 1827 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351965">351965</a> |
| 1828 | [1.7] CCE when using diamond in 1.4 |
| 1829 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351444">351444</a> |
| 1830 | [1.7][content assist] Need to know whether I can use diamond |
| 1831 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352014">352014</a> |
| 1832 | \u1369 no longer accepted as a valid java identifier part |
| 1833 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351653">351653</a> |
| 1834 | [1.7][compiler]: VerifyError in try statement with finally and return statements |
| 1835 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340747">340747</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1836 | [1.7][compiler] compiler option to warn when diamond can be used, but type args are used instead. |
| 1837 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350895">350895</a> |
| 1838 | [1.7][formatter] New option to wrap before/after '|' in multi-catch |
| 1839 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350652">350652</a> |
| 1840 | [1.7][assist] Completion issues with multicatch (FUP of 343637) |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1841 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347503">347503</a> |
| 1842 | [DOM] ASTParser.setEnvironment() ignores includeRunningVMBootclasspath parameter |
| 1843 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350897">350897</a> |
| 1844 | [1.7][api] ClassInstanceCreation#isResolvedTypeInferredFromExpectedType() |
| 1845 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=351170">351170</a> |
| 1846 | [1.7] ASTRewrite issues in Try with resources |
| 1847 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348493">348493</a> |
| 1848 | [1.7] Improve error msg for Diamond operator in 1.5 mode |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1849 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350885">350885</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1850 | [Search] The pull up refactoring throws an NPE when pulling up a member that already exists in the superclass |
| 1851 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350611">350611</a> |
| 1852 | [1.7] Inconsistent error msg and error location for illegal diamond |
| 1853 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350579">350579</a> |
| 1854 | [1.7][compiler] VerifyError running example from bug 338402 comment 5 |
| 1855 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350767">350767</a> |
| 1856 | [1.7][assist] CCE while invoking assist on a multi-catch block |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1857 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1858 | [1.7][compiler] improved problem messages |
| 1859 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350003">350003</a> |
| 1860 | [1.7] [compiler] AnnotationPolymorphicSignature tag is not being set to invokeExact while compiling MethodHandle source file |
| 1861 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350496">350496</a> |
| 1862 | [1.7] @PolymorphicSignature IMethods are missing the annotation |
| 1863 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349314">349314</a> |
| 1864 | [1.7][formatter] Line wrapping for multi-catch arguments |
| 1865 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350039">350039</a> |
| 1866 | [1.7] ASTParser#createASTs(..) doesn't resolve IMethodBinding for @PolymorphicSignature method reference |
| 1867 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349396">349396</a> |
| 1868 | [1.7][formatter] Line wrapping and indentation options for try with resources |
| 1869 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=350361">350361</a> |
| 1870 | [1.7] Unhandled exception type Exception |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1871 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349488">349488</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1872 | [1.7] IMethodBinding#getMethodDeclaration() should return the declaration of @PolymorphicSignature methods |
| 1873 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349487">349487</a> |
| 1874 | [1.7] IMethodBinding#getJavaElement() returns inexistent element for @PolymorphicSignature methods |
| 1875 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349862">349862</a> |
| 1876 | [1.7] NPE when trying to use UnionType as TryStatement resource |
| 1877 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349864">349864</a> |
| 1878 | [1.7][compiler] Error message considers AutoCloseable as class |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1879 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348956">348956</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1880 | [1.7] ITypeBinding#isAssignmentCompatible(ITypeBinding) returns different result |
| 1881 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349312">349312</a> |
| 1882 | [1.7][compiler] improved problem messages |
| 1883 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349008">349008</a> |
| 1884 | [1.7] Ugly formatting for try with resources |
| 1885 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349072">349072</a> |
| 1886 | [1.7] "Cannot infer elided type(s)" sounds too elite |
| 1887 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348705">348705</a> |
| 1888 | [1.7][compiler] Improve error message for unhandled IOException generated due to compiler-generated close() |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1889 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348050">348050</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1890 | [1.7] Error in JDT Core during AST creation |
| 1891 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348406">348406</a> |
| 1892 | [1.7] Incorrect error msg on try with resources in 1.5 mode |
| 1893 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348492">348492</a> |
| 1894 | [1.7] Improve error msg on strings in switch in 1.5 mode |
| 1895 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348491">348491</a> |
| 1896 | [1.7] Rename IProblem.IllegalBinaryLiteral to BinaryLiteralNotBelow17 and IProblem.IllegalUsageOfUnderscore to UnderscoreInLiteralsNotBelow17 |
| 1897 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348369">348369</a> |
| 1898 | [1.7] Missing error "No exception of type Exception[] can be thrown" |
| 1899 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=348379">348379</a> |
| 1900 | [1.7][compiler] Null pointer access warning for strings in switch |
| 1901 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346415">346415</a> |
| 1902 | [1.7][assist] No proposal inside catch statement from 3rd catch block onwards |
| 1903 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346454">346454</a> |
| 1904 | [1.7][content assist]Getting NegativeArraySizeException while trying content assist after diamond |
| 1905 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347600">347600</a> |
| 1906 | [1.7][compiler] Suspect bounds check failure after inference. |
| 1907 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347746">347746</a> |
| 1908 | [1.7][compiler] Bounds check failure during method inference |
| 1909 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=283353">283353</a> |
| 1910 | [1.5][compiler] Eclipse compiler shows error on javac-valid construct: Bound mismatch |
| 1911 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347145">347145</a> |
| 1912 | [1.7][compiler] Bounds check issue with raw types in method inference |
| 1913 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347426">347426</a> |
| 1914 | [1.7][compiler] ecj behavior differs from javac |
| 1915 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344522">344522</a> |
| 1916 | [1.7] Incorrect source range for ParameterizedType in case of Diamond |
| 1917 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341795">341795</a> |
| 1918 | [1.7][compiler] Cannot assign a generic method with multiple bounds return value to any variable |
| 1919 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=242159">242159</a> |
| 1920 | [1.7][compiler] type inference with unbounded wildcard in result type |
| 1921 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343693">343693</a> |
| 1922 | [1.7] Adjust subclasses of AllocationExpression for <> support |
| 1923 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343637">343637</a> |
| 1924 | [1.7] Already used exception offered again in a Mulicatch block |
| 1925 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345968">345968</a> |
| 1926 | [1.7][compiler] NPE while using diamond for inner class allocation |
| 1927 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334313">334313</a> |
| 1928 | [1.5][compiler] Bug in the way eclipse handles overriding of generic abstract method by a non-abstract method |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1929 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=346029">346029</a> |
| 1930 | [1.7][compiler] Eclipse compiles code rejected by JDK7 |
| 1931 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345628">345628</a> |
| 1932 | [1.7] Rename disjunctive type to union type |
| 1933 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345559">345559</a> |
| 1934 | [1.7][compiler] Type inference for generic allocation can be avoided for invalid constructor |
| 1935 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342819">342819</a> |
| 1936 | Code rejected by javac with name clash error compiles under eclipse. |
| 1937 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=334306">334306</a> |
| 1938 | [1.7][compiler] name clash reported in javac 1.7 and not in javac 1.6 |
| 1939 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345579">345579</a> |
| 1940 | [1.7][compiler] Weird error message in rethrow site |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1941 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345522">345522</a> |
| 1942 | [1.7][compiler] Compilers fails to compute precisely rethrown types |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1943 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344824">344824</a> |
| 1944 | [1.7][compiler] Incorrect error range for unreachable catch block error in multi-catch |
| 1945 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340486">340486</a> |
| 1946 | [1.7][compiler] Missing error in multi catch scenario |
| 1947 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345359">345359</a> |
| 1948 | [1.7][compiler] AIOOB on diamond construct with argument error |
| 1949 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345239">345239</a> |
| 1950 | [1.7][compiler] Compiler should issue better diagnostics for use of <> with anonymous classes |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1951 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=344655">344655</a> |
| 1952 | [1.7][compiler] Prohibit use of <> with explicit type arguments to generic constructor |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1953 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328575">328575</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1954 | Inheritance of annotation fails with generic classes |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1955 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343785">343785</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1956 | [1.7] Incorrect line numbers in stack trace with try with resources |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1957 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343687">343687</a> |
| 1958 | [1.7] IAE in NumberLiteral#setToken(String) for binary tokens and tokens with underscore |
| 1959 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339478">339478</a> |
| 1960 | [1.7][compiler] support for diamond case |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1961 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343476">343476</a> |
| 1962 | [1.7][assist] propose String variables and fields inside catch expression |
| 1963 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087">292087</a> |
| 1964 | anonymous class in array member initializer confuses content assist |
| 1965 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=343475">343475</a> |
| 1966 | [1.7] Compiler warning for invalid type inside switch needs to be improved |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1967 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=342416">342416</a> |
| 1968 | [1.7] Signature#createIntersectionTypeSignature(..) should take array of signatures |
| 1969 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340059">340059</a> |
| 1970 | [1.7] IAE when dealing with Signature of disjunctive type |
Stephan Herrmann | dd780c6 | 2011-08-13 11:41:32 +0000 | [diff] [blame] | 1971 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338789">338789</a> |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1972 | [1.7][assist] No proposal inside a multi catch statement after '|' |
| 1973 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=341333">341333</a> |
| 1974 | [1.7][compiler] DisjunctiveTypeReference#resolveType(..) does not set the value for DisjunctiveTypeReference$resolvedType |
| 1975 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340634">340634</a> |
| 1976 | [1.7][compiler][multicatch] Compiler accepts type variables as catch parameter type |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1977 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340626">340626</a> |
| 1978 | [1.7][compiler] Inconsistent source pinpointing in multi-catch blocks |
| 1979 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340513">340513</a> |
| 1980 | [1.7][compiler] Unicode 6.0 characters work at compiler compliance level 1.5 and 1.6 |
| 1981 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340445">340445</a> |
| 1982 | [1.7] ASTRewriteAnalyzer and ASTRewriteFlattener need updates |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1983 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340372">340372</a> |
| 1984 | [1.7] NaiveASTFlattener needs to support the new AST nodes |
| 1985 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340365">340365</a> |
| 1986 | [1.7] Problems in new APIs (TryStatementWithResources, DisjunctiveType) |
| 1987 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340375">340375</a> |
| 1988 | [1.7] Merge TryStatementWithResources into TryStatement |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1989 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=340022">340022</a> |
| 1990 | [1.7][compiler] Support for precise rethrow |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1991 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339837">339837</a> |
| 1992 | [1.7][compiler] Multicatch syntax not rejected at 1.6- |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1993 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=339864">339864</a> |
| 1994 | [1.7] Add recovery in ASTConverter for all new constructs in JLS3 mode |
| 1995 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=338402">338402</a> |
| 1996 | [1.7][compiler][enh] Open issues in try with resources implementation |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 1997 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337795">337795</a> |
| 1998 | [1.7][compiler] Missing unchecked warning at varargs method/ctor declaration site |
| 1999 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337802">337802</a> |
| 2000 | [1.7][compiler] Usage of 0x0ffffffff is being reported as out of range. |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 2001 | <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337799">337799</a> |
| 2002 | [1.7][compiler][varargs] Eclipse fails to report error on incorrect SafeVarargs usage |
| 2003 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=337738">337738</a> |
| 2004 | [1.7][content assist]Test CompletionParserTest#testEA_1 fails |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 2005 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336782">336782</a> |
| 2006 | [1.7][recovery]Extra error tokens with invalid unary operator |
Stephan Herrmann | 44109d3 | 2011-08-02 14:34:26 +0000 | [diff] [blame] | 2007 | <br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=336322">336322</a> |
| 2008 | [1.7][search]CCE while searching for a type reference in multiple catch parameters |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 2009 | |
| 2010 | <hr> |
Stephan Herrmann | 4a05b5f | 2012-05-17 21:11:23 +0200 | [diff] [blame] | 2011 | <p>For earlier build notes, also see <a href="http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/plain/org.eclipse.jdt.core/notes/R37_buildnotes_jdt-core.html">build notes up to Release 3.7</a>.</p> |
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 2012 | <br> |
| 2013 | <p> |
| 2014 | <a href="http://validator.w3.org/check?uri=referer"><img |
| 2015 | src="http://www.w3.org/Icons/valid-html401" |
| 2016 | alt="Valid HTML 4.01 Transitional" height="31" width="88"></a> |
| 2017 | </p> |
| 2018 | </body> |
| 2019 | </html> |
| 2020 | |