title: What will happen when a class shipped with our jar gets added to the Java standard library?
body: <p>I'm currently thinking about adding a small part of JSR-310, <code>javax.time.Duration</code> to our library.</p>
  
  <p>This works perfectly fine currently.</p>
  
  <p>But JSR-310 is planned to be integrated in Java 8! When executing our application on Java 8, what will happen if there is both a <code>javax.time.Duration</code> class in the standard library and the same class shipping with our jar file?</p>
  
  <p>Will one of the classes be silently ignored? (Which one?)
  Will there be an error when a Java 8 VM tries to load the class from our library?</p>
  
  <p>Are there any compatibility issues I need to be aware of?</p>