Loading... (original) (raw)

Uploaded image for project: 'JDK'

  1. JDK
  2. JDK-8193861

Typos in API documentation of File.toPath() and InetSocketAddress.getAddress()

A DESCRIPTION OF THE PROBLEM :
The text contains some typo

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The string may not even be necessary (toPath is crystal clear).
ACTUAL -
"Returns a java.nio.file.Path object constructed from the this abstract path."

URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/9/docs/api/java/io/File.html#toPath()

duplicates

Bug - A problem which impairs or prevents the functions of the product. JDK-8199308 Typo in java.io.File.toPath() API documentation

links to