Bug 156742 - function guess fails when making changelog entry in static code block
function guess fails when making changelog entry in static code block
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: eclipse-changelog (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Kyu Lee
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-03 16:00 EDT by Jeff Pound
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-27 11:39:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeff Pound 2005-05-03 16:00:12 EDT
Description of problem:
when making a changelog entry in a "static { ... }" code block, nothing is
pre-insterted into the changelog entry except a blank line

Version-Release number of selected component (if applicable):
eclipse-changelog-2.0.1_fc-19

How reproducible:
always

Steps to Reproduce:
1.make a changelog entry in a static code block.

  
Actual results:
no pre generated changelog information is inserted.

Expected results:
the file being modified should be inserted into the changelog the same way it
would if your modification happened in a function.


example code:

public class Foo {
  private static HashMap fooMap;

  static {
    fooMap = new HashMap();
    fooMap.put("foo", "bar");
  }

  public Foo() {

  }
}
Comment 1 Tom Tromey 2006-02-07 13:45:08 EST
I don't think the GNU rules cover what should appear in this
case, but I would suggest that the "function" be named
"static initializer".
Comment 2 Kyu Lee 2007-03-27 11:39:45 EDT
Moved to eclipse.org bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=179549

Note You need to log in before you can comment on or make changes to this bug.