| Summary: | [Test] 166 compile warnings in ua-tests | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> |
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cgold |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Dani Megert
Most of these were introduced when we switched to use Java 5 as the execution environment in org.eclipse.ua.tests, see Bug 333627. I have used quick fix where possible to infer the generic arguments and added @SuppressWarnings in other cases. There are now only 3 warnings, all in plugin.xml. (In reply to comment #1) > There are now only 3 warnings, all in plugin.xml. That's not what the official build says: http://download.eclipse.org/eclipse/downloads/drops/N20110110-2000/compilelogs/plugins/org.eclipse.ua.tests_3.3.400.N20110110-2000/ua-tests.jar.bin.html . I'm not sure why these warnings are showing up in the build and not in my workspace, org.eclipse.ua.tests has project specific settings for Java Compiler Errors/Warnings so different preferences would not cause these warnings. I have Java 5.0 in the list of installed JREs ( it is the default ). (In reply to comment #4) > I'm not sure why these warnings are showing up in the build and not in my > workspace, org.eclipse.ua.tests has project specific settings for Java Compiler > Errors/Warnings so different preferences would not cause these warnings. I have > Java 5.0 in the list of installed JREs ( it is the default ). The builder does not know about project settings. In order to change the default compiler options for the builder you need to add an entry to the build properties. I assume you want to suppress raw type warnings: javacWarnings.ua-tests.jar=-raw Adding javacWarnings.ua-tests.jar=-raw did the trick. Resolved as Fixed. Verified in N20110117-2000. |