Frankly the easiest solution for you is to: clone and fork https://github.com/beanvalidation/beanvalidation-api get the list of commits fixing the issue git log --grep
BVAL-298
create a branch off 1.0.0.GA cherry pick or apply the relevant changes Then swap the validation-api jar with this new one.
I did that and it solved the memory leaks with Bean Validation (there are more issues with class loading, but thats another topic with the JBoss folks).
Added bonus, you can proposed a PR and we will apply your changes in the main repo too.
I'd like to do that, but I can't create a pull request because there is only a master branch.
|