Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-releng-dev] New compiler warnings in the recent N-Builds

Hi,

The compiler missed that case in the past. Even if a class is abtract, if 
it is a serializable class, it should provide a serialVersionUID field. 
The bug report descrived a test case that fails with a 
java.io.InvalidClassException exception because the serial version UID 
field is missing. I overlooked this case in the past and for the 
consistency of this warning (related to missing serialVersionUID), I 
preferred to fix it asap.
The fix was indeed released for the 3.4M2 milestone. So I am glad that now 
the corresponding warnings are reported :-).

It should not be long to actually fix them.

I guess next time we will advertised more these changes to make sure that 
nobody is "surprised" by them.

Olivier




Thomas Watson <tjwatson@xxxxxxxxxx> 
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx
2007-10-15 12:47
Please respond to
"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx>


To
"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx>
cc

Subject
Re: [platform-releng-dev] New compiler warnings in the recent N-Builds






Kim, the fix for JDT went into M2 to start flagging this case as a 
warning. Before M2 abstract classes were not marked. I think all is good 
from the build side. Now the developers need to fix the warnings :)

Tom



Kim Moir ---10/15/2007 11:37:06 AM---I updated the builder to use 3.4M2 
plugins + a special sauce version of PDE build last week. Is there a more 
recent version of


From:

Kim Moir <Kim_Moir@xxxxxxxxxx>

To:

"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx>

Date:

10/15/2007 11:37 AM

Subject:

Re: [platform-releng-dev] New compiler warnings in the recent N-Builds




I updated the builder to use 3.4M2 plugins + a special sauce version of 
PDE build last week. Is there a more recent version of jdt.core that I 
should be using? From looking at the bug that Brian provided, it appears 
this issue was fixed by the jdt core team for M2. 

Kim 





Brian Bauman <baumanbr@xxxxxxxxxx> 
Sent by: platform-releng-dev-bounces@xxxxxxxxxxx 
10/15/2007 11:22 AM 


Please respond to
"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx>



To
"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx> 
cc
"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx>, platform-releng-dev-bounces@xxxxxxxxxxx 

Subject
Re: [platform-releng-dev] New compiler warnings in the recent N-Builds









I too saw these errors in M2. I believe this is from the fix for 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203241. The JDT team might 
have more information if you are curious. 

Brian Bauman
IBM Software Group - Austin, TX
Eclipse Committer
baumanbr@xxxxxxxxxx
(512) 838 -2938 (T/L 678-2938)

From: 
Thomas Watson/Austin/IBM@IBMUS 
To: 
"Eclipse platform release engineering list." 
<platform-releng-dev@xxxxxxxxxxx> 
Date: 
10/15/2007 10:03 AM 
Subject: 
[platform-releng-dev] New compiler warnings in the recent N-Builds





I have noticed some additional compiler warnings since the N20071012-0010 
build. In particular the compiler is now flagging abstract classes which 
extend Serializable classes if they do not have a serialVersionUID. For 
example:

abstract class BundlePermissionCollection extends PermissionCollection {
The serializable class BundlePermissionCollection does not declare a 
static final serialVersionUID field of type long

Are these valid warnings? Did something change in the compiler settings to 
trigger the new warnings. As far as I can tell this type of thing was not 
flagged in previous builds.

Tom



eclipse-releng---10/15/2007 08:29:38 AM---Build N20071015-0010 (Timestamp: 
200710150010): Automated JUnit testing is complete. Test failures/errors 
occurred in the fol 

From: 

eclipse-releng@xxxxxxxxxxx 

To: 

platform-releng-dev@xxxxxxxxxxx 

Date: 

10/15/2007 08:29 AM 

Subject: 

[platform-releng-dev] [eclipse-build]Build N20071015-0010 (Timestamp: 
200710150010):Automated JUnit testing complete. Test failures/errors 
occurred.





Build N20071015-0010 (Timestamp: 200710150010):  Automated JUnit testing 
is complete.  Test failures/errors occurred in the following: 

org.eclipse.jdt.ui.tests_linux.gtk.x86
org.eclipse.jdt.ui.tests_macosx.carbon.ppc_5.0
org.eclipse.jdt.ui.tests_win32.win32.x86
org.eclipse.ua.tests_linux.gtk.x86
org.eclipse.ua.tests_macosx.carbon.ppc_5.0
org.eclipse.ua.tests_win32.win32.x86
org.eclipse.releng.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.pde.ui.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.pde.build.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.apt.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.core.tests.builder_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.core.tests.compiler_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.core.tests.model_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.core.tests.performance_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.debug.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.text.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.ui.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.jdt.ui.tests.refactoring_linux.gtk.x86_5.0 (file missing)
org.eclipse.ant.tests.core_linux.gtk.x86_5.0 (file missing)
org.eclipse.ant.tests.ui_linux.gtk.x86_5.0 (file missing)
org.eclipse.compare.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.core.filebuffers.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.core.tests.resources_linux.gtk.x86_5.0 (file missing)
org.eclipse.jface.text.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.team.tests.core_linux.gtk.x86_5.0 (file missing)
org.eclipse.team.tests.cvs.core_linux.gtk.x86_5.0 (file missing)
org.eclipse.core.tests.net_linux.gtk.x86_5.0 (file missing)
org.eclipse.text.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.ua.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.ui.editors.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.ui.tests.navigator_linux.gtk.x86_5.0 (file missing)
org.eclipse.ui.tests.views.properties.tabbed_linux.gtk.x86_5.0 (file 
missing)
org.eclipse.ui.workbench.texteditor.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.update.tests.core_linux.gtk.x86_5.0 (file missing)
org.eclipse.ltk.core.refactoring.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.ltk.ui.refactoring.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.core.tests.runtime_linux.gtk.x86_5.0 (file missing)
org.eclipse.ui.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.jface.tests.databinding_linux.gtk.x86_5.0 (file missing)
org.eclipse.swt.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.core.expressions.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.osgi.tests_linux.gtk.x86_5.0 (file missing)
org.eclipse.ui.tests.rcp_linux.gtk.x86_5.0 (file missing)

HTTP Download:

http://download.eclipse.org/eclipse/downloads/drops/N20071015-0010 


_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev




Back to the top