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.
Summary: | Introduce constant inside anonymous class corrupts source | ||
---|---|---|---|
Product: | java | Reporter: | _ rkubacki <rkubacki> |
Component: | Hints | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 204435 | ||
Bug Blocks: |
Description
_ rkubacki
2011-10-28 20:29:30 UTC
More generally I remember problems with introduce constant/field trying to add a static member to a nonstatic nested class (anonymous, local, or member); perhaps some of those have been fixed separately. Integrated into 'main-golden', will be available in build *201204030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/73c14c29e972 User: Jan Lahoda <jlahoda@netbeans.org> Log: #204373: prevent adding static fields into non-static contexts. |