Bug 73740

Summary: Diagnosis for serialization should not render j2me development impossible
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2004-09-13 04:12:37 EDT
3.1m1

From newsgroup:

I am using Eclispe 3.1 build 200409070800.

When I use that to build a j2me project (i manually add all j2me class 
files to the project), i get this error:

* The project was not build since its build path is incomplete. Cannot 
find the class file for the java.io.Serializable.

But when I add the J2*S*E system library, it works.

Can you please tell me how to resolve this error? I only see this error 
in Eclispe 3.1 build. And my j2me project build just using ANT, so i am 
sure I don't use java.io.Serializable in my j2me project.

Thank you.
Comment 1 Philipe Mulet CLA 2004-09-14 04:30:44 EDT
Problem is that compiler is triggering load of Serializable so as to perform 
diagnosis of missing serialVersionUID. It should not cause such a load.
Comment 2 Philipe Mulet CLA 2004-09-20 07:36:21 EDT
Changed diagnosis to avoid triggering load of Serializable (comparing well-
known ID instead).

Fixed
Comment 3 David Audel CLA 2004-09-24 07:40:02 EDT
Verified in I200409231635.