| Summary: | Change jface.text execution environment to JavaSE-1.7 | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | John Glassmyer <eclipse> |
| Component: | Text | Assignee: | John Glassmyer <eclipse> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | akurtakov, daniel_megert, eclipse.sprigogin |
| Version: | 4.4 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
John Glassmyer
I've uploaded a change for this at https://git.eclipse.org/r/24218 . It includes Eclipse's automatic updates to jdt.core warning and error prefs, with the exception that I have changed "unchecked" and "raw type" warnings to "Ignore" to avoid creating lots of distracting warnings throughout the code. I did address a couple of warnings that were newly applicable in 1.6: - One instance where close() was not being called on a Closeable. - Unnecessary array type-casts in two files. Ping. Does my patch look good? We're at RC1 and won't make such changes at this point. In Text and JDT we usually generify the project when switching to > 1.4. (In reply to John Glassmyer from comment #1) Changing "unchecked" and "raw type" warnings to "Ignore" is a bad idea. As Dani said, a real move to Java 1.6 should include generification of the code. (In reply to Sergey Prigogin from comment #4) > (In reply to John Glassmyer from comment #1) > > Changing "unchecked" and "raw type" warnings to "Ignore" is a bad idea. As > Dani said, a real move to Java 1.6 should include generification of the code. John, any plans to work on that for M1? (In reply to Dani Megert from comment #3) > In Text and JDT we usually generify the project when switching to > 1.4. Sounds good to me. When I filed this bug last year, I had gotten the perhaps mistaken impression from discussion on bug 421017 that expected Eclipse practice was to temporarily ignore the warnings. Does switching to 1.6 still make sense? It looks like some other projects are switching to 1.7. (In reply to John Glassmyer from comment #6)> Does switching to 1.6 still make sense? It looks like some other projects > are switching to 1.7. +1. (In reply to John Glassmyer from comment #6) > (In reply to Dani Megert from comment #3) > > In Text and JDT we usually generify the project when switching to > 1.4. > > Sounds good to me. John, FYI: M1 is next week, which means last chance to put the code in is next Monday. I suggest we move this to M2. *** This bug has been marked as a duplicate of bug 478673 *** |