Daniil Ivanov

Results comments of Daniil Ivanov

Podam 7.2.11.RELEASE was the latest version support javax.validation. Versions 8.x support jakarta.validation. Thanks, Daniil

I find Spring to heavy dependency for Podam: - It requires integration with existing spring context causing bug like reported. - For non-Spring application it brings heavy dependency. And advantage...

Spring-messaging brings 3.8 Mb of jars to the project. This would be perfectly Ok, should be Spring part of Java Runtime, but now this is already question mark for desktop...

Just make separate instances of PodamFactory and DataProviderStrategy per thread and it's safe.

Changing RandomDataProviderStrategy to non-singleton won't fix thread safety in Podam. If someone shares factory between multiple threads this won't change anything comparing to having singleton strategy.

No, I'm not, you can do it.

AbstractRandomDataProviderStrategy.getMemoizedObject() and AbstractRandomDataProviderStrategy.cacheMemoizedObject() are not thread safe.

> The test could be to fire off multiple PodamFactoryImpl instances with memoization set to true for the same type and all results should be different. If memoization works correctly...

With singleton factory it was like that: ``` thread -> PodamFactoryImpl \ -> Strategy thread -> PodamFactoryImpl / ``` You changed it to be like this ``` thread -> PodamFactoryImpl...