jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Possible NPE in converters
Date Mon, 22 Dec 2014 16:34:36 GMT
Hi all,

in the converters in org.apache.jmeter.save.converters there are a few 
possible NPE. In the method canConvert(Class) often the implementation 
looks like

  "return arg0.equals(SomeClass.class)"

without arg0 being checked for non-null.

I have a patch, that reverts the logic to

  "return SomeClass.class.equals(arg0)"

This is null safe and should return the same values (apart from possible 
NPE).

Can I check those changes in whithout creating a bugzilla entry?

Regards
  Felix

Mime
View raw message