--- old/src/java.base/share/classes/sun/misc/Resource.java 2015-05-18 17:53:19.108753427 +0400 +++ new/src/java.base/share/classes/sun/misc/Resource.java 2015-05-18 17:53:18.960753427 +0400 @@ -154,7 +154,8 @@ /** * Returns the Resource data as a ByteBuffer, but only if the input stream - * was implemented on top of a ByteBuffer. Return null otherwise. + * was implemented on top of a ByteBuffer. Return {@code null} otherwise. + * @return Resource data or null. */ public ByteBuffer getByteBuffer() throws IOException { InputStream in = cachedInputStream();