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 - [serial] annotation overrides errors.
Summary: [serial] annotation overrides errors.
Status: RESOLVED DUPLICATE of bug 199332
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-11 13:05 UTC by smil
Modified: 2012-04-23 19:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***