Fixed javadocs for jdk 8 (self-closing element not allowed <p/>)