https://issues.apache.org/bugzilla/show_bug.cgi?id=56816

Sebb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Sebb <[email protected]> ---
(In reply to Bernhard from comment #0)
> vars.get() returns void in a java script if the variable is not existing
> instead of null (as described in it's documentation

Are you sure?
I cannot find any references that says that javascript can return void.

> http://jmeter.apache.org/api/org/apache/jmeter/threads/JMeterVariables.
> html#get%28java.lang.String%29 )

That Javadoc is correct; Java returns null (and does not have a concept of void
as a return type)

> This will lead to confusion and bugs if the user doesn't know this.

Possibly, but it's not clear that there is a problem here.

Please provide sample code that exhibits the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to