title: java.nio.file.Path vs sun.nio.fs.UnixPath
body: <p>Almost all file I/O operations in my Java code uses <code>java.nio.*</code>. While debugging a piece of code today, however, I noticed that the debugger (Intellij IDEA 14) was showing the following piece of information for a <code>java.nio.file.Path</code> instance:</p>
  
  <p><img src="https://i.stack.imgur.com/Vky2B.png" alt="debugger-screenshot"></p>
  
  <p>Why is <code>java.nio.file.Path</code> object being shown as <code>sun.nio.fs.UnixPath</code> object in the debugger? What is the difference between these two classes?</p>