On 26 September 2013 16:38, Glenn Caccia <[email protected]> wrote:
> I'm trying to make use of ArrayList<String> in a BeanShell PostProcessor.  Is 
> this possible?  I get an error with the following code...
>
> import java.util.ArrayList;
>
> sessions = new ArrayList<String>();
>
>
> Error is...
>
> ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: eval    
> In file: inline evaluation of: ``import java.util.ArrayList;  sessions = new 
> ArrayList<String>();   //sessions =  . . . '' Encountered "<" at line 3, 
> column 25.

BeanShell does not support Java 5 generics.

> Thanks,
>
> Glenn

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to