Bug 60775 - NamePanel ctor calls overrideable method
Summary: NamePanel ctor calls overrideable method
Status: RESOLVED FIXED
Alias: None
Product: JMeter
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