Created attachment 32326 [details] use the int parameter for the constructor In ClassTools#construct(String, int) the second parameter should be used for constructing an object, but it is ignored.
Created attachment 32327 [details] use the int parameter for the constructor and add test cases
Date: Tue Dec 23 16:23:16 2014 New Revision: 1647607 URL: http://svn.apache.org/r1647607 Log: Bug 57394: When constructing an instance using ClassTools#construct(String, int), the int parameter was not used, but the default constructor was used instead. Added a few test cases to test the methods of ClassTools and correct the unused parameter. The only place in jmeter, where this method was called is in the JMeter class itself and is used, when the property "mirror.server.port" is set to a value greater than zero. Without this patch that value would be ignored. Bugzilla Id: 57394 Added: jmeter/trunk/test/src/org/apache/jorphan/reflect/TestClassTools.java Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassTools.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3509