Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367813 - 1387 (!) warnings in official build
Summary: 1387 (!) warnings in official build
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.8 M5   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 03:20 EST by Dani Megert CLA
Modified: 2012-01-24 12:42 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2012-01-04 03:20:07 EST
I20120103-0800 and N20120103-2000.

1387 (!) warnings in official build:

http://download.eclipse.org/eclipse/downloads/drops/I20120103-0800/compilelogs/plugins/org.eclipse.ui.tests_3.7.0.v20111221-1925/uitests.jar.bin.html
Comment 1 Remy Suen CLA 2012-01-04 08:05:08 EST
We changed the BREE to 1.5 in 412bb792f91ba461ddb4451860a72ff58cf8a279.
Comment 2 Dani Megert CLA 2012-01-04 09:38:11 EST
(In reply to comment #1)
> We changed the BREE to 1.5 in 412bb792f91ba461ddb4451860a72ff58cf8a279.

The corresponding bug is bug 351851.

Was it necessary to switch to 1.5? Why?
Comment 3 Dani Megert CLA 2012-01-04 09:41:21 EST
If 1.5 is really needed, I guess we won't go and fix all the warnings. In that case we can add the following line to the 'build.properties':

javacWarnings.javauitests.jar=-deadCode,-raw,-unchecked

and set the corresponding project specific settings to 'Ignore'.
Comment 4 Remy Suen CLA 2012-01-04 09:41:56 EST
(In reply to comment #2)
> Was it necessary to switch to 1.5? Why?

Since the bundle itself has been forked. I would be inclined to say no. At least, certainly not from the view point of the bundle in the R3_development branch.
Comment 5 Dani Megert CLA 2012-01-04 09:42:53 EST
> javacWarnings.javauitests.jar=-deadCode,-raw,-unchecked

Copy & paste bug. This should be:

javacWarnings.uitests.jar=-deadCode,-raw,-unchecked
Comment 6 Paul Webster CLA 2012-01-04 10:04:40 EST
(In reply to comment #4)
> Since the bundle itself has been forked. I would be inclined to say no. At
> least, certainly not from the view point of the bundle in the R3_development
> branch.

We had incoming test contributions for 3.8 that were written in 1.5, and I don't see a reason to disallow it in the test bundle.

I like the idea of adding javacWarnings.uitests.jar=-raw,-unchecked

PW
Comment 7 Paul Webster CLA 2012-01-04 13:51:41 EST
Released into R3_development and master

PW
Comment 9 Paul Webster CLA 2012-01-05 11:16:45 EST
I've fixed the 3, and released it to both R3_development and master.  Thanks Dani.

PW
Comment 10 Dani Megert CLA 2012-01-06 02:26:58 EST
Verified in N20120105-2000.
Comment 11 Remy Suen CLA 2012-01-06 08:47:55 EST
(In reply to comment #9)
> I've fixed the 3, and released it to both R3_development and master.

The change broke two tests in N20120105-2000. Will push a fix in a bit.
Comment 13 Paul Webster CLA 2012-01-06 09:03:41 EST
Sorry about that, I picked option 2 and should have picked option 1.

PW