If I had two instances of a class instantiated in separate threads with the same annotation. And both threads were to modify the contents of the annotation for their class. Will the contents of the annotation be different for each instance or the same?
To set some context I am using testng and cucumber and would like to run the same test method twice with different tags. I was planning on editing the cucumber options at runtime via reflection and was sort of assuming that as they are in separate threads that would be fine (im pretty sure that was a dumb assumption)...
I'd seen the following example on how to modify the params of annotations at runtime