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 170866

Summary: SerialVersionUID hint is not shown for anonymous classes
Product: java Reporter: hlavki <hlavki>
Component: HintsAssignee: Max Sauer <msauer>
Status: RESOLVED FIXED    
Severity: blocker CC: hmichel, jkovalsky
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Patch to handle anonymous classses that implements Serializable interface

Description hlavki 2009-08-25 12:55:35 UTC
e.g.
public class Test {
    private Serializable ser = new Serializable() {
        public String toString() {
            return "Hello from serializable";
        }
    };
}
Comment 1 hlavki 2009-08-25 12:56:25 UTC
Created attachment 86616 [details]
Patch to handle anonymous classses that implements Serializable interface
Comment 2 Jiri Kovalsky 2009-08-25 13:01:50 UTC
Maxi, can you please review this patch and possibly integrate it? Thanks a lot!
Comment 3 Max Sauer 2009-08-25 14:16:00 UTC
Patch integrated, test added.
---
http://hg.netbeans.org/jet-main/rev/394fe04d76c1
Comment 4 Quality Engineering 2009-08-31 20:19:27 UTC
Integrated into 'main-golden', will be available in build *200908311509* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/394fe04d76c1
User: Max Sauer <msauer@netbeans.org>
Log: #170866: SerialVersionUID hint is not shown for anonymous classes