absolutePath2
If this abstract pathname is already absolute, then the pathname string is simply returned.
If this abstract pathname is the empty abstract pathname then the pathname string of the current working directory is returned. Otherwise, this pathname is resolved in a system-dependent way.
Return
The absolute pathname string of this abstract pathname.
See also
Throws
If interaction with the filesystem was necessary to construct the pathname and a failure occurred, such as a security exception.
UnsupportedOperationException
On Kotlin/JS-Browser if interaction with the filesystem is necessary to construct the pathname.