Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 170866 - SerialVersionUID hint is not shown for anonymous classes
SerialVersionUID hint is not shown for anonymous classes
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Hints
6.x
All All
: P3 (vote)
: 6.x
Assigned To: Max Sauer
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo