This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183844

Summary: [serial] annotation overrides errors.
Product: editor Reporter: smil <smil>
Component: Hints & AnnotationsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description smil 2010-04-11 13:05:33 UTC
Sets to reproduce:

Enter the following class:

-----------
import java.io.Serializable;
public class ClassA implements Comparable<Object>, Serializable {
    
}
-----------

Comparable result and error because we did not implement the necessary methods but serializable creates the [serial] hint, that we should create a serialVersionUID.

The problem is that NB only shows the warning, the error is hidden under the other annotation.

Cheers,

Tamas
Comment 1 Jan Lahoda 2012-04-23 19:55:24 UTC
Was fixed as bug #199332.

*** This bug has been marked as a duplicate of bug 199332 ***