dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Incorrect link for properties in java stdlib

Open atyrin opened this issue 1 year ago • 0 comments

/**
 * @see  [java.io.StringReader.lock] see property
 * @see  [java.io.StringReader.mark] see method
 */
class ClassKDocLocation {
}

The links for the class and method are correct. But

  1. for the property, we add a bracket () at the end of the line, and it searches a function instead of a property on the page: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Reader.html#lock()
  2. For method with parameter like [java.io.StringReader.mark] we navigates to StringReader.html#mark(kotlin.Int) but the expected link is StringReader.html#mark(int)

Installation

  • Dokka version: 1.9.20

atyrin avatar Nov 16 '23 11:11 atyrin