Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333840

Summary: [Test] 166 compile warnings in ua-tests
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: User AssistanceAssignee: 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:

Comment 1 Chris Goldthorpe CLA 2011-01-10 12:32:29 EST
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.
Comment 2 Dani Megert CLA 2011-01-11 02:04:34 EST
(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
Comment 3 Dani Megert CLA 2011-01-11 02:04:43 EST
.
Comment 4 Chris Goldthorpe CLA 2011-01-11 14:44:11 EST
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 ).
Comment 5 Dani Megert CLA 2011-01-12 02:49:44 EST
(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
Comment 6 Chris Goldthorpe CLA 2011-01-17 12:18:27 EST
Adding javacWarnings.ua-tests.jar=-raw did the trick. Resolved as Fixed.
Comment 7 Dani Megert CLA 2011-01-18 02:04:00 EST
Verified in N20110117-2000.