Bug 60775 - NamePanel ctor calls overrideable method
Summary: NamePanel ctor calls overrideable method
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-25 22:57 UTC by Sebb
Modified: 2017-03-03 19:10 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2017-02-25 22:57:50 UTC
Constructors should not call overrideable methods.

A subclass is not guaranteed to see a fully constructed super class until the constructor completes.
Comment 1 Sebb 2017-02-26 22:54:41 UTC
URL: http://svn.apache.org/viewvc?rev=1784488&view=rev
Log:
NamePanel ctor calls overrideable method
Bugzilla Id: 60775

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/NamePanel.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:38:07 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4299