You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2014/12/23 15:29:29 UTC

Constructor in ClassTools

Hi all,

in ClassTools in construct(String, int) the int parameter is ignored. 
This seems to be a bug, as in the following method construct(String, 
String) the right constructor is used.

What do you think?

Regards
  Felix

Re: Constructor in ClassTools

Posted by sebb <se...@gmail.com>.
On 23 December 2014 at 16:26, Felix Schumacher
<fe...@internetallee.de> wrote:
> Am 23.12.2014 um 16:04 schrieb Felix Schumacher:
>>
>>
>> Am 23. Dezember 2014 15:52:57 MEZ, schrieb sebb <se...@gmail.com>:
>>>
>>> It's a bug.
>>>
>>> Also the clazz field is created and not used.
>>>
>>> Currently only called from JMeter class when starting a mirror server,
>>> which is probably why it has not been noticed.
>>
>> OK. I will file a bug and correct it then.
>
> Done: Bugzilla 57394

Thanks.

Good catch, by the way!

>>
>> Felix
>>>
>>> On 23 December 2014 at 14:29, Felix Schumacher
>>> <fe...@internetallee.de> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> in ClassTools in construct(String, int) the int parameter is ignored.
>>>
>>> This
>>>>
>>>> seems to be a bug, as in the following method construct(String,
>>>
>>> String) the
>>>>
>>>> right constructor is used.
>>>>
>>>> What do you think?
>>>>
>>>> Regards
>>>>   Felix
>
>

Re: Constructor in ClassTools

Posted by Felix Schumacher <fe...@internetallee.de>.
Am 23.12.2014 um 16:04 schrieb Felix Schumacher:
>
> Am 23. Dezember 2014 15:52:57 MEZ, schrieb sebb <se...@gmail.com>:
>> It's a bug.
>>
>> Also the clazz field is created and not used.
>>
>> Currently only called from JMeter class when starting a mirror server,
>> which is probably why it has not been noticed.
> OK. I will file a bug and correct it then.
Done: Bugzilla 57394
>
> Felix
>> On 23 December 2014 at 14:29, Felix Schumacher
>> <fe...@internetallee.de> wrote:
>>> Hi all,
>>>
>>> in ClassTools in construct(String, int) the int parameter is ignored.
>> This
>>> seems to be a bug, as in the following method construct(String,
>> String) the
>>> right constructor is used.
>>>
>>> What do you think?
>>>
>>> Regards
>>>   Felix


Re: Constructor in ClassTools

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 23. Dezember 2014 15:52:57 MEZ, schrieb sebb <se...@gmail.com>:
>It's a bug.
>
>Also the clazz field is created and not used.
>
>Currently only called from JMeter class when starting a mirror server,
>which is probably why it has not been noticed.

OK. I will file a bug and correct it then. 

Felix
>
>On 23 December 2014 at 14:29, Felix Schumacher
><fe...@internetallee.de> wrote:
>> Hi all,
>>
>> in ClassTools in construct(String, int) the int parameter is ignored.
>This
>> seems to be a bug, as in the following method construct(String,
>String) the
>> right constructor is used.
>>
>> What do you think?
>>
>> Regards
>>  Felix


Re: Constructor in ClassTools

Posted by sebb <se...@gmail.com>.
It's a bug.

Also the clazz field is created and not used.

Currently only called from JMeter class when starting a mirror server,
which is probably why it has not been noticed.

On 23 December 2014 at 14:29, Felix Schumacher
<fe...@internetallee.de> wrote:
> Hi all,
>
> in ClassTools in construct(String, int) the int parameter is ignored. This
> seems to be a bug, as in the following method construct(String, String) the
> right constructor is used.
>
> What do you think?
>
> Regards
>  Felix