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 - SerialVersionUID hint is not shown for anonymous classes
Summary: SerialVersionUID hint is not shown for anonymous classes
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 12:55 UTC by hlavki
Modified: 2009-08-31 20:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch to handle anonymous classses that implements Serializable interface (3.90 KB, text/plain)
2009-08-25 12:56 UTC, hlavki
Details

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