title: How to reinitialize static finals while unit testing
body: <p>I am writing unit tests for a class, which has a static final variable.
  However, since the state of the static final var is modified in each test, I need some way to reinitialize it.</p>
  
  <p>
  How would this be possible? Would i need to use some sort of a custom classloader? </p>
  
  <p>
  The variable is initialized as - 
  <pre>
   static final CountdownLatch latch = new CountdownLatch(1);
  </pre>
  
  </p>