FasterXML/java-classmate

Missing synchronization on `ResolvedObjectType#getConstructors`

pkwarren opened this issue · 3 comments

It appears from looking at the code that the ResolvedType#getConstructors method is missing a synchronized keyword. The other methods that behave similarly in the class (getMemberFields, getStaticFields, getMemberMethods) have the keyword specified.

public List<RawConstructor> getConstructors()

Thank you for reporting this. I'll have to check to see if there is logic to this, but I assume you are right.

Added synchronized, will be in 1.4.1.

Thanks for the quick turnaround @cowtowncoder!